diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2018-08-13 03:17:30 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2018-08-14 15:45:32 +0000 |
commit | e507a49be6387361ae4862ec6c6dc5aaac9d0c77 (patch) | |
tree | 10faaa30fcf150aa2a49d089051d4a17bdc30d4e /src | |
parent | 6256ce6f800e07b007154885ea218efd2acc6502 (diff) | |
download | qtivi-e507a49be6387361ae4862ec6c6dc5aaac9d0c77.tar.gz |
Enable building on iOS
Change-Id: Ieb1f7ad7d2f5ac87719a1dfe6c863280fa17db75
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ivicore/configure.pri | 2 | ||||
-rw-r--r-- | src/tools/ivigenerator/qface_internal_build.pri | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ivicore/configure.pri b/src/ivicore/configure.pri index 18d2292..dc59dbf 100644 --- a/src/ivicore/configure.pri +++ b/src/ivicore/configure.pri @@ -4,7 +4,7 @@ defineTest(qtConfTest_python3) { PYTHON3_PATH = $$(PYTHON3_PATH) # include binaries installed from homebrew - osx: PYTHON3_PATH += /usr/local/bin + if(osx|ios): PYTHON3_PATH += /usr/local/bin PYTHON3_NAMES = "python3" "python" for (python3_exe_name, PYTHON3_NAMES) { equals(QMAKE_HOST.os, Windows): python3_exe_name = $${python3_exe_name}.exe diff --git a/src/tools/ivigenerator/qface_internal_build.pri b/src/tools/ivigenerator/qface_internal_build.pri index e81b591..8606e8c 100644 --- a/src/tools/ivigenerator/qface_internal_build.pri +++ b/src/tools/ivigenerator/qface_internal_build.pri @@ -81,7 +81,7 @@ INSTALLS += virtualenv # On osx the hidden .Python file is needed in the installed virtualenv as well # this file is not installed by the directory config, so we need to install it manually -osx { +osx|ios { virtualenv-python.files = $$OUT_PWD/qtivi_qface_virtualenv/.Python virtualenv-python.path = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv # In case the file doesn't exist, touch creates it and fixes the install target |