Hi,

Thought to start a little local hackfest here :-)

Because at a client for which I build plugins (build env is alma-linux), I have 
to use Flatpaks to run current version of QGIS.

This works pretty well!

So I thought: if there is a Windows-QT6 build, why not a Qt6-Flatpak one for 
the pinguins, so they can start fixing their plugins for QGIS 4.0 :-)

BUT, my first try of a local build of current Flatpak build:

# Take the org.qgis.qgis.json recipe from 
https://github.com/flathub/org.qgis.qgis
# clone flatpub repo
git clone [email protected]:flathub/org.qgis.qgis.git
# get shared modules
git clone --recurse-submodules [email protected]:flathub/org.qgis.qgis.git
# to update gitmodules:
# git submodule update --remote --merge
# then start the build:
flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo 
--install builddir org.qgis.qgis.json

this works pretty good, as I can see the build download sources from all 
dependencies, building them etc etc

Butn the end it builds QGIS, and that stops with sip failures:

it ends with:

/run/build/qgis/python/gui/auto_generated/qgsmapcanvas.sip: line 278: 'throw' 
is deprecated and will be removed in SIP v7.0.0
sip-build: class 'Ui::Qgs25DRendererWidgetBase' has not been defined
class 'Ui::QgsColorRampShaderWidgetBase' has not been defined
class 'Ui::QgsDbSourceSelectBase' has not been defined
class 'Ui::QgsLayerTreeEmbeddedConfigWidgetBase' has not been defined
class 'Ui::QgsTextFormatWidgetBase' has not been defined
class 'Ui::QgsTableWidgetUiBase' has not been defined
class 'Ui::QgsRichTextEditorBase' has not been defined
class 'Ui::QgsOWSSourceSelectBase' has not been defined
class 'QgsTopologicalMesh::Changes' has not been defined
ninja: build stopped: subcommand failed.
Error: module qgis: Child process exited with code 1


Note: I'm still building the 'stable' 3.42.3 here, from
https://qgis.org/downloads/qgis-3.42.3.tar.bz2
see
https://github.com/flathub/org.qgis.qgis/blob/master/org.qgis.qgis.json#L44-L45


Anybody hints on how to fix this? Or debug?

I can only start a fresh QGIS build every time now... which eats time of my 
hackday :-)

And if anybody is interested in the NEXT step: adjusting the build to build 
Qt6, that would be great.

My final goal is to have an easy Qt-6 QGIS available for Linux users on 
platforms which are not able (yet) to build Qt6-QGIS because of dependency 
issues...

Regards,

Richard Duivenvoorde



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

Reply via email to