Make android non-prefix shadow build usable
Until now android developer build was not usable due to missing files. These files are only available after a make install. This patch aims to add that copy phase when building. Task-number: QTBUG-36901 Change-Id: If0a7e982899b8c18495c7cb6508184fa153b239d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
0541f65efa
commit
0300f56133
@ -9,3 +9,17 @@ javaresources.files = \
|
||||
javaresources.path = $$[QT_INSTALL_PREFIX]/src/android/java
|
||||
|
||||
INSTALLS += javaresources
|
||||
|
||||
!prefix_build:!equals(OUT_PWD, $$PWD) {
|
||||
RETURN = $$escape_expand(\\n\\t)
|
||||
equals(QMAKE_HOST.os, Windows) {
|
||||
RETURN = $$escape_expand(\\r\\n\\t)
|
||||
}
|
||||
OUT_PATH = $$shell_path($$OUT_PWD)
|
||||
|
||||
QMAKE_POST_LINK += \
|
||||
$${QMAKE_COPY} $$shell_path($$PWD/AndroidManifest.xml) $$OUT_PATH $$RETURN \
|
||||
$${QMAKE_COPY} $$shell_path($$PWD/version.xml) $$OUT_PATH $$RETURN \
|
||||
$${QMAKE_COPY_DIR} $$shell_path($$PWD/res) $$OUT_PATH $$RETURN \
|
||||
$${QMAKE_COPY_DIR} $$shell_path($$PWD/src) $$OUT_PATH
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user