forked from quickshell/quickshell
all: import module dependencies via qmldir
Improves compatibility with qml tooling.
This commit is contained in:
parent
0519acf1d6
commit
569c40494d
7 changed files with 23 additions and 66 deletions
|
@ -34,13 +34,6 @@ class WaylandPlugin: public QuickshellPlugin {
|
|||
// will not be registered. This can be worked around with a module import which makes
|
||||
// the QML_ELMENT module import the old register-type style module.
|
||||
|
||||
qmlRegisterModuleImport(
|
||||
"Quickshell.Wayland",
|
||||
QQmlModuleImportModuleAny,
|
||||
"Quickshell.Wayland._WlrLayerShell",
|
||||
QQmlModuleImportLatest
|
||||
);
|
||||
|
||||
qmlRegisterModuleImport(
|
||||
"Quickshell",
|
||||
QQmlModuleImportModuleAny,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue