Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
6.6
-
None
-
-
d9d482801 (dev), 38cd31b03 (6.7), ecd3b5725 (6.6)
-
DaVinci 93
Description
Complete the documentation with an example when targeting pre_compiled libs:
https://doc.qt.io/qt-6/cmake-target-property-qt-android-extra-libs.html
set(libs ${CMAKE_CURRENT_BINARY_DIR}/libA_x86.so ${CMAKE_CURRENT_BINARY_DIR}/libA_x86_64.so ${CMAKE_CURRENT_BINARY_DIR}/libA_arm64-v8a.so ${CMAKE_CURRENT_BINARY_DIR}/libA_armeabi-v7a.so ) set_target_properties(MyApp PROPERTIES QT_ANDROID_EXTRA_LIBS ${libs}) #when targeting precompiled libs target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC libA_${ANDROID_ABI})
Attachments
For Gerrit Dashboard: QTBUG-120263 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
529364,2 | Doc: Add code example to describe targeting precompiled libs | dev | qt/qtbase | Status: MERGED | +2 | 0 |
529485,2 | Doc: Add code example to describe targeting precompiled libs | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
530592,2 | Doc: Add code example to describe targeting precompiled libs | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |