--- a\qtbase\src\plugins\platforms\windows\qwindowscontext.cpp
+++ b\qtbase\src\plugins\platforms\windows\qwindowscontext.cpp
@@ -287,11 +287,13 @@
     HandleBaseWindowHash m_windows;
     HDC m_displayContext;
     int m_defaultDPI;
     QWindowsKeyMapper m_keyMapper;
     QWindowsMouseHandler m_mouseHandler;
+#ifndef QT_NO_CLIPBOARD
     QWindowsMimeConverter m_mimeConverter;
+#endif
     QWindowsScreenManager m_screenManager;
     QSharedPointer<QWindowCreationContext> m_creationContext;
 #if !defined(QT_NO_TABLETEVENT) && !defined(Q_OS_WINCE)
     QScopedPointer<QWindowsTabletSupport> m_tabletSupport;
 #endif
@@ -725,16 +727,16 @@
     QWindowsWindow *result = 0;
     const POINT screenPoint = { screenPointIn.x(), screenPointIn.y() };
     while (findPlatformWindowHelper(screenPoint, cwex_flags, this, &parent, &result)) {}
     return result;
 }
-
+#ifndef QT_NO_CLIPBOARD
 QWindowsMimeConverter &QWindowsContext::mimeConverter() const
 {
     return d->m_mimeConverter;
 }
-
+#endif
 QWindowsScreenManager &QWindowsContext::screenManager()
 {
     return d->m_screenManager;
 }
 
--- a\qtbase\src\plugins\platforms\windows\qwindowscontext.h
+++ b\qtbase\src\plugins\platforms\windows\qwindowscontext.h
@@ -64,11 +64,13 @@
 class QWindow;
 class QPlatformScreen;
 class QWindowsScreenManager;
 class QWindowsTabletSupport;
 class QWindowsWindow;
+#ifndef QT_NO_CLIPBOARD
 class QWindowsMimeConverter;
+#endif
 struct QWindowCreationContext;
 struct QWindowsContextPrivate;
 class QPoint;
 class QKeyEvent;
 class QTouchDevice;
@@ -214,12 +216,13 @@
     // Returns a combination of SystemInfoFlags
     unsigned systemInfo() const;
 
     bool useRTLExtensions() const;
     QList<int> possibleKeys(const QKeyEvent *e) const;
-
+#ifndef QT_NO_CLIPBOARD
     QWindowsMimeConverter &mimeConverter() const;
+#endif
     QWindowsScreenManager &screenManager();
     QWindowsTabletSupport *tabletSupport() const;
 #ifndef Q_OS_WINCE
     static QWindowsUser32DLL user32dll;
     static QWindowsShell32DLL shell32dll;
