aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-07-30 16:59:07 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-07-31 13:05:28 +0000
commit5b0db35531756e2bc060573fc119d703e0fa14e9 (patch)
tree8ebc25f1e0498a7aaa67b84714e226d19cbd3b8f /src/imports
parent059d79226421b80b5dfe5d994e37976a0e606ec9 (diff)
Update add_qml_module() call to match new requirements
Add INSTALL_QML_FILES as the default option for all qml_plugins. Change-Id: I567aeff7b4b2b40765c83ac08ab7af3917a25981 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/folderlistmodel/CMakeLists.txt1
-rw-r--r--src/imports/labsanimation/CMakeLists.txt1
-rw-r--r--src/imports/labsmodels/CMakeLists.txt1
-rw-r--r--src/imports/layouts/CMakeLists.txt1
-rw-r--r--src/imports/localstorage/CMakeLists.txt1
-rw-r--r--src/imports/models/CMakeLists.txt1
-rw-r--r--src/imports/particles/CMakeLists.txt1
-rw-r--r--src/imports/qtqml/.prev_CMakeLists.txt1
-rw-r--r--src/imports/qtqml/CMakeLists.txt1
-rw-r--r--src/imports/qtquick2/CMakeLists.txt1
-rw-r--r--src/imports/settings/CMakeLists.txt1
-rw-r--r--src/imports/shapes/CMakeLists.txt1
-rw-r--r--src/imports/sharedimage/CMakeLists.txt1
-rw-r--r--src/imports/statemachine/CMakeLists.txt1
-rw-r--r--src/imports/testlib/CMakeLists.txt1
-rw-r--r--src/imports/wavefrontmesh/CMakeLists.txt1
-rw-r--r--src/imports/window/CMakeLists.txt1
-rw-r--r--src/imports/workerscript/CMakeLists.txt1
18 files changed, 18 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/CMakeLists.txt b/src/imports/folderlistmodel/CMakeLists.txt
index 77f4702826..1b88eb3311 100644
--- a/src/imports/folderlistmodel/CMakeLists.txt
+++ b/src/imports/folderlistmodel/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlfolderlistmodelplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/folderlistmodel"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/labsanimation/CMakeLists.txt b/src/imports/labsanimation/CMakeLists.txt
index 9521c93f0a..ff28718871 100644
--- a/src/imports/labsanimation/CMakeLists.txt
+++ b/src/imports/labsanimation/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(labsanimationplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/animation"
IMPORT_VERSION "1.0"
SOURCES
diff --git a/src/imports/labsmodels/CMakeLists.txt b/src/imports/labsmodels/CMakeLists.txt
index e0878cf405..b6e2de1dbb 100644
--- a/src/imports/labsmodels/CMakeLists.txt
+++ b/src/imports/labsmodels/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(labsmodelsplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/qmlmodels"
IMPORT_VERSION "1.0"
SOURCES
diff --git a/src/imports/layouts/CMakeLists.txt b/src/imports/layouts/CMakeLists.txt
index 06b5ac8652..02e4028b1c 100644
--- a/src/imports/layouts/CMakeLists.txt
+++ b/src/imports/layouts/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qquicklayoutsplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick/Layouts"
IMPORT_VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/localstorage/CMakeLists.txt b/src/imports/localstorage/CMakeLists.txt
index 2f3a99dd95..7ed0e84ff6 100644
--- a/src/imports/localstorage/CMakeLists.txt
+++ b/src/imports/localstorage/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmllocalstorageplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick/LocalStorage"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/models/CMakeLists.txt b/src/imports/models/CMakeLists.txt
index 4b9b528454..cd29d674cf 100644
--- a/src/imports/models/CMakeLists.txt
+++ b/src/imports/models/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(modelsplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQml/Models.2"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/particles/CMakeLists.txt b/src/imports/particles/CMakeLists.txt
index 33b47df1ec..af5979fbf7 100644
--- a/src/imports/particles/CMakeLists.txt
+++ b/src/imports/particles/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(particlesplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick/Particles.2"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/qtqml/.prev_CMakeLists.txt b/src/imports/qtqml/.prev_CMakeLists.txt
index 2836b3951a..d760e4b391 100644
--- a/src/imports/qtqml/.prev_CMakeLists.txt
+++ b/src/imports/qtqml/.prev_CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQml"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/qtqml/CMakeLists.txt b/src/imports/qtqml/CMakeLists.txt
index 01ce8058ca..9f638c27b8 100644
--- a/src/imports/qtqml/CMakeLists.txt
+++ b/src/imports/qtqml/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQml"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/qtquick2/CMakeLists.txt b/src/imports/qtquick2/CMakeLists.txt
index c898ec57be..0f5532bebd 100644
--- a/src/imports/qtquick2/CMakeLists.txt
+++ b/src/imports/qtquick2/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qtquick2plugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick.2"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/settings/CMakeLists.txt b/src/imports/settings/CMakeLists.txt
index a6f2b61153..caadd24f4c 100644
--- a/src/imports/settings/CMakeLists.txt
+++ b/src/imports/settings/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlsettingsplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/settings"
IMPORT_VERSION "1.1"
SOURCES
diff --git a/src/imports/shapes/CMakeLists.txt b/src/imports/shapes/CMakeLists.txt
index 465183e0b3..a2dac7fcd0 100644
--- a/src/imports/shapes/CMakeLists.txt
+++ b/src/imports/shapes/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlshapesplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick/Shapes"
IMPORT_VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/sharedimage/CMakeLists.txt b/src/imports/sharedimage/CMakeLists.txt
index 8dbc1c4eea..3ea0cd8edd 100644
--- a/src/imports/sharedimage/CMakeLists.txt
+++ b/src/imports/sharedimage/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(sharedimageplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/sharedimage"
IMPORT_VERSION "1.0"
SOURCES
diff --git a/src/imports/statemachine/CMakeLists.txt b/src/imports/statemachine/CMakeLists.txt
index 7b4b127e10..f862e4cdb8 100644
--- a/src/imports/statemachine/CMakeLists.txt
+++ b/src/imports/statemachine/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qtqmlstatemachine
+ INSTALL_QML_FILES
TARGET_PATH "QtQml/StateMachine"
IMPORT_VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/testlib/CMakeLists.txt b/src/imports/testlib/CMakeLists.txt
index 2b104e73fc..8c1ec5b350 100644
--- a/src/imports/testlib/CMakeLists.txt
+++ b/src/imports/testlib/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmltestplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtTest"
IMPORT_VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
QML_FILES
diff --git a/src/imports/wavefrontmesh/CMakeLists.txt b/src/imports/wavefrontmesh/CMakeLists.txt
index 24c78e7b36..06e81f6f19 100644
--- a/src/imports/wavefrontmesh/CMakeLists.txt
+++ b/src/imports/wavefrontmesh/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(qmlwavefrontmeshplugin
+ INSTALL_QML_FILES
TARGET_PATH "Qt/labs/wavefrontmesh"
IMPORT_VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/window/CMakeLists.txt b/src/imports/window/CMakeLists.txt
index f2444e09b4..877d558d39 100644
--- a/src/imports/window/CMakeLists.txt
+++ b/src/imports/window/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(windowplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQuick/Window.2"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES
diff --git a/src/imports/workerscript/CMakeLists.txt b/src/imports/workerscript/CMakeLists.txt
index 8ac37abe34..bccd618154 100644
--- a/src/imports/workerscript/CMakeLists.txt
+++ b/src/imports/workerscript/CMakeLists.txt
@@ -5,6 +5,7 @@
#####################################################################
add_qml_module(workerscriptplugin
+ INSTALL_QML_FILES
TARGET_PATH "QtQml/WorkerScript.2"
IMPORT_VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}"
SOURCES