CMake: don't add empty QT_ANDROID_APPLICATION_ARGUMENTS to Json
Pick-to: 6.0 Change-Id: I471da3f733046aeaa8381bbdeeba3ee2775b97eb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
20e341d495
commit
8499718351
@ -177,8 +177,10 @@ endif()
|
|||||||
" \"application-binary\": \"${target_output_name}\",\n")
|
" \"application-binary\": \"${target_output_name}\",\n")
|
||||||
|
|
||||||
# App command-line arguments
|
# App command-line arguments
|
||||||
string(APPEND file_contents
|
if (QT_ANDROID_APPLICATION_ARGUMENTS)
|
||||||
" \"android-application-arguments\": \"${QT_ANDROID_APPLICATION_ARGUMENTS}\",\n")
|
string(APPEND file_contents
|
||||||
|
" \"android-application-arguments\": \"${QT_ANDROID_APPLICATION_ARGUMENTS}\",\n")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Override qmlimportscanner binary path
|
# Override qmlimportscanner binary path
|
||||||
set(qml_importscanner_binary_path "${QT_HOST_PATH}/bin/qmlimportscanner")
|
set(qml_importscanner_binary_path "${QT_HOST_PATH}/bin/qmlimportscanner")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user