Details
Description
From Qt 5.14 qbs can generate multi-arch apk containing Qt libraries using multiplexing.
The QtApplication item is a CppApplication which has a depend on "Qt.core" AND ad "_abi" to the targetName of the product.
So directly using a CppApplication with a depend on "Qt.core" is not equivalent to using a QtApplication and fails on Android.
Properties {
condition: isForAndroiFaild && Qt.android_support._multiAbi
targetName: name + "_" + Android.ndk.abi
}
The simplest solution I see is to test if qbs is actually multiplexing in Application.qbs and update the targetName there.
The only side effect I see is when using qbs without Qt in a multi-arch environment: the generated libraries will have the _abi in their name.
The code generated by the qtc wizard is also using the CppApplication item and consequently fails on Android.
Attachments
For Gerrit Dashboard: QBS-1608 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
317876,12 | Android: Remove targetName suffix from QtApplication | 1.17 | qbs/qbs | Status: MERGED | +2 | +1 |