From 9b9895de8da08776e586f20807d4698e5d9e5680 Mon Sep 17 00:00:00 2001 From: Bjoern Breitmeyer Date: Thu, 10 May 2012 14:43:26 +0200 Subject: Fix for windows platform plugin to work with WINCE. Made opengl optional. Made Clipboard and Accessability optional. Moved internal mime data into its on source file, was implemented in the clipboard source which is just strange. Change-Id: I6ddf0c656533bd45e22e24492fc2254d15b7822f Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowscontext.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows/qwindowscontext.h') diff --git a/src/plugins/platforms/windows/qwindowscontext.h b/src/plugins/platforms/windows/qwindowscontext.h index 9f16ed232b..983f9409c9 100644 --- a/src/plugins/platforms/windows/qwindowscontext.h +++ b/src/plugins/platforms/windows/qwindowscontext.h @@ -59,6 +59,7 @@ struct QWindowCreationContext; struct QWindowsContextPrivate; class QPoint; +#ifndef Q_OS_WINCE struct QWindowsUser32DLL { QWindowsUser32DLL(); @@ -98,6 +99,7 @@ struct QWindowsShell32DLL SHCreateItemFromParsingName sHCreateItemFromParsingName; }; +#endif // Q_OS_WINCE class QWindowsContext { @@ -169,9 +171,10 @@ public: QWindowsMimeConverter &mimeConverter() const; QWindowsScreenManager &screenManager(); - +#ifndef Q_OS_WINCE static QWindowsUser32DLL user32dll; static QWindowsShell32DLL shell32dll; +#endif static QByteArray comErrorString(HRESULT hr); -- cgit v1.2.3