mirror of
https://github.com/QuasarApp/qt-android-cmake.git
synced 2025-05-02 16:29:36 +00:00
fix path to input files for the qt6
This commit is contained in:
parent
cdff1dea7e
commit
394edfcdc7
@ -32,8 +32,11 @@ if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||
endif()
|
||||
|
||||
set(ANDROID_DEPLOY_TOOL_ROOT_PATH "${QT_HOST_PATH}")
|
||||
set(ANDROID_INPUT_JSON ${CMAKE_CURRENT_BINARY_DIR}/android-${SOURCE_TARGET}-deployment-settings.json)
|
||||
else()
|
||||
set(ANDROID_DEPLOY_TOOL_ROOT_PATH "${QT_ANDROID_QT_ROOT}")
|
||||
set(ANDROID_INPUT_JSON ${CMAKE_CURRENT_BINARY_DIR}/qtdeploy.json)
|
||||
|
||||
endif()
|
||||
|
||||
# find the Android SDK
|
||||
@ -310,12 +313,12 @@ macro(add_qt_android_apk TARGET SOURCE_TARGET)
|
||||
--verbose
|
||||
--aab
|
||||
--output ${QT_ANDROID_APP_BINARY_DIR}
|
||||
--input ${CMAKE_CURRENT_BINARY_DIR}/qtdeploy.json
|
||||
--input ${ANDROID_INPUT_JSON}
|
||||
--gradle
|
||||
${QT_ANDROID_BUILD_TYPE}
|
||||
${TARGET_LEVEL_OPTIONS}
|
||||
${INSTALL_OPTIONS}
|
||||
${SIGN_OPTIONS}
|
||||
# ${SIGN_OPTIONS}
|
||||
)
|
||||
|
||||
endmacro()
|
||||
|
Loading…
x
Reference in New Issue
Block a user