exec() works in PyQt5

This commit is contained in:
Nyall Dawson 2024-01-21 20:54:26 +10:00
parent 23cef9f554
commit 9a752b9bea

View File

@ -92,8 +92,4 @@ if __name__ == '__main__':
prepap = PrepareAPIs(api_lexer, api_files, pap_file)
prepap.prepareAPI()
# TODO QGIS 4.0: remove
if (@QT_VERSION_MAJOR@ < 6):
sys.exit(app.exec_())
else:
sys.exit(app.exec())