Fixed incorrect string passed to the --android-platform option of androiddeployqt

This commit is contained in:
Laurent Gomila 2017-05-19 14:10:04 +02:00
parent e9e51090bf
commit bc908fcdb5

View File

@ -180,7 +180,7 @@ macro(add_qt_android_apk TARGET SOURCE_TARGET)
# specify the Android API level
if(ANDROID_NATIVE_API_LEVEL)
set(TARGET_LEVEL_OPTIONS --android-platform ${ANDROID_NATIVE_API_LEVEL})
set(TARGET_LEVEL_OPTIONS --android-platform android-${ANDROID_NATIVE_API_LEVEL})
endif()
# create a custom command that will run the androiddeployqt utility to prepare the Android package