Qt6 migration
https://www.qt.io/blog/qt6-development-hosts-and-targets
https://doc.qt.io/qt-6/modulechanges.html
Tasks collector when switching to Qt6
-
switch to function onFrameFormatChanged() {}
fe2fc194 -
KF6 migration #1111 -
minimum requirements C++17 - (port source code to C++17? Use clang-tidy
modernize-use-override
) - (gcc >= 11.2, clang >= LLVM 8.0, or MSVC >= 2019)
- (port source code to C++17? Use clang-tidy
-
minimum CMake 3.16 -
change some CMake code (replace "Qt5" with "Qt") -
Porting all QT function to Qt5.15 before update to Qt6 (https://www.youtube.com/watch?v=gbZZEIAXt3c) -
Solve all depreciation warnings in Qt5.15. -
Windows compiler: MSVC 2019, MinGW 11.2, packaging/craft@70f18e31 -
Windows Graphics: Direct 3D 11.1, Vulkan 1.0, or OpenGL 2.1 (ANGLE is no longer shipped with Qt in Qt 6). -
Porting from Qt 5 to Qt 6 using Clazy checks. The checks have to be run against Qt 5, and the fixed code will only compile with Qt 6. -
Port QAudioRecorder
(removed in Qt6) toQMediaCaptureSession
(added in Qt 6.2) -
Port away from QtQuickControls 1 (QQC1) -
Shutcut QT6 integration https://github.com/mltframework/shotcut/pull/1398
Task that can be already done while still using Qt5
-
Replace QRegExp
byQRegularExpression
(since Qt 5.0) -
ReplaceWe don't have this in the code. Some are here: 147abbfbQStringRef
byQStringView
(since Qt 5.10, feature complete since 5.15) -
First steps to preparing the code if we building against QT6 5cfe5ef0...82b50b0a
Host operating systems in Qt 6.0:
-
Support only Windows 10 2004 (64bit Intel; msvc2019 or mingw11.2/gcc11.2)
(Apr-22: 11.94% Win7 user https://gs.statcounter.com, 5.8% Win7 user on Kdenlive homepage) - macOS only in Version 10.15 (64bit Intel; XCode 11), 64bit.
Linux (https://doc.qt.io/qt-6/linux.html)
- Ubuntu 20.04 (64bit Intel; gcc9)
- CentOS 8.1 (64bit Intel; gcc9)
- SLES 15 (SUSE Linux Enterprise Server, 64bit Intel; gcc10)
- Open SUSE 15.x (64bit; gcc9)
Links to Qt6 porting documentation: