projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80749d9
)
Improve Windows XP and Vista styles auto detection
author
Rafael Roquetto
<rafael.roquetto.qnx@kdab.com>
Wed, 18 Jul 2012 13:25:13 +0000
(15:25 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 19 Jul 2012 00:31:24 +0000
(
02:31
+0200)
Do not build windows styles when the target platform is not Windows. This
makes a difference when cross-compiling.
Change-Id: I2184d39ed253af1069c5cdcd6a848611cff24789
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tools/configure/configureapp.cpp
patch
|
blob
|
history
diff --git
a/tools/configure/configureapp.cpp
b/tools/configure/configureapp.cpp
index
d1f5609
..
06ddefa
100644
(file)
--- a/
tools/configure/configureapp.cpp
+++ b/
tools/configure/configureapp.cpp
@@
-1980,7
+1980,7
@@
bool Configure::checkAvailability(const QString &part)
{
bool available = false;
if (part == "STYLE_WINDOWSXP")
- available = findFile("uxtheme.h");
+ available =
(platform() == WINDOWS) &&
findFile("uxtheme.h");
else if (part == "ZLIB")
available = findFile("zlib.h");