diff options
author | Iain <qt-info@nokia.com> | 2010-02-04 10:29:34 (GMT) |
---|---|---|
committer | Iain <qt-info@nokia.com> | 2010-02-04 10:41:59 (GMT) |
commit | 3569038ffec0c133ff29f80d506f334cc0f2ddb3 (patch) | |
tree | d53ed10b73c27dc495bcb51491b7b30d25d068bc /tools | |
parent | bd202b822401989aa1abe3e2ad24344d71d6dfb3 (diff) | |
download | Qt-3569038ffec0c133ff29f80d506f334cc0f2ddb3.zip Qt-3569038ffec0c133ff29f80d506f334cc0f2ddb3.tar.gz Qt-3569038ffec0c133ff29f80d506f334cc0f2ddb3.tar.bz2 |
Further bug fixes for enable/disables DEF files mechanism on Symbian
Fix bug where all target types, including apps, plugins and static
libraries were getting DEFFILE statements - now it's just libraries that
get it.
Fix bug where duplicate DEFFILE blocks were being added to projects that
manually specified their own DEFFILE - this now tests for the qmake
variable "defBlock" being set, and doesn't add additional DEFFILE
statements if it is.
NOTE: This means that adding DEFFILE statements to MMP_RULES
manually should be done by creating a variable called defBlock, and
adding that to the MMP_RULES (ie. MMP_RULES += defBlock)
Fix bug in configure.exe, where using -nokia-developer for Windows builds
would warn about Symbian DEF file usage (or lack thereof)
Reviewed-by: Janne Koskinen
Reviewed-by: Jason Barron
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 8d1b640..83b4d9c 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -482,7 +482,9 @@ void Configure::parseCmdLine() dictionary[ "BUILDNOKIA" ] = "yes"; dictionary[ "BUILDDEV" ] = "yes"; dictionary["LICENSE_CONFIRMED"] = "yes"; - dictionary[ "SYMBIAN_DEFFILES" ] = "no"; + if (dictionary.contains("XQMAKESPEC") && dictionary["XQMAKESPEC"].startsWith("symbian")) { + dictionary[ "SYMBIAN_DEFFILES" ] = "no"; + } } else if( configCmdLine.at(i) == "-opensource" ) { dictionary[ "BUILDTYPE" ] = "opensource"; |