Hi Etienne,
> I'm finally trying to use custom widgets from QT Creator instead of using
> promoted widgets.
> I'm facing the same issue with the generated path. It's not using
> "qgis.gui" so it's failing during the import in QGIS.
>
> Did you fix this issue?
> I can manually fix these imports,
Hi Etienne,
qgis_customwidgets.py is responsible of replacing the cpp header by
qgis.gui.
It should be located in /pythonX/dist-packages/PyQt5/uic/widget-plugins/
To work, this file needs bbe able to import qgis.gui. If it fails, there
will be no replacement.
Can you check if this file is
Hi Matteo,
I'm finally trying to use custom widgets from QT Creator instead of using
promoted widgets.
I'm facing the same issue with the generated path. It's not using
"qgis.gui" so it's failing during the import in QGIS.
Did you fix this issue?
I can manually fix these imports, but I'm asking
Hi Matthias,
>> * not being able to see the QGS widgets in QT Designer 5 is related with
>> GDAL version, isn't it? If copying in the
>> /usr/./pyqt5/plugin/designer the libqgiscustomwidget not compiled
>> against gdal >= 2.20 won't work
> That's what I was talking about. It doesn't matter
On 03/20/2018 12:32 PM, matteo wrote:
> Hi Matthias,
>
>
>> FYI, if you compile QGIS yourself anyway you don't need to compile it
>> against a custom GDAL version, you can also take the system one.
>>
>> The error message you were seeing was only because the one you tried to
>> install (something
Hi Matthias,
> FYI, if you compile QGIS yourself anyway you don't need to compile it
> against a custom GDAL version, you can also take the system one.
>
> The error message you were seeing was only because the one you tried to
> install (something ubuntugis I assume) was linked against a newer
Hi matteo,
FYI, if you compile QGIS yourself anyway you don't need to compile it
against a custom GDAL version, you can also take the system one.
The error message you were seeing was only because the one you tried to
install (something ubuntugis I assume) was linked against a newer
version of
Success!!
Ok for those who can be interested, these are the steps I made:
* download and compile gdal 2.2.3 (compiled in the /opt folder)
* recompiled QGIS by changing the gdal paths and enable the flag WITH
CUSTOMWIDGET
* all went fine and QGIS is compiled against gdal 2.2.3
* in the output/lib
Hi Etienne,
yes I remember you showed me this *hack* in Nodebo ;) Anyway, I'm trying
to compile gdal 2.2 (in the /opt folder, I'm terrified that something
can break the existing installation of QGIS).
I'm now compiling another QGIS against gdal 2.2 and I have activated the
WITH CUSTOMWIDGET
I can't answer your problem, but I'm using QGIS custom widgets by using the
"promoted widget" feature in QtDesigner. Less convenient I agree.
I never saw these widgets too and I think I'm lazy to check why because it
works with these promoted widgets.
My 2 cents ;-)
2018-03-20 8:59 GMT+01:00
Ok some steps forward.. By adding the repository of ubuntugis [0] I
could install libqgis-customwidgets version 3. BUT I cannot install it
because it depends on libgdal >= 2.2.0 (while I have 2.1.2 installed).
Should I also compile gdal to have the widgets available?
Thanks!
Cheers
Matteo
I had the same problem so I am still using the QGIS 2.x Qt Designer for my
QGIS 3.0 dialogs figuring that at some point someone would fix it.So far so
good.
Calvin
On Mon, Mar 19, 2018 at 12:29 PM, matteo wrote:
> Hi devs,
>
> sorry for raising this issue again. Some
12 matches
Mail list logo