diff options
author | axis <qt-info@nokia.com> | 2010-07-30 07:24:17 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-08-03 07:27:59 (GMT) |
commit | 737552b90fce50cd3a3eb6ab44be373d2aacf371 (patch) | |
tree | cbf908809ed1e3baf3314dc8fac0b64f00ae1323 /mkspecs/symbian | |
parent | 6e449acfb98b31fbbdd44830af61376db45fdd8c (diff) | |
download | Qt-737552b90fce50cd3a3eb6ab44be373d2aacf371.zip Qt-737552b90fce50cd3a3eb6ab44be373d2aacf371.tar.gz Qt-737552b90fce50cd3a3eb6ab44be373d2aacf371.tar.bz2 |
Fixed rvct.h header inclusion on Symbian^3.
RevBy: Trust me
Diffstat (limited to 'mkspecs/symbian')
-rw-r--r-- | mkspecs/symbian/linux-armcc/qmake.conf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mkspecs/symbian/linux-armcc/qmake.conf b/mkspecs/symbian/linux-armcc/qmake.conf index f8072e3..f058421 100644 --- a/mkspecs/symbian/linux-armcc/qmake.conf +++ b/mkspecs/symbian/linux-armcc/qmake.conf @@ -31,7 +31,7 @@ QMAKE_QtWebKit_CXXFLAGS = --arm # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000. QMAKE_QtWebKit_LFLAGS = --rw-base 0xE00000 -QMAKE_CFLAGS += --dllimport_runtime --preinclude rvct2_2.h --diag_suppress 186,611,654,1300 --thumb --fpu softvfp --cpu 5T --enum_is_int -Ono_known_library --fpmode ieee_no_fenv --no_vfe --apcs /inter +QMAKE_CFLAGS += --dllimport_runtime --diag_suppress 186,611,654,1300 --thumb --fpu softvfp --cpu 5T --enum_is_int -Ono_known_library --fpmode ieee_no_fenv --no_vfe --apcs /inter QMAKE_CXXFLAGS += $$QMAKE_CFLAGS QMAKE_LFLAGS += --symver_soname --diag_suppress 6331,6780 --bpabi --reloc --datacompressor=off --split --dll --no_scanlib QMAKE_LFLAGS_APP += --entry _E32Startup @@ -47,7 +47,16 @@ QMAKE_LIBDIR += $${EPOCROOT}epoc32/release/armv5/lib QMAKE_LIBDIR *= $$(RVCT22LIB) INCLUDEPATH = $${EPOCROOT}epoc32/include \ - $${EPOCROOT}epoc32/include/rvct2_2 \ $${EPOCROOT}epoc32/include/variant \ $${EPOCROOT}epoc32/include/stdapis \ $$INCLUDEPATH + +exists($${EPOCROOT}epoc32/include/rvct2_2) { + INCLUDEPATH += $${EPOCROOT}epoc32/include/rvct2_2 + QMAKE_CFLAGS += --preinclude rvct2_2.h + QMAKE_CXXFLAGS += --preinclude rvct2_2.h +} else { + INCLUDEPATH += $${EPOCROOT}epoc32/include/rvct + QMAKE_CFLAGS += --preinclude rvct.h + QMAKE_CXXFLAGS += --preinclude rvct.h +} |