diff options
author | Raphaël Cotty <raphael.cotty@gmail.com> | 2020-09-06 15:18:51 +0200 |
---|---|---|
committer | Raphaël Cotty <raphael.cotty@gmail.com> | 2020-10-21 07:38:14 +0000 |
commit | eb7adb8d9787dddef89e46f7bf6e594d0b5faf4b (patch) | |
tree | ba721a09ccd9a536228fb80cb602f9d566bb77e8 /tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs | |
parent | ccb384ae52107b0322d7eae1fb75ff8df1e28f26 (diff) |
Android: Allow exporting of Qt modules by using importingProduct
The product variable in the Export item refers to the exporting item.
If a qbs property is changed (example: qbs.architecture for the multiplexing
in Android) then the Depend failed because the qbs module was not loaded yet for
the exporting item.
Fixes: QBS-1576
Change-Id: I220c47b3094727fe169d3dccd244ab2785a782b7
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs b/tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs new file mode 100644 index 000000000..ceeda2dc3 --- /dev/null +++ b/tests/auto/blackbox/testdata-android/qt-app/qt-app.qbs @@ -0,0 +1,18 @@ +Project { + QtGuiApplication { + Depends { name: "Lib" } + files: "main.cpp" + Android.sdk.packageName: "my.qtapp" + Android.sdk.apkBaseName: name + Depends { name: "Qt"; submodules: ["core", "widgets"] } + } + + StaticLibrary { + name: "Lib" + Export { + Depends { + name: "Qt.android_support"; + } + } + } +} |