Lightly icon indicating copy to clipboard operation
Lightly copied to clipboard

doesnt install

Open starsprinter92 opened this issue 11 months ago • 6 comments

Screenshot_20240325_133907 cmake fails

starsprinter92 avatar Mar 25 '24 17:03 starsprinter92

Same here but without error message, just a traceback, last non traceback message is this: Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration_autogen/mocs_compilation.cpp.o.

Arch, KDE utils and required make packages up to date.

agoodfellow123 avatar Apr 08 '24 23:04 agoodfellow123

Do you happen to be on plasma 6

boehs avatar Apr 08 '24 23:04 boehs

Yes, they did point me at this direction: https://discuss.kde.org/t/lightly-qt6-git-arrived/13141/2

agoodfellow123 avatar Apr 09 '24 00:04 agoodfellow123

I get the following error on openSuse Tumbleweed:

CMake Deprecation Warning at CMakeLists.txt:1 (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 Error at /usr/lib64/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt::Core

  Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Core/Qt6CoreConfig.cmake:68 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
  /usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake:50 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:25 (find_package)


CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake

  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
  NOT FOUND.
Call Stack (most recent call first):
  /usr/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!

Tumbleweed is already on Plasma6 and I installed Devel packges for KF6 and Qt6

ChrTall avatar Apr 11 '24 05:04 ChrTall

Qt6 is not supported. There may be a build script in your community repository that’s along the lines of lightly-qt6-git. Qt6 will be supported in the future.

boehs avatar Apr 11 '24 10:04 boehs

How to build on Tumbleweed:

https://github.com/boehs/Lightly/issues/21#issuecomment-2015083577

kuunha avatar Apr 11 '24 16:04 kuunha

srry i this is so old that i have no idea what distribution i was using

starsprinter92 avatar Jul 16 '24 21:07 starsprinter92