summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-10-06 10:40:49 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2009-10-06 10:42:11 (GMT)
commita6ed1f886d323d68001e3e1b50efe064073691ea (patch)
treef7090ca0bbb05f13362bd3ddb1d04a28fa977353 /demos
parent9956ef7fd66f5a0a2ebf9b810e5f6ffe3649cf20 (diff)
downloadQt-a6ed1f886d323d68001e3e1b50efe064073691ea.zip
Qt-a6ed1f886d323d68001e3e1b50efe064073691ea.tar.gz
Qt-a6ed1f886d323d68001e3e1b50efe064073691ea.tar.bz2
Only build demo-browser 32-bit if Qt was actually built 32-bit
Also, add same trick for PPC Reviewed-by: MortenS
Diffstat (limited to 'demos')
-rw-r--r--demos/browser/browser.pro10
1 files changed, 8 insertions, 2 deletions
diff --git a/demos/browser/browser.pro b/demos/browser/browser.pro
index f421c6a..6c5f005 100644
--- a/demos/browser/browser.pro
+++ b/demos/browser/browser.pro
@@ -82,8 +82,14 @@ mac {
TARGET = Browser
# No 64-bit Flash on Mac, so build the browser 32-bit
- CONFIG -= x86_64
- CONFIG += x86
+ contains(QT_CONFIG, x86) {
+ CONFIG -= x86_64
+ CONFIG += x86
+ }
+ contains(QT_CONFIG, ppc) {
+ CONFIG -= ppc64
+ CONFIG += ppc
+ }
}
wince*: {