Re: [QGIS-Developer] PyQt db_manager(?) compile error

2023-01-30 Thread Richard Duivenvoorde via QGIS-Developer
Ok, so the crux was: sudo apt install libqt5multimedia5 python3-pyqt5.qtmultimedia I did install the first one, but the other not (yet) Thanks Even R ! Richard On 1/30/23 13:04, matteo via QGIS-Developer wrote: Hi Richard, same here. On Debian with a new folder and a fresh compilation.

Re: [QGIS-Developer] Autocomplete python code in QGIS compiled

2023-01-30 Thread matteo via QGIS-Developer
great! On 1/30/23 00:40, Nyall Dawson wrote: On Tue, 10 Jan 2023 at 02:13, matteo via QGIS-Developer wrote: Hi all, maybe that's a silly question, but with all the self compiled QGIS versions that I have (3.22, 3.28, master, ecc) QGIS is not autocompleting the code, not in the console,

Re: [QGIS-Developer] How to set defaults to QgsProcessingParameterMultipleLayers

2023-01-30 Thread C Hamilton via QGIS-Developer
> > > Is there a way to automatically populate as default value of selected > layers in QgsProcessingParameterMultipleLayers with the selected layers or > selected groups of layers in the "Layer Panel"? This would be incredibly > useful. > > You'd (unfortunately -- it's not a trivial change) need

Re: [QGIS-Developer] [solved] weird RuntimeError: qgis._gui cannot import type '����' from PytQT5.QtCore"

2023-01-30 Thread matteo via QGIS-Developer
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-Developer] [solved] weird RuntimeError: qgis._gui cannot import type '����' from PytQT5.QtCore"

2023-01-30 Thread Even Rouault via QGIS-Developer
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 *"

Re: [QGIS-Developer] PyQt db_manager(?) compile error

2023-01-30 Thread matteo via QGIS-Developer
Hi Richard, same here. On Debian with a new folder and a fresh compilation. Did you solved? make[2]: *** [python/plugins/db_manager/CMakeFiles/zzz-db_manager-15-depend.dir/build.make:90: python/plugins/db_manager/ui_DlgCancelTaskQuery.py] Error 1 make[2]: *** Deleting file