qgis_test_issue.py

Test standalone pyqgis application python source code - Tong Zhai, 2019-02-21 06:24 PM

Download (282 Bytes)

 
1
import os, sys
2
import sip
3
from PyQt5 import QtCore, QtGui
4
from PyQt5.QtGui import *
5
from PyQt5.QtWidgets import QApplication
6
from qgis.core import QgsApplication, QgsVectorLayer, QgsProject
7
from qgis.gui import QgsProjectionSelectionDialog
8
print("import qgis.core passed.")