boehs / Lightly

A modern style for qt applications.
Other
213 stars 10 forks source link

doesnt install #23

Closed starsprinter92 closed 4 months ago

starsprinter92 commented 8 months ago

Screenshot_20240325_133907 cmake fails

agoodfellow123 commented 7 months ago

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.

boehs commented 7 months ago

Do you happen to be on plasma 6

agoodfellow123 commented 7 months ago

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

ChrTall commented 7 months ago

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

boehs commented 7 months ago

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.

kuunha commented 7 months ago

How to build on Tumbleweed:

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

starsprinter92 commented 4 months ago

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