It looks like first stage of Qt 6 support was added in this version, should probably disable Qt 6 support for the shell integration until full Qt 6 support lands. For now it fails like this when both versions are available: CMake Error at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2829 (message): qt_generate_foreign_qml_types() is only available in Qt 6. Call Stack (most recent call first): /usr/lib64/cmake/Qt6Qml/Qt6QmlConfig.cmake:145 (include) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake:53 (find_dependency) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib64/cmake/KF6KIO/KF6KIOConfig.cmake:41 (find_dependency) shell_integration/CMakeLists.txt:15 (find_package) Reproducible: Always
Created attachment 891973 [details] build.log
Created attachment 891974 [details] emerge --info
Created attachment 892275 [details] build.log
Created attachment 892276 [details] emerge --info
Hello, Hitting against the same issue. Thanks! [ebuild U ] net-misc/nextcloud-client-3.13.0 [3.12.3] USE="dolphin -doc -nautilus -test -webengine"
Confirmed here with unmasked Plasma 6.
Applying this PR fixes the issue: https://github.com/nextcloud/desktop/pull/6599/ See the attached patch. Adding it to /etc/portage/patches/net-misc/nextcloud-client works.
Created attachment 892442 [details, diff] 0001-Fix-build-with-KF6.patch
Thanks for the detailed report all, the switch to Qt6 will be interesting to sort out! In the meantime, let me check that patch - I guess the change to qt5_add_resources means it will need some rework for qt6, but again this is for later