Problem installing on Garuda plasma6 (help needed)
Adameczu opened this issue · comments
Adameczu commented
Describe the bug
When im trying to build with cmake, tere is an error with qt6::gui
System Information
- Kde: 6.0.3
- Qt: 6.6.3
- OS: Garuda (arch based)
- Installation Source: git
Additional context
╭─mooncore@mooncore in repo: wallpaper-engine-kde-plugin/build on qt6 [!?] as 🧙 took 366ms
[🔴] × cmake ..
CMake Warning (dev) at /usr/lib/cmake/Plasma/PlasmaQchTargets.cmake:6 (set_target_properties):
Policy CMP0160 is not set: More read-only target properties now error when
trying to set them. Run "cmake --help-policy CMP0160" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
IMPORTED property is read-only for target("Plasma_QCH")
Call Stack (most recent call first):
/usr/lib/cmake/Plasma/PlasmaConfig.cmake:40 (include)
CMakeLists.txt:43 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib/cmake/KF6Package/KF6PackageQchTargets.cmake:6 (set_target_properties):
Policy CMP0160 is not set: More read-only target properties now error when
trying to set them. Run "cmake --help-policy CMP0160" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
IMPORTED property is read-only for target("KF6Package_QCH")
Call Stack (most recent call first):
/usr/lib/cmake/KF6Package/KF6PackageConfig.cmake:47 (include)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib/cmake/Plasma/PlasmaConfig.cmake:52 (find_dependency)
CMakeLists.txt:43 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib/cmake/KF6CoreAddons/KF6CoreAddonsQchTargets.cmake:6 (set_target_properties):
Policy CMP0160 is not set: More read-only target properties now error when
trying to set them. Run "cmake --help-policy CMP0160" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
IMPORTED property is read-only for target("KF6CoreAddons_QCH")
Call Stack (most recent call first):
/usr/lib/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake:97 (include)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib/cmake/KF6Package/KF6PackageConfig.cmake:55 (find_dependency)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib/cmake/Plasma/PlasmaConfig.cmake:52 (find_dependency)
CMakeLists.txt:43 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib/cmake/KF6WindowSystem/KF6WindowSystemQchTargets.cmake:6 (set_target_properties):
Policy CMP0160 is not set: More read-only target properties now error when
trying to set them. Run "cmake --help-policy CMP0160" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
IMPORTED property is read-only for target("KF6WindowSystem_QCH")
Call Stack (most recent call first):
/usr/lib/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake:51 (include)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/usr/lib/cmake/Plasma/PlasmaConfig.cmake:53 (find_dependency)
CMakeLists.txt:43 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at src/backend_scene/third_party/glslang/CMakeLists.txt:36 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at src/backend_scene/third_party/glslang/CMakeLists.txt:247 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
src/backend_scene/third_party/glslang/CMakeLists.txt:311 (find_host_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Google Mock was not found - tests based on that will not build
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
-- Configuring done (0.3s)
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Qml" does
not agree with the value of QT_MAJOR_VERSION already determined
for "WallpaperEngineKde".
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Gui" does
not agree with the value of QT_MAJOR_VERSION already determined
for "mpvbackend".
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt6::Gui" does
not agree with the value of QT_MAJOR_VERSION already determined
for "wescene-renderer-qml".
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
AngelSherry commented
It seems like you are mixing Qt5 branch with Qt6 branch. Would you like to show me how do you build it?
Andres commented
on garuda you can use the chaotic aur package
like this
sudo pacman -S plasma6-wallpapers-wallpaper-engine-git
xTreme21 commented
sudo pacman -Syu yay
then
yay -S plasma6-wallpapers-wallpaper-engine-git