Hi Evan,

thanks, it works!

Cheers

Matteo

On 1/30/23 15:45, Even Rouault via QGIS-Developer wrote:
Hi,

just to avoid other people losing a couple hours like me... If you update to latest master on Debian/Ubuntu, and after rebuild, you get a cryptic error like the following when importing qgis_gui:

# PYTHONPATH=output/python QGIS_PREFIX_PATH=output python3 -c "from qgis._gui import *"
Traceback (most recent call last):
   File "<string>", line 1, in <module>
RuntimeError: qgis._gui cannot import type '����' from PyQt5.QtCore

Then the fix is to install python3-pyqt5.qtmultimedia. Cf https://github.com/qgis/QGIS/commit/324dac16696bff43d637920733eb5ee4cb7b3ddf

Thanks to Alessandro for hinting me on the right direction. I'd wish PyQt would output a better error message...

Even

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to