Luwx / Lightly

A modern style for qt applications.
Other
1.55k stars 104 forks source link

Building in nobara #235

Closed rajvatsal closed 1 month ago

rajvatsal commented 1 month ago

Spec:

OS: Nobara Linux 40 (KDE Plasma) x86_64 Host: B150M-D3H Kernel: Linux 6.11.0-200.fsync.fc40.x86_64 DE: KDE Plasma 6.0.3 WM: KWin (Wayland)

Log:

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!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Nimrodium commented 1 month ago

i just had this same issue! i assume you're building it because you couldn't find it in dnf?

andrea-tonello commented 1 month ago

Same problem here

rajvatsal commented 1 month ago

@Nimrodium I don't remember why I was building it I am sorry but I do remember that ligthly package found in dnf didn't work on qt6 so maybe that's why I was building it. I fixed the issue by using someone else's copr that has support for qt6. copr