scripts/install.py

branch
eric7
changeset 10788
c14f37a9aa74
parent 10781
0e3d6e22efaf
child 10801
5859861e7a1f
equal deleted inserted replaced
10786:f27738bc28af 10788:c14f37a9aa74
1800 # check version of Qt 1800 # check version of Qt
1801 # =================== 1801 # ===================
1802 qtMajor = int(qVersion().split(".")[0]) 1802 qtMajor = int(qVersion().split(".")[0])
1803 qtMinor = int(qVersion().split(".")[1]) 1803 qtMinor = int(qVersion().split(".")[1])
1804 print("Qt6: {0}".format(qVersion().strip())) 1804 print("Qt6: {0}".format(qVersion().strip()))
1805 if qtMajor == 6 and qtMinor < 1: 1805 if qtMajor == 6 and qtMinor < 2:
1806 print("Sorry, you must have Qt version 6.1.0 or better.") 1806 print("Sorry, you must have Qt version 6.2.0 or better.")
1807 exit(2) 1807 exit(2)
1808 1808
1809 # check version of sip 1809 # check version of sip
1810 # ==================== 1810 # ====================
1811 with contextlib.suppress(ImportError, AttributeError): 1811 with contextlib.suppress(ImportError, AttributeError):

eric ide

mercurial