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