736 print("Found QScintilla2") |
736 print("Found QScintilla2") |
737 |
737 |
738 # check version of Qt |
738 # check version of Qt |
739 qtMajor = int(qVersion().split('.')[0]) |
739 qtMajor = int(qVersion().split('.')[0]) |
740 qtMinor = int(qVersion().split('.')[1]) |
740 qtMinor = int(qVersion().split('.')[1]) |
741 if qtMajor < 4 or (qtMajor == 4 and qtMinor < 5): |
741 if qtMajor < 4 or (qtMajor == 4 and qtMinor < 6): |
742 print('Sorry, you must have Qt version 4.5.0 or higher.') |
742 print('Sorry, you must have Qt version 4.6.0 or higher.') |
743 exit(2) |
743 exit(2) |
744 print("Qt Version: {0}".format(qVersion())) |
744 print("Qt Version: {0}".format(qVersion())) |
745 |
745 |
746 # check version of sip |
746 # check version of sip |
747 try: |
747 try: |