aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-11-04 15:19:03 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2020-11-10 18:14:48 +0100
commita4d956048b4679bf5b448340d1f3428793699990 (patch)
treefd382c2b6cadb813ac1939bf8a6149beecb60b2e /tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
parentd01ec7ebe3853faabc8843d169d288b4998bb209 (diff)
qmltyperegistrar: Add past-major-version option
Adds the option to specify past major versions of modules to be registered. This is necessary for modules that don't export any types themselves to work when built statically. Change-Id: I4b4a379f92707ec64cbb32f91db9d010440b95a2 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro')
-rw-r--r--tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
index fe21b122c2..4b6303ec33 100644
--- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
+++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
@@ -15,6 +15,7 @@ QMLTYPES_FILENAME = tst_qmltyperegistrar.qmltypes
QML_FOREIGN_METATYPES += foreign/foreign_metatypes.json
QML_IMPORT_NAME = QmlTypeRegistrarTest
QML_IMPORT_VERSION = 1.0
+QML_PAST_MAJOR_VERSIONS = 0
INCLUDEPATH += foreign
LIBS += -Lforeign -lforeign