From 02713994bf9c72a3cf1ab55b780ab23916d6f79b Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Sat, 13 Apr 2013 00:50:38 +0900 Subject: Make qtbase compile with QT_NO_DRAGANDDROP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id1a74c6b22b388d20103b4e73f83c8345ec70ba6 Reviewed-by: Oswald Buddenhagen Reviewed-by: Friedemann Kleint Reviewed-by: Jørgen Lind --- src/plugins/platforms/offscreen/qoffscreenintegration.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/platforms/offscreen/qoffscreenintegration.h') diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.h b/src/plugins/platforms/offscreen/qoffscreenintegration.h index eb03100ec9..b403ce83b3 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration.h +++ b/src/plugins/platforms/offscreen/qoffscreenintegration.h @@ -60,7 +60,9 @@ public: QPlatformWindow *createPlatformWindow(QWindow *window) const; QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const; +#ifndef QT_NO_DRAGANDDROP QPlatformDrag *drag() const; +#endif QPlatformServices *services() const; QPlatformFontDatabase *fontDatabase() const; @@ -71,7 +73,9 @@ public: private: QAbstractEventDispatcher *m_eventDispatcher; QScopedPointer m_fontDatabase; +#ifndef QT_NO_DRAGANDDROP QScopedPointer m_drag; +#endif QScopedPointer m_services; }; -- cgit v1.2.3