diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-04-08 14:23:14 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-04-08 14:24:19 (GMT) |
commit | 9d04b6f458a69108aa46f8c06be6f1ca9a10aaa9 (patch) | |
tree | c42a67dacd8133e60ea394483c617efe2001c033 /mkspecs/features/symbian | |
parent | 2d8d85c78ff683f0c687a3f112507fb61d10a9a0 (diff) | |
download | Qt-9d04b6f458a69108aa46f8c06be6f1ca9a10aaa9.zip Qt-9d04b6f458a69108aa46f8c06be6f1ca9a10aaa9.tar.gz Qt-9d04b6f458a69108aa46f8c06be6f1ca9a10aaa9.tar.bz2 |
Make compiling / linking a non-qt app work too on symbian/gcce
Diffstat (limited to 'mkspecs/features/symbian')
-rw-r--r-- | mkspecs/features/symbian/symbian_building.prf | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index de254b9..a097771 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -160,20 +160,28 @@ contains(TEMPLATE, app):!contains(QMAKE_LINK, "^@.*") { linux-armcc: { QMAKE_LIBS += -leexe.lib\\(uc_exe_.o\\) + contains(CONFIG, "qt"):contains(QT, "core") { #if linking with QtCore + QMAKE_LIBS += -lqtmain$${QT_LIBINFIX}.lib + } else { + QMAKE_LIBS += -llibcrt0.lib + } } else :linux-gcce { + # notice that we can't merge these as ordering of arguments is important. QMAKE_LIBS += \ -l:eexe.lib \ - -l:usrt2_2.lib \ - -l:qtmain.lib \ + -l:usrt2_2.lib + contains(CONFIG, "qt"):contains(QT, "core") { #if linking with QtCore + QMAKE_LIBS += -l:qtmain$${QT_LIBINFIX}.lib + } else { + QMAKE_LIBS += -l:libcrt0_gcce.lib + } + QMAKE_LIBS += \ -l:dfpaeabi.dso \ -l:drtaeabi.dso \ -l:scppnwdl.dso \ -lsupc++ \ -lgcc QMAKE_LFLAGS += --shared - isEmpty(QT) { # we need QtCore for this. - QMAKE_LIBS -= -l:qtmain.lib - } } QMAKE_LFLAGS += --soname $${TARGET}\\{$${hexVersion}\\}\\[$${intUid3}\\].exe |