diff options
author | Iain <qt-info@nokia.com> | 2009-06-04 10:11:59 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2009-08-19 06:54:03 (GMT) |
commit | 3938464eb37a395acfd135e66c722eddf6d6ed1a (patch) | |
tree | dfefda2c75ee50ab3765d61673ac46ea542b6d24 /src/qbase.pri | |
parent | a1cfdc273bac90d58754c286810353ccb0be4b2e (diff) | |
download | Qt-3938464eb37a395acfd135e66c722eddf6d6ed1a.zip Qt-3938464eb37a395acfd135e66c722eddf6d6ed1a.tar.gz Qt-3938464eb37a395acfd135e66c722eddf6d6ed1a.tar.bz2 |
Ensure the correct set of symbols are exported in the DEF files (part 1)
For DLLs using Qt-style class level exports, ensure that only public
symbols are exported
For static libraries (static, staticlib configs) we don't want/need/
can't have a DEF file
Diffstat (limited to 'src/qbase.pri')
-rw-r--r-- | src/qbase.pri | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/qbase.pri b/src/qbase.pri index 137b933..b285d88 100644 --- a/src/qbase.pri +++ b/src/qbase.pri @@ -90,9 +90,18 @@ win32 { !static: DEFINES+=QT_MAKEDLL } symbian { - !static { + shared { DEFINES+=QT_MAKEDLL - TARGET.CAPABILITY = All -Tcb + TARGET.CAPABILITY = All -Tcb + + defBlock = \ + "$${LITERAL_HASH}ifdef WINSCW" \ + "DEFFILE ../s60installs/bwins/$${TARGET}.def" \ + "$${LITERAL_HASH}elif defined EABI" \ + "DEFFILE ../s60installs/eabi/$${TARGET}.def" \ + "$${LITERAL_HASH}endif" + + MMP_RULES += defBlock } load(armcc_warnings) } |