[QGIS-Developer] Help compiling QGIS with Qt6 on Ubuntu 24.04/24.10
chris hermansen
clhermansen at gmail.com
Fri Dec 27 10:43:29 PST 2024
Jorge and list,
On Fri, Dec 27, 2024 at 2:48 AM Jorge Gustavo Rocha via QGIS-Developer <
qgis-developer at lists.osgeo.org> wrote:
> Hi,
>
> I would like to start compiling QGIS with Qt6 on Ubuntu. I've looked into
> .docker/qgis3-qt6-build-deps.dockerfile, but the rules are for fedora.
>
> Currently, I'm missing libqwt-qt6 package on Ubuntu. I have the former
> qwt-qt5 packages, but not the new qwt-qt6 ones.
>
> dpkg -l | grep qwt
>
> ii libqwt-qt5-6
> ii libqwt-qt5-dev
>
> I've found this: https://packages.debian.org/experimental/libqwt-qt6-dev
> (and libqwt-qt6-6.2). These ones are not easy to install, due to missing
> dependencies.
>
> Are these packages for qt6 available for Ubuntu for download on some ppa
> or should I build them locally? Does anyone succeed with compiling QGIS
> with Qt6 on Ubuntu?
>
>
I'm not someone with experience compiling anything with Qt6 on Ubuntu. But
there are a couple of possible lines to follow in this:
https://forum.qt.io/topic/148418/how-to-install-qt6-latest-for-ubuntu-22-jammy-fish/4
"If you have done apt install qt6-base-dev you have installed the latest
available Qt6 pre-compiled for your Ubuntu, whatever version of Qt6 that
might be."
and
"Or, another option, is to use Another Qt installer (aqt)
<https://github.com/miurahr/aqtinstall>, like:
aqt install-qt linux desktop 6.6.0 gcc_64
Tip: I find this webpage <https://ddalcino.github.io/aqt-list-server/> very
handy for generating the right aqt command to install the version and
modules I want (I use extensively in CI environments) - that's how I
generated the example command above"
--
Chris Hermansen · clhermansen "at" gmail "dot" com
C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20241227/fb2fd2dd/attachment-0001.htm>
More information about the QGIS-Developer
mailing list