Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarity on dependencies #1

Open
iiztp opened this issue Dec 10, 2024 · 2 comments
Open

Clarity on dependencies #1

iiztp opened this issue Dec 10, 2024 · 2 comments

Comments

@iiztp
Copy link

iiztp commented Dec 10, 2024

Hi,

I am a Debian user (sadly) and it seems difficult to compile this project.
When running Hyprland it tells me that I'm missing this runtime dependency, and, when trying to compile and after installing quite a lot of qt6 dependencies it still misses something.

A line showing how to compile might not be too much also (specifically when it's quite the same as on other projects and it takes two lines in a readme).

Here is the repeated 5000 warning I get :

CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6Qml/Qt6QmlMacros.cmake:3459 (message):
  The qml plugin 'qquicklayoutsplugin' is a dependency of
  'hyprland-update-screen', but the link target it defines
  (Qt6::qquicklayoutsplugin) does not exist in the current scope.  The plugin
  will not be linked.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (qt6_import_qml_plugins)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:678 (cmake_language)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:774 (_qt_internal_finalize_executable)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:743:EVAL:1 (qt6_finalize_target)
  utils/update-screen/CMakeLists.txt:DEFERRED

Before that, I was missing "qt6-base-dev", "qt6-declarative-dev", "qt6-declarative-private-dev" and "qt6-wayland-dev" but this was fixed and kind of told in the Readme that we had qt6 and qt6-qml dependencies (which are by the way installed, as well as the KDE dep).

Thanks,

@vaxerski
Copy link
Member

I don't know how the deps work on debian but in general you just need qt6 and qt6-qml:

hyprutils
kdePackages.kirigami-addons
qt6.qtbase
qt6.qtsvg
qt6.qtwayland

idk why the kirigami stuff is there @fufexan

@cpiber
Copy link

cpiber commented Dec 10, 2024

I faced similar problems trying to build for Ubuntu, and have the deb files here: cpiber/hyprland-ppa@7f0c30f

It seems that Ubuntu/Debian split the packages very aggressively. I also had to patch a few things, maybe due to different defaults (and slightly outdated qt6.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants