catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.63k stars 65 forks source link

Not installing in Regata OS (OpenSuse based distro) #384

Open Er1kD13G0 opened 3 months ago

Er1kD13G0 commented 3 months ago

erik@erik-pc:~> # Download source erik@erik-pc:~> git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git fatal: destination path 'wallpaper-engine-kde-plugin' already exists and is not an empty directory. erik@erik-pc:~> cd wallpaper-engine-kde-plugin erik@erik-pc:~/wallpaper-engine-kde-plugin> erik@erik-pc:~/wallpaper-engine-kde-plugin> # Download submodule erik@erik-pc:~/wallpaper-engine-kde-plugin> git submodule update --init erik@erik-pc:~/wallpaper-engine-kde-plugin> erik@erik-pc:~/wallpaper-engine-kde-plugin> # Configure, build and install erik@erik-pc:~/wallpaper-engine-kde-plugin> # 'USE_PLASMAPKG=ON': using kpackagetool tool to install plugin erik@erik-pc:~/wallpaper-engine-kde-plugin> cmake -B build -S . -GNinja -DUSE_PLASMAPKG=ON 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 value or use a ... 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.2s) -- Generating done (0.0s) -- Build files have been written to: /home/erik/wallpaper-engine-kde-plugin/build erik@erik-pc:~/wallpaper-engine-kde-plugin> cmake --build build ninja: no work to do. erik@erik-pc:~/wallpaper-engine-kde-plugin> cmake --install build -- Install configuration: "RelWithDebInfo" CMake Error at build/src/cmake_install.cmake:62 (file): file cannot create directory: /usr/lib64/qt5/qml/com/github/catsout/wallpaperEngineKde. Maybe need administrative privileges. Call Stack (most recent call first): build/cmake_install.cmake:47 (include)

It gives me this error, I tried to install it via dnf but it doesn't find the copr repository

AngelSherry commented 3 months ago

It seems you're using Qt5 branch instead of Qt6. Their installations are not same.