diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qdnd_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/kernel/qdnd_p.h b/src/gui/kernel/qdnd_p.h index 764b73c06f..f793764560 100644 --- a/src/gui/kernel/qdnd_p.h +++ b/src/gui/kernel/qdnd_p.h @@ -69,7 +69,7 @@ class QEventLoop; class QMouseEvent; class QPlatformDrag; -#ifndef QT_NO_DRAGANDDROP +#if !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD)) class Q_GUI_EXPORT QInternalMimeData : public QMimeData { @@ -95,6 +95,10 @@ protected: virtual QVariant retrieveData_sys(const QString &mimeType, QVariant::Type type) const = 0; }; +#endif // !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD)) + +#ifndef QT_NO_DRAGANDDROP + class QDragPrivate : public QObjectPrivate { public: |