Compile fix for Windows Phone

Shlobj.h should not be included on Windows Phone. As it isn't needed
for WinRT in general here, exclude it.

Change-Id: I1eaa50ab8825d2f43d59272c841673c3e9e1e12a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Andrew Knight 2014-01-13 09:22:14 +02:00 committed by The Qt Project
parent dc9b194f6b
commit 5f56af8c89

View File

@ -78,7 +78,9 @@
#ifdef Q_OS_WIN // for homedirpath reading from registry
# include <private/qsystemlibrary_p.h>
# include <qt_windows.h>
# include <shlobj.h>
# ifndef Q_OS_WINRT
# include <shlobj.h>
# endif
#endif
#ifdef Q_OS_WINRT