mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
exec() works in PyQt5
This commit is contained in:
parent
23cef9f554
commit
9a752b9bea
@ -92,8 +92,4 @@ if __name__ == '__main__':
|
|||||||
prepap = PrepareAPIs(api_lexer, api_files, pap_file)
|
prepap = PrepareAPIs(api_lexer, api_files, pap_file)
|
||||||
prepap.prepareAPI()
|
prepap.prepareAPI()
|
||||||
|
|
||||||
# TODO QGIS 4.0: remove
|
sys.exit(app.exec())
|
||||||
if (@QT_VERSION_MAJOR@ < 6):
|
|
||||||
sys.exit(app.exec_())
|
|
||||||
else:
|
|
||||||
sys.exit(app.exec())
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user