summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian/default_post.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/symbian/default_post.prf')
-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