<div dir="ltr"><div dir="ltr">Jorge and list,<br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Dec 27, 2024 at 2:48 AM Jorge Gustavo Rocha via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>Hi,</p>
<p>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. <br>
</p>
<p>Currently, I'm missing libqwt-qt6 package on Ubuntu. I have the
former qwt-qt5 packages, but not the new qwt-qt6 ones.</p>
<p>dpkg -l | grep qwt</p>
<p>ii libqwt-qt5-6<br>
ii libqwt-qt5-dev<br>
</p>
<p>I've found this:
<a href="https://packages.debian.org/experimental/libqwt-qt6-dev" target="_blank">https://packages.debian.org/experimental/libqwt-qt6-dev</a> (and
libqwt-qt6-6.2). These ones are not easy to install, due to
missing dependencies.</p>
<p>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?</p></div><br></blockquote><div><br></div><div>I'm not someone with experience compiling anything with Qt6 on Ubuntu. But there are a couple of possible lines to follow in this:</div><div><br></div><div><a href="https://forum.qt.io/topic/148418/how-to-install-qt6-latest-for-ubuntu-22-jammy-fish/4">https://forum.qt.io/topic/148418/how-to-install-qt6-latest-for-ubuntu-22-jammy-fish/4</a></div><div><br></div><div>"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."</div><div><br></div><div>and</div><div><br></div><div>"Or, another option, is to use <a href="https://github.com/miurahr/aqtinstall" target="_blank" rel="noopener noreferrer nofollow ugc">Another Qt installer (aqt)</a>, like:
<div class="gmail-hover-parent gmail-position-relative"><pre class="gmail-markdown-highlight"><code class="gmail-hljs gmail-language-undefined">aqt install-qt linux desktop 6.6.0 gcc_64
</code></pre></div>
<p dir="auto">Tip: I find this <a href="https://ddalcino.github.io/aqt-list-server/" target="_blank" rel="noopener noreferrer nofollow ugc">webpage</a> very handy for generating the right <code>aqt</code>
command to install the version and modules I want (I use extensively in
CI environments) - that's how I generated the example command above"</p><p dir="auto"><br></p></div></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>