diff options
author | axis <qt-info@nokia.com> | 2010-06-04 09:32:40 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-06-04 10:06:43 (GMT) |
commit | cb59e56bc9f34c50dc4a2d01d2ea506c5d735225 (patch) | |
tree | 529eb4b8035490d1456320fd2489112a8d2c0b5b /mkspecs | |
parent | bc11da163dc53860cf728b76dbb472bb2c9dadbf (diff) | |
download | Qt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.zip Qt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.tar.gz Qt-cb59e56bc9f34c50dc4a2d01d2ea506c5d735225.tar.bz2 |
Fixed def file usage for Qt plugins under the makefile build system.
Previously it would not use the autogenerated def files.
RevBy: Thomas Zander
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/symbian/def_files.prf | 2 | ||||
-rw-r--r-- | mkspecs/features/symbian/symbian_building.prf | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/symbian/def_files.prf b/mkspecs/features/symbian/def_files.prf index eb17402..6a95763 100644 --- a/mkspecs/features/symbian/def_files.prf +++ b/mkspecs/features/symbian/def_files.prf @@ -41,7 +41,7 @@ symbian-abld|symbian-sbsv2 { } } -} else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) { +} else:contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib):!contains(CONFIG, plugin) { !isEmpty(DEF_FILE) { defFile = $$DEF_FILE } else { diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index c230272..92988aa 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -96,6 +96,9 @@ contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) { QMAKE_POST_LINK = $$replace(QMAKE_POST_LINK, "^@", "") QMAKE_POST_LINK = && $$QMAKE_POST_LINK } + + contains(CONFIG, plugin):QMAKE_ELF2E32_FLAGS += --definput=plugin_commonu.def + # The tee and grep at the end work around the issue that elf2e32 doesn't return non-null on error. # The comparison of dso files is to avoid extra building of modules that depend on this dso, in # case it has not changed. |