diff options
author | Ulf Hermann <[email protected]> | 2020-06-30 15:25:51 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2020-07-08 09:46:46 +0200 |
commit | 6aa4c83bdbd9a8df05c14ac1aaad2f1d44053ec4 (patch) | |
tree | 8186599d1366b3bfbb7e65ab3d5a129e903a4c37 /tests/auto/qml/qml.pro | |
parent | e52e7ad76edc6012285db6c83eb12e8724a234ac (diff) |
qmlimportscanner: Use QmlDirParser
This gives us a reliable way to parse imports and versions. Apparently
we can also have multiple classname entries in the same qmldir file.
Reflect that in the parser.
Also, drop the version field from the output. Nobody uses it and
maintaining it while allowing partial, missing and auto versions would
be rather difficult.
Fixes: QTBUG-85304
Change-Id: Iab89a6d505a3c58174e623f02f0418899cb5fa2f
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'tests/auto/qml/qml.pro')
-rw-r--r-- | tests/auto/qml/qml.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro index bc90d6df03..714d0a6c84 100644 --- a/tests/auto/qml/qml.pro +++ b/tests/auto/qml/qml.pro @@ -90,7 +90,11 @@ SUBDIRS += $$METATYPETESTS qtConfig(process) { qtConfig(qml-debug): SUBDIRS += debugger !boot2qt { - SUBDIRS += qmlformat qmllint qmlplugindump + SUBDIRS += \ + qmlformat \ + qmlimportscanner \ + qmllint \ + qmlplugindump } } |