qmake: Fix tool paths generated for androiddeployqt json file
They should contain the executable suffix .exe when androiddeployqt is run on Windows, because androiddeployqt does not add the suffix itself when the tool paths read from the json file. Amends4fc14b1933
Amends176136ce60
Pick-to: 6.4 Fixes: QTBUG-105133 Fixes: QTCREATORBUG-27868 Change-Id: I8c5bac2fa6c82d122f8a70c5ff2a561298327a34 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
cf3535fdf2
commit
64b84977eb
@ -62,8 +62,10 @@ contains(TEMPLATE, ".*app"):!build_pass {
|
|||||||
!isEmpty(ANDROID_EXTRA_LIBS): \
|
!isEmpty(ANDROID_EXTRA_LIBS): \
|
||||||
FILE_CONTENT += " \"android-extra-libs\": $$emitString($$join(ANDROID_EXTRA_LIBS, ",")),"
|
FILE_CONTENT += " \"android-extra-libs\": $$emitString($$join(ANDROID_EXTRA_LIBS, ",")),"
|
||||||
|
|
||||||
FILE_CONTENT += " \"qml-importscanner-binary\": $$emitString($$[QT_HOST_LIBEXECS]/qmlimportscanner),"
|
tool_extension = ""
|
||||||
FILE_CONTENT += " \"rcc-binary\": $$emitString($$[QT_HOST_LIBEXECS]/rcc),"
|
contains(QMAKE_HOST.os, Windows): tool_extension = ".exe"
|
||||||
|
FILE_CONTENT += " \"qml-importscanner-binary\": $$emitString($$[QT_HOST_LIBEXECS]/qmlimportscanner$${tool_extension}),"
|
||||||
|
FILE_CONTENT += " \"rcc-binary\": $$emitString($$[QT_HOST_LIBEXECS]/rcc$${tool_extension}),"
|
||||||
|
|
||||||
qml_import_paths = $$(QML2_IMPORT_PATH)
|
qml_import_paths = $$(QML2_IMPORT_PATH)
|
||||||
qml_import_paths = $$split(qml_import_paths, $$DIRLIST_SEPARATOR)
|
qml_import_paths = $$split(qml_import_paths, $$DIRLIST_SEPARATOR)
|
||||||
|
Loading…
Reference in New Issue
Block a user