[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-developer
Subject:    Re: [QGIS-Developer] Current state of QGIS and Qt 6 (good news!)
From:       Mathieu Pellerin via QGIS-Developer <qgis-developer () lists ! osgeo ! org>
Date:       2022-08-20 10:24:34
Message-ID: CAC_qv=qi7yGBeChSc7f4qg8hqctFeG27v=R-mQ4kJFx+bov_kg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Oh, by the way, we'll need to adapt Find{Qca,QWT,etc}.cmake to behave
nicely on systems where both qt5 and qt6 libraries are installed. Atm it'll
randomly pick one or the other.

We can make use of BUILD_WITH_QT6 there.

On Sat, Aug 20, 2022, 15:22 Mathieu Pellerin <nirvn.asia@gmail.com> wrote:

> Richard,
>
> FYI, I've been able to compile QGIS against Qt6 (6.2.4) on Ubuntu 22.04.
> Few notes:
> - We're lucky, Ubuntu 22.04 has a Qt6 keychain package, you should use
> this one, that reduces the nb of libs to compile to 3
> - As Matthias suggested, I'd install the libraries
> - The QCA_INCLUDE_DIR has to point to the QtCrypto directory (e.g. on my
> machine, I set the installed include path to
> /usr/include/x86_64-linux-gnu/qt6/Qca-qt6/QtCrypto/ -- it might work from
> the directory you built qca within, but I suspect the path would have to be
> something like /home/richard/git/qca/qca-master/include/QtCrypto/)
>
> On the bindings front, while Ubuntu 22.04 doesn't have a pyqt6 package,
> upcoming Ubuntu 22.10 will ship one (
> https://packages.ubuntu.com/kinetic/pyqt6-dev). With a bit of chance,
> Ubuntu will have updated to 6.3.X come October.
>
> Nyall, you rock BTW, it's pretty cool to see QGIS running against Qt6
> locally.
>
> Mathieu
>
> On Thu, Aug 18, 2022 at 4:43 PM Richard Duivenvoorde via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
>> Cool! Thanks Nyall!
>>
>> Off course this is a challenge for Debianista's :-)
>>
>> Just tried on Debian testing, actually your 4 zip's/dependecies compiling
>> went very well.
>> (did not INSTALL anything, just compiled)
>>
>> But then I get stuck on QGIS itself (looks like it is trying to compile
>> the ossl plugin again, or qca is not finding the plugin so?)
>> (note: I disabled some AUTH stuff because... something errored, and I
>> thought to try without)
>>
>> # build QGIS qt6 (had build all other stuff in /home/richard/git/qca)
>> mkdir build
>> cd build
>> ccmake -DBUILD_WITH_QT6=ON -DWITH_BINDINGS=OFF \
>> -DQCA_INCLUDE_DIR=/home/richard/git/qca/qca-master \
>> -DQCA_LIBRARY=/home/richard/git/qca/qca-master/lib/libqca-qt6.so.2.3.4 \
>> -DQSCINTILLA_INCLUDE_DIR=/home/richard/git/qca/QScintilla_src-2.13.3/src/
>> \
>> -DQSCINTILLA_LIBRARY=/home/richard/git/qca/QScintilla_src-2.13.3/src/libqscintilla2_qt6.so.15.1.1
>> \
>> -DQTKEYCHAIN_INCLUDE_DIR=/home/richard/git/qca/qtkeychain-master \
>> -DQTKEYCHAIN_LIBRARY=/home/richard/git/qca/qtkeychain-master/libqt6keychain.so.0.13.99
>> \
>> -DQWT_INCLUDE_DIR=/home/richard/git/qca/qwt-6.2.0/src \
>> -DQWT_LIBRARY=/home/richard/git/qca/qwt-6.2.0/lib/libqwt.so.6.2.0 \
>> -DWITH_OAUTH2_PLUGIN=OFF \
>> -DWITH_AUTH=OFF \
>> ..
>>
>>   QCA OpenSSL plugin C++ check compile output:
>>   Change Dir: /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp
>>
>>   Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c5530/fast &&
>> /usr/bin/gmake  -f CMakeFiles/cmTC_c5530.dir/build.make
>> CMakeFiles/cmTC_c5530.dir/build
>>   gmake[1]: Entering directory
>> '/home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp'
>>   Building CXX object CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o
>>   /usr/bin/c++  -I/usr/include/x86_64-linux-gnu/qt5
>> -I/usr/include/x86_64-linux-gnu/qt5/QtCore
>> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++
>> -I/home/richard/git/qca/qca-master -fPIC  -std=gnu++11 -o
>> CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o
>>   -c /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp/qcaossl.cpp
>>   /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp/qcaossl.cpp:2:16:
>> fatal error: QtCrypto: No such file or directory
>>       2 |       #include <QtCrypto>
>>         |                ^~~~~~~~~~
>>   compilation terminated.
>>   gmake[1]: *** [CMakeFiles/cmTC_c5530.dir/build.make:78:
>> CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o] Error 1
>>   gmake[1]: Leaving directory
>> '/home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp'
>>   gmake: *** [Makefile:127: cmTC_c5530/fast] Error 2
>>
>>   CMake Error at cmake/QCAMacros.cmake:76 (message):
>>     QCA OpenSSL plugin not found (run-time/unit-test dependency)
>>   Call Stack (most recent call first):
>>     CMakeLists.txt:526 (FIND_QCAOSSL_PLUGIN_CPP)
>>
>>   Configuring incomplete, errors occurred!
>>
>> Anyone a hint?
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>>
>> If others want to try, some more notes:
>>
>> # log on Debian Testing dd 18th aug 2022
>>
>> # get all zips from Nyalls qt6 mail:
>>
>> # qca
>> unzip qca-master.zip
>> cd qca-master/
>> # I did
>> ccmake .
>> # and checked BUILD_WITH_QT6=ON
>> # and (after issues with the ossl plugin) set WITH_ossl_PLUGIN=yes
>> make
>>
>> # qtkeychain
>> # unzip and go into dir:
>> # needed to do:
>> unzip qtkeychain-master.zip
>> cd qtkeychain-master/
>> sudo apt install libsecret-1-dev
>> cmake -DBUILD_WITH_QT6=ON .
>> make
>>
>> # qwt-6.2
>> # unzip
>> cd qwt-6.2.0
>> qmake6 -DWITH_PLUGIN=yes qwt.pro
>> make
>>
>> # QScintilla_src-2.13.3
>> cd QScintilla_src-2.13.3
>> cd src
>> qmake6 qscintilla.pro
>> make
>>
>>
>> On 8/18/22 06:46, Nyall Dawson via QGIS-Developer wrote:
>> > Hi list,
>> >
>> > There's been a couple of questions regarding this lately, so I'd like
>> > to send through an update on the current status. While I was rather
>> > pessimistic when replying to these questions, I'm happy to report that
>> > the port to Qt 6 is actually progressing MUCH faster than I'd
>> > anticipated!
>> >
>> > Thanks to the QGIS.org grant, I've spent the last couple of weeks
>> > working on this and we're now at a stage where QGIS builds and is
>> > (mostly) usable on Qt 6!!
>> >
>> > Right now this is where we're stand:
>> >
>> > - The core, gui and app libraries all build and run under Qt 6.
>> > - The 3d library builds and the tests all pass, but I just get a hang
>> > when I try to actually use a 3d view in the app
>> > - There's an open PR adding Qt 6 support for server (
>> > https://github.com/qgis/QGIS/pull/49823 )
>> > - Python is not supported, there's some blockers there to resolve first*
>> > - Almost all the c++ tests are passing, and there's a bunch of open
>> > PRs which resolve some issues to get a few more passing
>> > - The CI infrastructure now includes the c++ tests for QGIS core, gui,
>> > app and 3d under Qt 6 (with server tests enabled in the PR waiting
>> > review).
>> >
>> > Unfortunately without Python support we can't run the bulk of the test
>> > suite yet, so the current stability of the Qt 6 builds is a bit of an
>> > unknown. At least in my tests things *seem* to work well, in that I
>> > can load projects, navigate maps, work with print layouts and other
>> > common tasks. I certainly wouldn't recommend it for any kind of
>> > professional use, but it's at a stage where I'd welcome end-user
>> > testing and bug reports!
>> >
>> > Getting a build is somewhat tricky at the moment. I've been using
>> > Fedora 36 for this. You can get the required dependencies from this
>> > command:
>> https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile#L6
>> >
>> > You also need to compile by hand:
>> > - qca, from https://github.com/KDE/qca/archive/refs/heads/master.zip
>> > (make sure to set the -DQT6=ON cmake flag)
>> > - qtkeychain, from
>> >
>> https://github.com/frankosterfeld/qtkeychain/archive/refs/heads/master.zip
>> > . Set the -DBUILD_WITH_QT6=ON cmake flag
>> > - qwt-6.2 from
>> https://sourceforge.net/projects/qwt/files/qwt/6.2.0/qwt-6.2.0.zip/download
>> > . This is an ugly one to compile -- you need to use qmake6 and hack
>> > around some random build failures
>> > - QScintilla 2.13.3 from
>> >
>> https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.13.3/QScintilla_src-2.13.3.zip
>> > . Again, use qmake6 to compile to get the qt 6 libraries.
>> >
>> > (there's potentially some useful tips on compiling these in the docker
>> > file used for the Github workflow at
>> >
>> https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile
>> > )
>> >
>> > When you're building QGIS, make sure to set the cmake options
>> > -DBUILD_WITH_QT6=ON -DWITH_BINDINGS=OFF . Likely you also need to set
>> > QCA_INCLUDE_DIR, QCA_LIBRARY, QSCINTILLA_INCLUDE_DIR,
>> > QSCINTILLA_LIBRARY, QTKEYCHAIN_INCLUDE_DIR, QTKEYCHAIN_LIBRARY,
>> > QWT_INCLUDE_DIR and QWT_LIBRARY to point to the correct Qt 6 versions
>> > of these libraries.
>> >
>> > Nyall
>> >
>> > * regarding Python support: Currently Fedora doesn't have packages for
>> > PyQt6, which prevents enabling the Python bindings on Qt 6 builds.
>> > There's an open request for packaging this but no movement yet. I'd
>> > suggest that potentially QGIS.org could sponsor Sandro Mani to do this
>> > packaging (also Qt 6 packages for the qca/keychain/qscintilla/qwt
>> > libraries), given his experience in packaging all the other geo
>> > libraries under Fedora...
>> >
>> > While there's been discussion and research into potentially moving to
>> > Python for Qt instead of PyQt, that's a longer-term project and can't
>> > be completed until QGIS 4.0. So for our short/medium term requirements
>> > we need PyQt6 to move forward with the remaining Qt6 work...
>> > _______________________________________________
>> > 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
>>
>

[Attachment #5 (text/html)]

<div dir="auto">Oh, by the way, we&#39;ll need to adapt Find{Qca,QWT,etc}.cmake to \
behave nicely on systems where both qt5 and qt6 libraries are installed. Atm \
it&#39;ll randomly pick one or the other.<div dir="auto"><br></div><div dir="auto">We \
can make use of BUILD_WITH_QT6 there.</div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Sat, Aug 20, 2022, 15:22 Mathieu Pellerin &lt;<a \
href="mailto:nirvn.asia@gmail.com">nirvn.asia@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr"><div>Richard,</div><div><br></div><div>FYI, I&#39;ve been able to compile \
QGIS against Qt6 (6.2.4) on Ubuntu 22.04. Few notes:</div><div>- We&#39;re lucky, \
Ubuntu 22.04 has a Qt6 keychain package, you should use this one, that reduces the nb \
of libs to compile to 3</div><div>- As Matthias suggested, I&#39;d install the \
libraries</div><div>- The QCA_INCLUDE_DIR has to point to the QtCrypto directory \
(e.g. on my machine, I set the installed include path to \
/usr/include/x86_64-linux-gnu/qt6/Qca-qt6/QtCrypto/ -- it might work from the \
directory you built qca within, but I suspect the path would have to be something \
like /home/richard/git/qca/qca-master/include/QtCrypto/)</div><div><br></div><div>On \
the bindings front, while Ubuntu 22.04 doesn&#39;t have a pyqt6 package, upcoming \
Ubuntu 22.10 will ship one (<a href="https://packages.ubuntu.com/kinetic/pyqt6-dev" \
target="_blank" rel="noreferrer">https://packages.ubuntu.com/kinetic/pyqt6-dev</a>). \
With a bit of chance, Ubuntu will have updated to 6.3.X come \
October.</div><div><br></div><div>Nyall, you rock BTW, it&#39;s pretty cool to see \
QGIS running against Qt6 locally. \
<br></div><div><br></div><div>Mathieu<br></div><div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 18, 2022 at 4:43 PM \
Richard Duivenvoorde via QGIS-Developer &lt;<a \
href="mailto:qgis-developer@lists.osgeo.org" target="_blank" \
rel="noreferrer">qgis-developer@lists.osgeo.org</a>&gt; 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">Cool! Thanks Nyall!<br> <br>
Off course this is a challenge for Debianista&#39;s :-)<br>
<br>
Just tried on Debian testing, actually your 4 zip&#39;s/dependecies compiling went \
very well.<br> (did not INSTALL anything, just compiled)<br>
<br>
But then I get stuck on QGIS itself (looks like it is trying to compile the ossl \
plugin again, or qca is not finding the plugin so?)<br> (note: I disabled some AUTH \
stuff because... something errored, and I thought to try without)<br> <br>
# build QGIS qt6 (had build all other stuff in /home/richard/git/qca)<br>
mkdir build<br>
cd build<br>
ccmake -DBUILD_WITH_QT6=ON -DWITH_BINDINGS=OFF \<br>
-DQCA_INCLUDE_DIR=/home/richard/git/qca/qca-master \<br>
-DQCA_LIBRARY=/home/richard/git/qca/qca-master/lib/libqca-qt6.so.2.3.4 \<br>
-DQSCINTILLA_INCLUDE_DIR=/home/richard/git/qca/QScintilla_src-2.13.3/src/ \<br>
-DQSCINTILLA_LIBRARY=/home/richard/git/qca/QScintilla_src-2.13.3/src/libqscintilla2_qt6.so.15.1.1 \
                \<br>
-DQTKEYCHAIN_INCLUDE_DIR=/home/richard/git/qca/qtkeychain-master \<br>
-DQTKEYCHAIN_LIBRARY=/home/richard/git/qca/qtkeychain-master/libqt6keychain.so.0.13.99 \
                \<br>
-DQWT_INCLUDE_DIR=/home/richard/git/qca/qwt-6.2.0/src \<br>
-DQWT_LIBRARY=/home/richard/git/qca/qwt-6.2.0/lib/libqwt.so.6.2.0 \<br>
-DWITH_OAUTH2_PLUGIN=OFF \<br>
-DWITH_AUTH=OFF \<br>
..<br>
<br>
   QCA OpenSSL plugin C++ check compile output:<br>
   Change Dir: /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp<br>
<br>
   Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c5530/fast &amp;&amp; \
/usr/bin/gmake   -f CMakeFiles/cmTC_c5530.dir/build.make \
CMakeFiles/cmTC_c5530.dir/build<br>  gmake[1]: Entering directory \
&#39;/home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp&#39;<br>  Building CXX \
object CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o<br>  /usr/bin/c++   \
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore \
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/richard/git/qca/qca-master \
                -fPIC   -std=gnu++11 -o CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o<br>
   -c /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp/qcaossl.cpp<br>
   /home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp/qcaossl.cpp:2:16: fatal error: \
QtCrypto: No such file or directory<br>  2 |           #include &lt;QtCrypto&gt;<br>
            |                        ^~~~~~~~~~<br>
   compilation terminated.<br>
   gmake[1]: *** [CMakeFiles/cmTC_c5530.dir/build.make:78: \
CMakeFiles/cmTC_c5530.dir/qcaossl.cpp.o] Error 1<br>  gmake[1]: Leaving directory \
&#39;/home/richard/git/qgisqt6/build/CMakeFiles/CMakeTmp&#39;<br>  gmake: *** \
[Makefile:127: cmTC_c5530/fast] Error 2<br> <br>
   CMake Error at cmake/QCAMacros.cmake:76 (message):<br>
      QCA OpenSSL plugin not found (run-time/unit-test dependency)<br>
   Call Stack (most recent call first):<br>
      CMakeLists.txt:526 (FIND_QCAOSSL_PLUGIN_CPP)<br>
<br>
   Configuring incomplete, errors occurred!<br>
<br>
Anyone a hint?<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
<br>
If others want to try, some more notes:<br>
<br>
# log on Debian Testing dd 18th aug 2022<br>
<br>
# get all zips from Nyalls qt6 mail:<br>
<br>
# qca<br>
unzip qca-master.zip<br>
cd qca-master/<br>
# I did<br>
ccmake .<br>
# and checked BUILD_WITH_QT6=ON<br>
# and (after issues with the ossl plugin) set WITH_ossl_PLUGIN=yes<br>
make<br>
<br>
# qtkeychain<br>
# unzip and go into dir:<br>
# needed to do:<br>
unzip qtkeychain-master.zip<br>
cd qtkeychain-master/<br>
sudo apt install libsecret-1-dev<br>
cmake -DBUILD_WITH_QT6=ON .<br>
make<br>
<br>
# qwt-6.2<br>
# unzip<br>
cd qwt-6.2.0<br>
qmake6 -DWITH_PLUGIN=yes <a href="http://qwt.pro" rel="noreferrer noreferrer" \
target="_blank">qwt.pro</a><br> make<br>
<br>
# QScintilla_src-2.13.3<br>
cd QScintilla_src-2.13.3<br>
cd src<br>
qmake6 <a href="http://qscintilla.pro" rel="noreferrer noreferrer" \
target="_blank">qscintilla.pro</a><br> make<br>
<br>
<br>
On 8/18/22 06:46, Nyall Dawson via QGIS-Developer wrote:<br>
&gt; Hi list,<br>
&gt; <br>
&gt; There&#39;s been a couple of questions regarding this lately, so I&#39;d \
like<br> &gt; to send through an update on the current status. While I was rather<br>
&gt; pessimistic when replying to these questions, I&#39;m happy to report that<br>
&gt; the port to Qt 6 is actually progressing MUCH faster than I&#39;d<br>
&gt; anticipated!<br>
&gt; <br>
&gt; Thanks to the QGIS.org grant, I&#39;ve spent the last couple of weeks<br>
&gt; working on this and we&#39;re now at a stage where QGIS builds and is<br>
&gt; (mostly) usable on Qt 6!!<br>
&gt; <br>
&gt; Right now this is where we&#39;re stand:<br>
&gt; <br>
&gt; - The core, gui and app libraries all build and run under Qt 6.<br>
&gt; - The 3d library builds and the tests all pass, but I just get a hang<br>
&gt; when I try to actually use a 3d view in the app<br>
&gt; - There&#39;s an open PR adding Qt 6 support for server (<br>
&gt; <a href="https://github.com/qgis/QGIS/pull/49823" rel="noreferrer noreferrer" \
target="_blank">https://github.com/qgis/QGIS/pull/49823</a> )<br> &gt; - Python is \
not supported, there&#39;s some blockers there to resolve first*<br> &gt; - Almost \
all the c++ tests are passing, and there&#39;s a bunch of open<br> &gt; PRs which \
resolve some issues to get a few more passing<br> &gt; - The CI infrastructure now \
includes the c++ tests for QGIS core, gui,<br> &gt; app and 3d under Qt 6 (with \
server tests enabled in the PR waiting<br> &gt; review).<br>
&gt; <br>
&gt; Unfortunately without Python support we can&#39;t run the bulk of the test<br>
&gt; suite yet, so the current stability of the Qt 6 builds is a bit of an<br>
&gt; unknown. At least in my tests things *seem* to work well, in that I<br>
&gt; can load projects, navigate maps, work with print layouts and other<br>
&gt; common tasks. I certainly wouldn&#39;t recommend it for any kind of<br>
&gt; professional use, but it&#39;s at a stage where I&#39;d welcome end-user<br>
&gt; testing and bug reports!<br>
&gt; <br>
&gt; Getting a build is somewhat tricky at the moment. I&#39;ve been using<br>
&gt; Fedora 36 for this. You can get the required dependencies from this<br>
&gt; command: <a href="https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile#L6" \
rel="noreferrer noreferrer" \
target="_blank">https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile#L6</a><br>
 &gt; <br>
&gt; You also need to compile by hand:<br>
&gt; - qca, from <a href="https://github.com/KDE/qca/archive/refs/heads/master.zip" \
rel="noreferrer noreferrer" \
target="_blank">https://github.com/KDE/qca/archive/refs/heads/master.zip</a><br> &gt; \
(make sure to set the -DQT6=ON cmake flag)<br> &gt; - qtkeychain, from<br>
&gt; <a href="https://github.com/frankosterfeld/qtkeychain/archive/refs/heads/master.zip" \
rel="noreferrer noreferrer" \
target="_blank">https://github.com/frankosterfeld/qtkeychain/archive/refs/heads/master.zip</a><br>
 &gt; . Set the -DBUILD_WITH_QT6=ON cmake flag<br>
&gt; - qwt-6.2 from <a \
href="https://sourceforge.net/projects/qwt/files/qwt/6.2.0/qwt-6.2.0.zip/download" \
rel="noreferrer noreferrer" \
target="_blank">https://sourceforge.net/projects/qwt/files/qwt/6.2.0/qwt-6.2.0.zip/download</a><br>
 &gt; . This is an ugly one to compile -- you need to use qmake6 and hack<br>
&gt; around some random build failures<br>
&gt; - QScintilla 2.13.3 from<br>
&gt; <a href="https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.13.3/QScintilla_src-2.13.3.zip" \
rel="noreferrer noreferrer" \
target="_blank">https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.13.3/QScintilla_src-2.13.3.zip</a><br>
 &gt; . Again, use qmake6 to compile to get the qt 6 libraries.<br>
&gt; <br>
&gt; (there&#39;s potentially some useful tips on compiling these in the docker<br>
&gt; file used for the Github workflow at<br>
&gt; <a href="https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile" \
rel="noreferrer noreferrer" \
target="_blank">https://github.com/qgis/QGIS/blob/master/.docker/qgis3-qt6-build-deps.dockerfile</a><br>
 &gt; )<br>
&gt; <br>
&gt; When you&#39;re building QGIS, make sure to set the cmake options<br>
&gt; -DBUILD_WITH_QT6=ON -DWITH_BINDINGS=OFF . Likely you also need to set<br>
&gt; QCA_INCLUDE_DIR, QCA_LIBRARY, QSCINTILLA_INCLUDE_DIR,<br>
&gt; QSCINTILLA_LIBRARY, QTKEYCHAIN_INCLUDE_DIR, QTKEYCHAIN_LIBRARY,<br>
&gt; QWT_INCLUDE_DIR and QWT_LIBRARY to point to the correct Qt 6 versions<br>
&gt; of these libraries.<br>
&gt; <br>
&gt; Nyall<br>
&gt; <br>
&gt; * regarding Python support: Currently Fedora doesn&#39;t have packages for<br>
&gt; PyQt6, which prevents enabling the Python bindings on Qt 6 builds.<br>
&gt; There&#39;s an open request for packaging this but no movement yet. I&#39;d<br>
&gt; suggest that potentially QGIS.org could sponsor Sandro Mani to do this<br>
&gt; packaging (also Qt 6 packages for the qca/keychain/qscintilla/qwt<br>
&gt; libraries), given his experience in packaging all the other geo<br>
&gt; libraries under Fedora...<br>
&gt; <br>
&gt; While there&#39;s been discussion and research into potentially moving to<br>
&gt; Python for Qt instead of PyQt, that&#39;s a longer-term project and \
can&#39;t<br> &gt; be completed until QGIS 4.0. So for our short/medium term \
requirements<br> &gt; we need PyQt6 to move forward with the remaining Qt6 \
work...<br> &gt; _______________________________________________<br>
&gt; QGIS-Developer mailing list<br>
&gt; <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" \
rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br> &gt; List info: <a \
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer \
noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
 &gt; Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" \
rel="noreferrer noreferrer" \
target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br> <br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" \
rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br> List info: <a \
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer \
noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" \
rel="noreferrer noreferrer" \
target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br> \
</blockquote></div> </blockquote></div>



_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic