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 gdal. But you can of course also use the ones compiled against gdal 2.2.3, the widgets won't look any newer though ;) Cheers Matthias On 03/20/2018 11:32 AM, matteo wrote: > 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 directory there is the libqgis_customwidgets.so and > libqgis_customwidgets.so.3.1.0 files > * I copied this files to /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/ > > Q3 widgets are there. I still see they are saved with widget.h in the > ui, so I guess one has to change the path manually or promote the widget > like Etienne suggested > > Cheers > > Matteo > _______________________________________________ > 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 > _______________________________________________ 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