change order of import

importing pyqt before qgis.core may cause error