diff options
author | Craig Scott <craig.scott@qt.io> | 2021-08-04 23:44:06 +1000 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-08-18 11:31:54 +1000 |
commit | 4ed6bed11c2f308b39bcf52435de446c90f80f8e (patch) | |
tree | 42739b7bd9bb16971e2f1a0cb3707fdb726a4f88 /tests/auto/qml/qmlbasicapp | |
parent | 35640c1c1278a7f73c4ddb32ae88b3d1f291bf97 (diff) |
Improve logic for finding base dir of QML modules in build directory
When a QML module has a library as its backing target, try to walk back
up the directory tree in the build directory to find the base
directory. The QML module's target path needs to match the path to its
qmldir below that base directory. This will allow other QML modules
that use the same base directory to be found by tooling like qmllint.
We warn if the directory structure doesn't conform to this requirement.
Fixes: QTBUG-95144
Pick-to: 6.2
Change-Id: I1842ae35fc220847fb1cc36402b286e107969541
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlbasicapp')
0 files changed, 0 insertions, 0 deletions