aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2022-06-22 10:54:54 +0200
committerUlf Hermann <[email protected]>2022-06-24 08:50:06 +0200
commit7fb0bc3a045eab7557983f4a8d11c0dbfac2069d (patch)
tree739efb741a6d474a1771cb8fbdbbc7febafe4835
parentc3a9cd623881795803f7d0c9f45b872c7f60eee1 (diff)
Add "auto" to module DEPENDENCIES
This has not effect at run time but signals to tooling that the same version of the dependent module should be assumed. Change-Id: I582f6df80822c2700d3929fe3581f9c10e1a62cf Reviewed-by: Andrei Golubev <[email protected]> Reviewed-by: Mitch Curtis <[email protected]>
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/labs/models/CMakeLists.txt2
-rw-r--r--src/labs/wavefrontmesh/CMakeLists.txt2
-rw-r--r--src/particles/CMakeLists.txt2
-rw-r--r--src/qmltest/CMakeLists.txt2
-rw-r--r--src/qmlxmllistmodel/CMakeLists.txt2
-rw-r--r--src/quicklayouts/CMakeLists.txt2
-rw-r--r--src/quickshapes/CMakeLists.txt2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 251322bd68..8cca1be2cf 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -5,7 +5,7 @@ qt_internal_add_qml_module(QmlCore
PLUGIN_TARGET qtqmlcoreplugin
CLASS_NAME QtQmlCorePlugin
DEPENDENCIES
- QtQml
+ QtQml/auto
SOURCES
qqmlsysteminformation_p.h
qqmlsysteminformation.cpp
diff --git a/src/labs/models/CMakeLists.txt b/src/labs/models/CMakeLists.txt
index 5eac6331dd..65ef268f9d 100644
--- a/src/labs/models/CMakeLists.txt
+++ b/src/labs/models/CMakeLists.txt
@@ -11,7 +11,7 @@ qt_internal_add_qml_module(LabsQmlModels
Qt::QmlModelsPrivate
Qt::QmlPrivate
DEPENDENCIES
- QtQml.Models
+ QtQml.Models/auto
GENERATE_CPP_EXPORTS
GENERATE_PRIVATE_CPP_EXPORTS
)
diff --git a/src/labs/wavefrontmesh/CMakeLists.txt b/src/labs/wavefrontmesh/CMakeLists.txt
index 5418956351..999734bf9d 100644
--- a/src/labs/wavefrontmesh/CMakeLists.txt
+++ b/src/labs/wavefrontmesh/CMakeLists.txt
@@ -4,7 +4,7 @@ qt_internal_add_qml_module(LabsWavefrontMesh
PLUGIN_TARGET qmlwavefrontmeshplugin
CLASS_NAME QmlWavefrontMeshPlugin
DEPENDENCIES
- QtQuick
+ QtQuick/auto
SOURCES
qwavefrontmesh.cpp qwavefrontmesh_p.h
qqmlwavefrontmeshglobal_p.h
diff --git a/src/particles/CMakeLists.txt b/src/particles/CMakeLists.txt
index edda4df914..6fbe2dd1c1 100644
--- a/src/particles/CMakeLists.txt
+++ b/src/particles/CMakeLists.txt
@@ -8,7 +8,7 @@ qt_internal_add_qml_module(QuickParticlesPrivate
PLUGIN_TARGET particlesplugin
CLASS_NAME QtQuick2ParticlesPlugin
DEPENDENCIES
- QtQuick
+ QtQuick/auto
INTERNAL_MODULE
SOURCES
qquickage.cpp qquickage_p.h
diff --git a/src/qmltest/CMakeLists.txt b/src/qmltest/CMakeLists.txt
index 0a3dd4abd1..1b2f09ec72 100644
--- a/src/qmltest/CMakeLists.txt
+++ b/src/qmltest/CMakeLists.txt
@@ -11,7 +11,7 @@ qt_internal_add_qml_module(QuickTest
VERSION "${PROJECT_VERSION}"
PAST_MAJOR_VERSIONS 1
DEPENDENCIES
- QtQuick.Window
+ QtQuick.Window/auto
CONFIG_MODULE_NAME qmltest
QMAKE_MODULE_CONFIG $${QT.testlib.CONFIG}
SOURCES
diff --git a/src/qmlxmllistmodel/CMakeLists.txt b/src/qmlxmllistmodel/CMakeLists.txt
index 90004bdcb0..c88672a2e8 100644
--- a/src/qmlxmllistmodel/CMakeLists.txt
+++ b/src/qmlxmllistmodel/CMakeLists.txt
@@ -4,7 +4,7 @@ qt_internal_add_qml_module(QmlXmlListModel
PLUGIN_TARGET qmlxmllistmodelplugin
CLASS_NAME QtQmlXmlListModelPlugin
DEPENDENCIES
- QtQml
+ QtQml/auto
SOURCES
qqmlxmllistmodel_p.h qqmlxmllistmodel.cpp
qtqmlxmllistmodelglobal_p.h
diff --git a/src/quicklayouts/CMakeLists.txt b/src/quicklayouts/CMakeLists.txt
index 407e143347..679d387ccf 100644
--- a/src/quicklayouts/CMakeLists.txt
+++ b/src/quicklayouts/CMakeLists.txt
@@ -5,7 +5,7 @@ qt_internal_add_qml_module(QuickLayouts
PLUGIN_TARGET qquicklayoutsplugin
CLASS_NAME QtQuickLayoutsPlugin
DEPENDENCIES
- QtQuick
+ QtQuick/auto
SOURCES
qquickgridlayoutengine.cpp qquickgridlayoutengine_p.h
qquicklayout.cpp qquicklayout_p.h
diff --git a/src/quickshapes/CMakeLists.txt b/src/quickshapes/CMakeLists.txt
index 3cf5285d57..6aa1b84e3f 100644
--- a/src/quickshapes/CMakeLists.txt
+++ b/src/quickshapes/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_qml_module(QuickShapesPrivate
NO_GENERATE_PLUGIN_SOURCE
CLASS_NAME QmlShapesPlugin
DEPENDENCIES
- QtQuick
+ QtQuick/auto
INTERNAL_MODULE
SOURCES
qquickshape.cpp qquickshape_p.h