diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2009-10-06 12:40:49 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2009-10-06 12:42:11 +0200 |
commit | a6ed1f886d323d68001e3e1b50efe064073691ea (patch) | |
tree | f7090ca0bbb05f13362bd3ddb1d04a28fa977353 /demos/browser | |
parent | 9956ef7fd66f5a0a2ebf9b810e5f6ffe3649cf20 (diff) | |
download | qt4-tools-a6ed1f886d323d68001e3e1b50efe064073691ea.tar.gz |
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/browser')
-rw-r--r-- | demos/browser/browser.pro | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/demos/browser/browser.pro b/demos/browser/browser.pro index f421c6a833..6c5f0057fc 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*: { |