Direct2D QPA: Add #include directives for MinGW

D2D support has been partially added to recent versions of
MinGW, which one day could make compiling the plugin possible.

Change-Id: I53f91c483d3b900698f4424cb6a72f626e32e60b
Reviewed-by: Louai Al-Khanji <louai.al-khanji@qt.io>
This commit is contained in:
Friedemann Kleint 2016-11-04 10:52:36 +01:00
parent ed7f77071d
commit e649eac69a

View File

@ -46,6 +46,13 @@
#include <QtGui/QColor> #include <QtGui/QColor>
#include <QtGui/QTransform> #include <QtGui/QTransform>
#ifdef Q_CC_MINGW
# include <qt_windows.h>
# include <d2d1.h>
# include <d2d1helper.h>
# include <d2dbasetypes.h>
# include <d2d1_1.h>
#endif // Q_CC_MINGW
#include <d2d1_1helper.h> #include <d2d1_1helper.h>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE