summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/styles.pri
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-01-26 18:31:01 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2010-01-26 18:31:01 (GMT)
commit9eea7172d4d4984a111f009a60f5eaa0568fcf89 (patch)
tree5e237ac1c8c76b6fbb63e20c0ac58e873444cbfb /src/gui/styles/styles.pri
parentc7636e37e62b8df54cad331989be3173ba4ca27d (diff)
downloadQt-9eea7172d4d4984a111f009a60f5eaa0568fcf89.zip
Qt-9eea7172d4d4984a111f009a60f5eaa0568fcf89.tar.gz
Qt-9eea7172d4d4984a111f009a60f5eaa0568fcf89.tar.bz2
Remove unneeded resources from QtGui
QtGui contains loads of resources. 337,160 bytes just for qstyle. And since this is nearly exclusively full of PNG files, it won't really be compressed in the qt.sis package. And it will eat unneccessary Ram. This patch removes about 260,000 bytes of resources. We only want the 32-pixel big icons. No 16- and 129- pixel versions. Task-number: QTBUG-7277 Reviewed-by: Sami Merila modified: src/gui/kernel/qapplication.cpp new file: src/gui/styles/qstyle_s60.qrc modified: src/gui/styles/styles.pri
Diffstat (limited to 'src/gui/styles/styles.pri')
-rw-r--r--src/gui/styles/styles.pri8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/styles/styles.pri b/src/gui/styles/styles.pri
index f30f5af..676f59e 100644
--- a/src/gui/styles/styles.pri
+++ b/src/gui/styles/styles.pri
@@ -23,10 +23,12 @@ SOURCES += \
styles/qstylesheetstyle.cpp \
styles/qstylesheetstyle_default.cpp
-!wince* {
- RESOURCES += styles/qstyle.qrc
+wince* {
+ RESOURCES += styles/qstyle_wince.qrc
+} else:symbian {
+ RESOURCES += styles/qstyle_s60.qrc
} else {
- RESOURCES += styles/qstyle_wince.qrc
+ RESOURCES += styles/qstyle.qrc
}
contains( styles, all ) {