diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-08-21 16:38:09 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-08-25 11:48:25 +0200 |
commit | 0a4ce63b6177538a9abed89daefc43cc47247fc1 (patch) | |
tree | 5354fe928f3c87de2fc4b2134f4b0ed213cdd5ce /src/imports/compositor/compositor.pro | |
parent | 67a6ff004798294daf6c88b4ed59e68f716e5129 (diff) |
Make .qml types from QtWayland.Compositor available in plugin
We move the .qml files back to the plugin directory, since
the way everything is designed, these should reside next to
the qmldir file. Also, the cmake build files will now know
about the .qml files when generating the qmldir that
replaces the handwritten one (which will be removed later
on)
Fixes: QTBUG-86164
Change-Id: I1e45b585fa300968e5605aa5741e45ed594bfab7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/imports/compositor/compositor.pro')
-rw-r--r-- | src/imports/compositor/compositor.pro | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/imports/compositor/compositor.pro b/src/imports/compositor/compositor.pro index dcfadb552..cb3fcbcaa 100644 --- a/src/imports/compositor/compositor.pro +++ b/src/imports/compositor/compositor.pro @@ -7,5 +7,14 @@ QML_IMPORT_VERSION = $$QT_VERSION SOURCES += \ qwaylandquickcompositorplugin.cpp +QML_FILES += \ + $$PWD/WaylandOutputWindow.qml \ + $$PWD/WaylandCursorItem.qml + +OTHER_FILES += \ + qmldir \ + $$QML_FILES + QT += quick-private qml-private gui-private core-private waylandcompositor waylandcompositor-private +CONFIG += install_qml_files load(qml_plugin) |