[google] Fixed qmake builds.

This commit is contained in:
Ilya Grechuhin 2017-09-29 11:40:11 +03:00 committed by Roman Kuznetsov
parent 1096763318
commit 46deebc993
3 changed files with 4 additions and 0 deletions

View file

@ -13,6 +13,8 @@ ANDROID_PLATFORM = android-15
GCC_VERSION = 4.9
QMAKE_APPLE_DEVICE_ARCHS = $$ANDROID_TARGET_ABI
MAKEFILE_GENERATOR = UNIX
QMAKE_COMPILER = $$(NDK_ROOT)/toolchains/llvm/prebuilt/$$(NDK_HOST)/bin/clang
QMAKE_CC = $$QMAKE_COMPILER

View file

@ -20,6 +20,7 @@ QMAKE_INCREMENTAL_STYLE = sublib
QMAKE_COMPILER = clang
QMAKE_CC = clang -arch $$BUILD_ARCH
QMAKE_CXX = clang++ -arch $$BUILD_ARCH
QMAKE_APPLE_DEVICE_ARCHS = $$BUILD_ARCH
QMAKE_RESOURCE =

View file

@ -20,6 +20,7 @@ QMAKE_INCREMENTAL_STYLE = sublib
QMAKE_COMPILER = clang
QMAKE_CC = clang -arch $$BUILD_ARCH
QMAKE_CXX = clang++ -arch $$BUILD_ARCH
QMAKE_APPLE_SIMULATOR_ARCHS = $$BUILD_ARCH
QMAKE_OBJECTIVE_CC = $$QMAKE_CC -fobjc-abi-version=2 -fobjc-legacy-dispatch
QMAKE_RESOURCE =