summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-08-09 11:10:05 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-08-18 12:27:48 (GMT)
commit59f33898919391d3aa4baa6849556965ae7d08ce (patch)
tree4a6909f68e679469a328c58aa35bd133fccf5dba /mkspecs
parent274c91dd5374f21140f2fe8ed411a0d2f99ad50f (diff)
downloadQt-59f33898919391d3aa4baa6849556965ae7d08ce.zip
Qt-59f33898919391d3aa4baa6849556965ae7d08ce.tar.gz
Qt-59f33898919391d3aa4baa6849556965ae7d08ce.tar.bz2
Default graphics memory quota for Symbian applications
The graphics memory quota, which is a new feature in S60 5.4, now gets default value of 24MB. User can override the default value using RSS_RULES: RSS_RULES += "graphics_memory=<# of kB>;" Task-number: QT-4963 Reviewed-by: Sami Merila
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/default_post.prf12
1 files changed, 12 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/default_post.prf b/mkspecs/features/symbian/default_post.prf
index 470372e..c8fd33b 100644
--- a/mkspecs/features/symbian/default_post.prf
+++ b/mkspecs/features/symbian/default_post.prf
@@ -19,7 +19,19 @@ contains(TEMPLATE, ".*app") {
default_bin_deployment.path += /sys/bin
load(application_icon.prf)
+
+ # Specify default graphics memory quota for applications unless explicitly set by developer.
+ !contains(S60_VERSION, 5.0):!contains(S60_VERSION, 5.1):!contains(S60_VERSION, 5.2):!contains(S60_VERSION, 5.3) {
+ !contains(RSS_RULES, .*graphics_memory.*) {
+ contains(QT, gui) {
+ RSS_RULES += "graphics_memory=24576;"
+ } else {
+ RSS_RULES += "graphics_memory=0;"
+ }
+ }
+ }
}
+
contains(TEMPLATE, lib): {
contains(CONFIG, staticlib)|contains(CONFIG, static): {
# Static libs should not have LIBRARY statements in S60