From 4e8e1dcc9d4c003f160268d095fc1b20e6995da2 Mon Sep 17 00:00:00 2001 From: aavit Date: Sat, 20 Feb 2010 22:01:15 +0100 Subject: Compile fix for symbian Reviewed-by: trust me --- src/plugins/imageformats/jpeg/jpeg.pro | 7 ++----- 1 file 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 } -- cgit v0.12