all: add DEPENDENCIES entries to qml modules

Fixes some qmlls/qmllint issues.
This commit is contained in:
outfoxxed 2024-10-31 13:45:26 -07:00
parent 9980f8587e
commit a931adf033
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
17 changed files with 27 additions and 2 deletions

View file

@ -106,6 +106,7 @@ target_link_libraries(quickshell-wayland-init PRIVATE ${QT_DEPS})
qt_add_qml_module(quickshell-wayland
URI Quickshell.Wayland
VERSION 0.1
DEPENDENCIES QtQuick Quickshell
IMPORTS ${WAYLAND_MODULES}
)

View file

@ -7,6 +7,7 @@ qt_add_library(quickshell-hyprland-focus-grab STATIC
qt_add_qml_module(quickshell-hyprland-focus-grab
URI Quickshell.Hyprland._FocusGrab
VERSION 0.1
DEPENDENCIES QtQml Quickshell
)
wl_proto(quickshell-hyprland-focus-grab

View file

@ -7,6 +7,7 @@ qt_add_library(quickshell-hyprland-global-shortcuts STATIC
qt_add_qml_module(quickshell-hyprland-global-shortcuts
URI Quickshell.Hyprland._GlobalShortcuts
VERSION 0.1
DEPENDENCIES QtQml
)
wl_proto(quickshell-hyprland-global-shortcuts

View file

@ -8,6 +8,7 @@ qt_add_library(quickshell-hyprland-ipc STATIC
qt_add_qml_module(quickshell-hyprland-ipc
URI Quickshell.Hyprland._Ipc
VERSION 0.1
DEPENDENCIES QtQml Quickshell
)
target_link_libraries(quickshell-hyprland-ipc PRIVATE ${QT_DEPS})

View file

@ -7,6 +7,7 @@ qt_add_library(quickshell-wayland-toplevel-management STATIC
qt_add_qml_module(quickshell-wayland-toplevel-management
URI Quickshell.Wayland._ToplevelManagement
VERSION 0.1
DEPENDENCIES QtQml Quickshell Quickshell.Wayland
)
wl_proto(quickshell-wayland-toplevel-management

View file

@ -4,7 +4,13 @@ qt_add_library(quickshell-wayland-layershell STATIC
window.cpp
)
qt_add_qml_module(quickshell-wayland-layershell URI Quickshell.Wayland._WlrLayerShell VERSION 0.1)
qt_add_qml_module(quickshell-wayland-layershell
URI Quickshell.Wayland._WlrLayerShell
VERSION 0.1
# Quickshell.Wayland currently creates a dependency cycle, add it here once the main
# ls class is moved to this module.
DEPENDENCIES QtQuick Quickshell
)
wl_proto(quickshell-wayland-layershell wlr-layer-shell-unstable-v1 "${CMAKE_CURRENT_SOURCE_DIR}/wlr-layer-shell-unstable-v1.xml")
target_link_libraries(quickshell-wayland-layershell PRIVATE ${QT_DEPS} wayland-client)