Allow to build with Qt6#14465
Conversation
|
Haven't tested this yet, but the CMake bits LGTM at first glance. |
And you won't be able to do it, since it's not even going to be successfully built at this stage yet. |
|
@glassez I dunno if you have already seen this or if it will be of any help to you: https://www.qt.io/blog/porting-from-qt-5-to-qt-6-using-clazy-checks |
daf4304 to
868b590
Compare
|
@FranciscoPombal, can you adjust GitHub CI configuration for this PR? |
b138937 to
be6b94a
Compare
VCPKG still doesn't have support for Qt 6.x.x as it's still a WIP ref.: [Qt6] WIP: For people who want to try it out or help. They will probably need some help over there... A possible alternative could be https://github.com/martinrotter/qt-minimalistic-builds/releases for local building/testing? Qt 6.0.3 should be out this week/latest next.. |
|
I wonder is that over the recent PR to change to |
Sure, I'll use the current WIP version at microsoft/vcpkg#14333. Hopefully it's usable. |
It still works fine in Qt5, doesn't it? But this is definitely due to its manual painting. |
This comment has been minimized.
This comment has been minimized.
Just checked latest GHA Master & it behaves as expected.... |
|
maybe because someone removed this flag in the current master 816bc45#diff-1e27babe637ab6712fed4277c12010effd1f1a9187c561905709366d1187feecR56 |
Good catch 👍 Confirmed. |
This comment has been minimized.
This comment has been minimized.
|
I came across a crash related to the RSS subsystem. I'll try to debug it later. |
|
@glassez |
|
@glassez Apologies, I forgot that you have a separate Qt6 workflow file. Change: |
b44bd35 to
95293d2
Compare
|
This is only intended as a Reference/FYI
|
747465a to
40bdcb2
Compare
|
Now I believe it's time to merge it into the master. I changed it by making the build with Qt6 optional (CMake-only, via QT6 option), so that we can continue to have a single codebase for both Qt5 and Qt6 branches. |
|
For CI, We may be able to use something like install-qt-action across all OS's as there's no ppa/repo with Qt6 currently or we can build from source..... |
|
I can't figure out what the hell is wrong with the Windows CI build. I have successfully built it locally with both Qt 6.2 and Qt 5.15.2. |
It's because of Boost 1.77.0 Reference: We need to probably discuss this further on what we should do going forward until Boost 1.78.0 is released in December with the included fix in |
👎 |
|
@glassez Have a fix for windows CI.... @Chocobo1 Apologies - I actually got you to remove the fix in a way from your PR #15355
I thought it wasn't being used at all & it wasn't really as If This will allow windows CI to build with Boost 1.76 again.....we can turn |
|
HTTP/2 is enabled by default, please see: qBittorrent does not appear to handle HTTP/2. I tested with the git dev branch of qt. It will fail to download the tracker list in the "Tracker addition dialog" (please see below) I propose the attached patch to solve this problem. diff -ruN -x .DS_Store src/base/net/downloadmanager.cpp src2/base/net/downloadmanager.cpp
|




No description provided.