diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-11-21 16:52:13 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-11-26 15:06:47 +0100 |
commit | 01dfa222fd73951f50b4bf45a6e6f60f21bfe6f5 (patch) | |
tree | 4d7046cae18fe223788f44ecd87a0131981d041a | |
parent | 6a027a8677888bcc881929f47185603778e4c50e (diff) |
QWindowsMimeConverter: Fix forward-declaration of foreign structs
It was inside the Qt namespace so it would try to use it as such.
Change-Id: I8c8960e5f4758e945bef95b52247211e8f86efad
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r-- | src/gui/platform/windows/qwindowsmimeconverter.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/platform/windows/qwindowsmimeconverter.h b/src/gui/platform/windows/qwindowsmimeconverter.h index c1b80c1fef..95722be109 100644 --- a/src/gui/platform/windows/qwindowsmimeconverter.h +++ b/src/gui/platform/windows/qwindowsmimeconverter.h @@ -6,17 +6,18 @@ #include <QtGui/qtguiglobal.h> -QT_BEGIN_NAMESPACE - -class QMetaType; -class QMimeData; -class QVariant; struct tagFORMATETC; using FORMATETC = tagFORMATETC; struct tagSTGMEDIUM; using STGMEDIUM = tagSTGMEDIUM; struct IDataObject; +QT_BEGIN_NAMESPACE + +class QMetaType; +class QMimeData; +class QVariant; + class Q_GUI_EXPORT QWindowsMimeConverter { public: |