diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 09:24:05 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 09:25:09 (GMT) |
commit | 703844cffdfacca68fe5bff9e562997eea1568ab (patch) | |
tree | 3e3d40bee51a458de2af033743a75193860fce9e /src/gui/dialogs | |
parent | dc4211f350e8d8cce19546b770c28b2a7a643042 (diff) | |
download | Qt-703844cffdfacca68fe5bff9e562997eea1568ab.zip Qt-703844cffdfacca68fe5bff9e562997eea1568ab.tar.gz Qt-703844cffdfacca68fe5bff9e562997eea1568ab.tar.bz2 |
Fix build for mingw
Unfortunately mingw doesn't know about the IFileDialog interface.
So it might have issues on Vista with a file dialog with search enabled.
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qfiledialog_win.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfiledialog_win.cpp b/src/gui/dialogs/qfiledialog_win.cpp index 5fd341a..114456d 100644 --- a/src/gui/dialogs/qfiledialog_win.cpp +++ b/src/gui/dialogs/qfiledialog_win.cpp @@ -59,7 +59,8 @@ #endif #include <shlobj.h> -#if !defined(Q_WS_WINCE) +//At some point we can hope that mingw will support that interface +#if !defined(Q_WS_WINCE) && !defined(Q_CC_MINGW) #include <shobjidl.h> #endif #include <objbase.h> |