summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-02-20 21:01:15 (GMT)
committeraavit <qt-info@nokia.com>2010-02-20 21:01:15 (GMT)
commit4e8e1dcc9d4c003f160268d095fc1b20e6995da2 (patch)
treefb1b74b6199e4c33f54e32b5235371a70b281789 /src/plugins/imageformats
parent06f96dbdcaeeb82d57b8d1f23cbbd498ddfc88c2 (diff)
downloadQt-4e8e1dcc9d4c003f160268d095fc1b20e6995da2.zip
Qt-4e8e1dcc9d4c003f160268d095fc1b20e6995da2.tar.gz
Qt-4e8e1dcc9d4c003f160268d095fc1b20e6995da2.tar.bz2
Compile fix for symbian
Reviewed-by: trust me
Diffstat (limited to 'src/plugins/imageformats')
-rw-r--r--src/plugins/imageformats/jpeg/jpeg.pro7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/imageformats/jpeg/jpeg.pro b/src/plugins/imageformats/jpeg/jpeg.pro
index fac5e23..5b45422 100644
--- a/src/plugins/imageformats/jpeg/jpeg.pro
+++ b/src/plugins/imageformats/jpeg/jpeg.pro
@@ -13,14 +13,11 @@ wince*: {
contains(CE_ARCH,x86):CONFIG += exceptions_off
}
+#Disable warnings in 3rdparty code due to unused arguments
symbian: {
- #Disable warnings in 3rdparty code due to unused arguments
QMAKE_CXXFLAGS.CW += -W nounusedarg
TARGET.UID3=0x2001E61B
-}
-
-contains(QMAKE_CC, gcc): {
- #Disable warnings in 3rdparty code due to unused arguments
+} else:contains(QMAKE_CC, gcc): {
QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter -Wno-main
}