mirror of https://github.com/qt/qtbase.git
CMake:Android: add ANDROID_PLATFORM to Core.json
Add ANDROID_PLATFORM to Core.json so that Qt Creator can pick it up. Task-number: QTCREATORBUG-32932 Pick-to: 6.8 Change-Id: I4a84ba74f43d68e2aef6c31f93c8c94a46bd406a Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit8d07e721ee
) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit168524ed5a
)
This commit is contained in:
parent
fb32238df8
commit
17868a8e76
|
@ -1445,8 +1445,9 @@ function(qt_describe_module target)
|
|||
endif()
|
||||
if(ANDROID)
|
||||
string(APPEND targets_information
|
||||
"${indent5}\"api_version\": \"${QT_ANDROID_API_USED_FOR_JAVA}\",
|
||||
${indent5}\"ndk_version\": \"${ANDROID_NDK_REVISION}\",\n")
|
||||
"${indent5}\"api_version\": \"${QT_ANDROID_API_USED_FOR_JAVA}\",\n"
|
||||
"${indent5}\"ndk_version\": \"${ANDROID_NDK_REVISION}\",\n"
|
||||
"${indent5}\"android_platform\": \"${ANDROID_PLATFORM}\",\n")
|
||||
endif()
|
||||
string(APPEND targets_information "${indent5}\"architecture\": \"${architecture}\",\n")
|
||||
string(APPEND targets_information "${indent5}\"abi\": \"${TEST_arch_${architecture}_abi}\"\n")
|
||||
|
|
Loading…
Reference in New Issue