summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/createshortcutoperation.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-01-07 13:27:38 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-01-07 14:19:30 +0100
commitb111112b372008a5370b2fd0361fbbc55df31b09 (patch)
treeea00ff93cc1ba74bd3db00406f3964cc17d40391 /src/libs/installer/createshortcutoperation.cpp
parent08701a6962aec6385daf6e00408ee877913e02c4 (diff)
Use qt_windows.h.
Fixes NOMINMAX and mingw missing _WIN32_WINNT define. Change-Id: I28ea6f328b495033d484fa07181062dc92f0855f Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/createshortcutoperation.cpp')
-rw-r--r--src/libs/installer/createshortcutoperation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libs/installer/createshortcutoperation.cpp b/src/libs/installer/createshortcutoperation.cpp
index 963f0aaf8..8c5917852 100644
--- a/src/libs/installer/createshortcutoperation.cpp
+++ b/src/libs/installer/createshortcutoperation.cpp
@@ -52,12 +52,7 @@
using namespace QInstaller;
#ifdef Q_OS_WIN
-#ifdef Q_CC_MINGW
-# ifndef _WIN32_WINNT
-# define _WIN32_WINNT 0x0501
-# endif
-#endif
-#include <windows.h>
+#include <qt_windows.h>
#include <shlobj.h>
#ifndef PIDLIST_ABSOLUTE