New PyQt4 versions deprecated the old pyqtconfig method so now it gives the following error:
Traceback (most recent call last):
File "/home/sconde/Proyectos/gr-air-modes/cmake/Modules/FindPyQt.py", line 5, in <module>
import PyQt4.pyqtconfig
ImportError: No module named pyqtconfig
-- PyQt4 not found, not installing GUI application
This PR fixes it supporting both old and new method.
New PyQt4 versions deprecated the old pyqtconfig method so now it gives the following error:
This PR fixes it supporting both old and new method.
The new FindPyQt.py file is a copy from this project: https://github.com/qgis/QGIS/blob/master/cmake/FindPyQt.py