Admin message

Join us at Akademy to celebrate KDE's 30th anniversary! Travel support requests are open till May 31st. Register now.

Qt6 migration
https://www.qt.io/blog/qt6-development-hosts-and-targets\ https://doc.qt.io/qt-6/modulechanges.html **Current blockers** * [x] Startup freeze on Mac (was caused by the App Bundle not signed. CD now signs master and stable branch) * [x] Dragging a clip from bin to timeline recreates the item on each mouse move * [x] Distorted text in qml monitor overlay - this is a QQC2 Desktop style issue. Setting `QT_QUICK_CONTROLS_STYLE=Universal` makes the problem go away **General issues** * [x] Audio recording on audio track not working (TODO - not yet reimplemented - it never worked on Mac though). **AppImage** * [x] In Dark Mode -\> Icons are dark (i.e. Icons on track header) * [x] Python venv not working - the install script fails at the pip stage. Extracting the Appimage using --appimage-extract and running the AppRun inside squashfs-root works, but not when started directly from the AppImage... Fixed by disabling the checkrt AppImage plugin. However this means the AppImage now doesn't run on older distros ``` File \"/tmp/tmpfqn9ricl/pip-23.2-py3-none-any.whl/pip/_vendor/distro/distro.py\", line 1198, in _uname_info stdout = subprocess.check_output(cmd, stderr=subprocess.DEVNULL) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File \"/usr/lib/python3.11/subprocess.py\", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File \"/usr/lib/python3.11/subprocess.py\", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '('uname', '-rs')' died with <Signals.SIGSEGV: 11>. ``` **Windows specific issues** * [x] Switching the Color Scheme takes very, very long. * [x] Standalone: Color Scheme are not available * [x] Monitors: F11 and double click leads to a white screen [see bug 480891](https://bugs.kde.org/show_bug.cgi?id=480891) * [x] No files are displayed in File dialog when there are more than 100 "supported files" in the folder. [See KF6 bug 481311](https://bugs.kde.org/show_bug.cgi?id=481311) and [KIO merge request here](https://invent.kde.org/frameworks/kio/-/merge_requests/1540 "Draft: Fix windows cross partition directory move"). [Details see here](https://invent.kde.org/multimedia/kdenlive/-/issues/1003#note_865739 "Qt6 migration"), also reported freeze [here](https://youtu.be/Zbk3LoiVfDc) * [x] Online resources -\> no service available * [x] Dark mode: Download new effects / new title template -\> Background color not aligned with breeze settings (dark mode). Text is white. Fixed: https://invent.kde.org/multimedia/kdenlive/-/commit/0791d4462b947859a6325644027beeb76ab0186f * [x] When starting Kdenlive fresh, the cursor `sand clock` appear even after creating a new project. Start Kdenlive -\> click on `Add clip or Folder` -\> change the folder -\> click on `cancel` -\> the cursor is back to normal. After a project is loaded the cursor `arrow` appear and cursor behavior is normal even after creating a new project. This is related to the [mediabrowser widget issue](https://invent.kde.org/multimedia/kdenlive/-/issues/1003#note_865739 "Qt6 migration") and [KIO merge request here](https://invent.kde.org/frameworks/kio/-/merge_requests/1540 "Draft: Fix windows cross partition directory move"). * [x] Effect view. All categories are missing and the icon color looks bad. * [x] Languages are missing * [x] Language switch is always reset after Kdenlive is started new. Fixed: https://invent.kde.org/multimedia/kdenlive/-/commit/7c6a7361ec8395becc8b00e9a530461b7427c0fb **MacOS specific issues** * [x] Crash when clicking in Subtitle Manager on close. Here the crashlog [Mac_Crash-click-on-OK-in-subtitle-manager.txt](/uploads/ff4bc076fcc907cb8aeb04bb36514d13/Mac_Crash-click-on-OK-in-subtitle-manager.txt), commit https://invent.kde.org/multimedia/kdenlive/-/commit/b391a6591cb74967d3bc347aa2a5b0d848ebb9f1 * [x] Monitors: F11 and double click leads to a white screen [see bug 480891](https://bugs.kde.org/show_bug.cgi?id=480891) * [x] Dark mode: Download new effects / new title template -\> Background color not aligned with breeze settings (dark mode). Text is white. * [x] Crash on parsing devices using Solid. Might be because we need to explicitly request permission in Info.plist file ? Fixed by disabling the check for removable drives in https://invent.kde.org/multimedia/kdenlive/-/commit/e7804ec0a70d1a96c7a0ee624225d171cd8a4adc * [x] Color themes not found. The themes are installed in the same location as Qt5 (in Resources/color-schemes), but not found. Looking at KColorScheme frameworks, it looks for them in QStandardPaths::GenericDataLocation, which on Mac is \~/Library/Application Support. Moving the color-schemes folder here solves the problem. So some packaging trick is probably necessary to make the App find it in Resources folder. Not sure if something changed in Mac Packaging.... Fixed https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/b86fe254d92f3932d3b7aebb631d4df3a5d10ec3 * [x] Languages are missing. Same issue as Color Themes (copying in \~/Library/Application Support makes them available. Language switch fixed: https://invent.kde.org/multimedia/kdenlive/-/commit/7c6a7361ec8395becc8b00e9a530461b7427c0fb **Tasks collector when switching to Qt6** * [x] `switch to function onFrameFormatChanged() {}` https://invent.kde.org/multimedia/kdenlive/-/commit/fe2fc194b5f789f3bbb3e8e1cb6cee984d89c869 * [x] KF6 migration #1111 * [x] minimum CMake 3.16 * [x] change some CMake code (replace "Qt5" with "Qt") * [x] Porting all QT function to Qt5.15 before update to Qt6 (https://www.youtube.com/watch?v=gbZZEIAXt3c) * [x] Solve all depreciation warnings in Qt5.15. * [x] [Windows compiler](https://doc.qt.io/qt-6/windows.html): MSVC 2019, MinGW 11.2, https://invent.kde.org/packaging/craft/-/commit/70f18e31978f80b46c7dd37c5e2d28dad81e1bdd * [x] [Windows Graphics](https://doc.qt.io/qt-6/windows-graphics.html): Direct 3D 11.1, Vulkan 1.0, or OpenGL 2.1 (ANGLE is no longer shipped with Qt in Qt 6). ~~Port `QAudioRecorder` (removed in Qt6) to `QMediaCaptureSession` (added in Qt 6.2)~~ Fixed via https://invent.kde.org/multimedia/kdenlive/-/commit/bfb1ef4c10962dc5b1e285b86b47dc3e1c4d25fa * [x] Port away from QtQuickControls 1 (QQC1) --- * For information: minimum requirements C++17 - (port source code to C++17? Use clang-tidy `modernize-use-override`) - (gcc \>= 11.2, [clang](https://doc.qt.io/qt-6/qdoc-guide-clang.html) \>= LLVM 8.0, or MSVC \>= 2019) * For information: Shotcut QT6 integration https://github.com/mltframework/shotcut/pull/1398 * For information: 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. - https://www.qt.io/blog/porting-from-qt-5-to-qt-6-using-clazy-checks - https://doc.qt.io/qt-6/porting-to-qt6-using-clazy.html **Task that can be already done while still using Qt5** * [x] Replace `QRegExp` by `QRegularExpression` (since Qt 5.0) * [x] ~~Replace `QStringRef` by `QStringView` (since Qt 5.10, feature complete since 5.15)~~ We don't have this in the code. Some are here: https://invent.kde.org/multimedia/kdenlive/-/commit/147abbfb7c1bffe3874c1e9f6706f9a94fbafa52 * [x] First steps to preparing the code if we building against QT6 https://invent.kde.org/multimedia/kdenlive/-/compare/5cfe5ef08ed19ee5f000ee40548fd14750c6fab5...82b50b0a1a9ce572e6830e8cbd9fbc48c7aca7ce --- Host operating systems in Qt 6.0: - [Support only Windows 10 (1809 or later)](https://doc.qt.io/qt-6/windows.html) (64bit Intel; msvc2019 or mingw11.2/gcc11.2)\ (Dec-23: 3.35% Win7 user https://gs.statcounter.com, 2.1% Win7 user on Kdenlive homepage) - [macOS only in Version](https://doc.qt.io/qt-6/macos.html) 11, 12, 13 (64bit Intel; XCode 11), 64bit. Linux (https://doc.qt.io/qt-6/linux.html) - Ubuntu 22.04 (64bit Intel; gcc 11x) - CentOS 8.6 (64bit Intel; gcc 10) - SLES 15 SPS (SUSE Linux Enterprise Server, 64bit Intel; gcc10) - Open SUSE 15.5 (64bit; gcc 9) --- Links to Qt6 porting documentation: - https://doc.qt.io/qt-6/portingguide.html - https://doc.qt.io/qt-6/whatsnew60.html - https://doc.qt.io/qt-6/qtmultimedia-changes-qt6.html
issue