forked from quickshell/quickshell
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
This commit is contained in:
parent
9980f8587e
commit
a931adf033
17 changed files with 27 additions and 2 deletions
|
@ -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}
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue