summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-14 07:27:10 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-14 08:33:21 (GMT)
commit503c48853eefe547631c425e9acad810b76e61fe (patch)
tree5392090596f9f1075e576854d3a8fa065a367ef6 /src/gui/itemviews
parentf23fa541a04abd1ddc36815a285ec824d5b5c5e0 (diff)
downloadQt-503c48853eefe547631c425e9acad810b76e61fe.zip
Qt-503c48853eefe547631c425e9acad810b76e61fe.tar.gz
Qt-503c48853eefe547631c425e9acad810b76e61fe.tar.bz2
Build fix for mingw
we should include qt_windows.h and not windows.h because we have to define WINVER to 0x500.
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qfileiconprovider.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/itemviews/qfileiconprovider.cpp b/src/gui/itemviews/qfileiconprovider.cpp
index 506b988..1856f4d 100644
--- a/src/gui/itemviews/qfileiconprovider.cpp
+++ b/src/gui/itemviews/qfileiconprovider.cpp
@@ -47,6 +47,8 @@
#include <qdir.h>
#if defined(Q_WS_WIN)
#define _WIN32_IE 0x0500
+#include <qt_windows.h>
+#include <commctrl.h>
#include <objbase.h>
#include <private/qpixmapdata_p.h>
#include <qpixmapcache.h>
@@ -54,9 +56,6 @@
#include <private/qt_mac_p.h>
#endif
#include <private/qfunctions_p.h>
-#ifdef Q_OS_WINCE
-#include <Commctrl.h>
-#endif
#ifndef SHGFI_ADDOVERLAYS
#define SHGFI_ADDOVERLAYS 0x000000020