aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/testlib/qmldir
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-03-16 13:02:51 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-03-16 14:04:13 +0100
commit262a173ce6d8b513680d9f843b784a65684d6458 (patch)
tree8de700289db5ec3bfabe1818e30402690fefebbf /src/imports/testlib/qmldir
parentd3a35b062ee8587d5c8caf3c5a3d4d54dd2a651f (diff)
CMake: Fix QtQuick test import failure in tests
testlogger.js was added to the generated qmldir file with a 6.0 version, and that failed qmltests that tried to import QtQuick with the following error invalid version 6.0.0, expected <major>.<minor> import QtTest 1.1 ^ Until pro2cmake is fixed not to look at QML_FILES in .qmake .pro files when generating the contents of the qmldir file, add the js file to the static qmldir file and regenerate the project. Change-Id: I71d2dc34441f53f05c4eb3a108819913e809eb50 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/imports/testlib/qmldir')
-rw-r--r--src/imports/testlib/qmldir1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/testlib/qmldir b/src/imports/testlib/qmldir
index 9c1e8dd61f..446d84d443 100644
--- a/src/imports/testlib/qmldir
+++ b/src/imports/testlib/qmldir
@@ -4,4 +4,5 @@ classname QTestQmlModule
typeinfo plugins.qmltypes
TestCase 1.0 TestCase.qml
SignalSpy 1.0 SignalSpy.qml
+testlogger 1.0 testlogger.js
depends QtQuick.Window 2.0