diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-22 13:54:11 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-28 20:57:04 -0700 |
commit | e1854451c46513fcfad0f92abc836b9cb6fa454a (patch) | |
tree | 8103972a9a9930e697cc5cba36cbee95cfa6d6cc /src/client/global/qwaylandclientextension_p.h | |
parent | aee5dbf01c24a1487847d996647b0c53f1f20e8b (diff) |
QtWaylandClient: use the CMake exports.h support
The one in qtwaylandglobal.h was wrong. It just happened to work on
Linux because the lack of import wasn't an error... until GCC 12 with
-mno-direct-extern-access.
Pick-to: 6.3
Change-Id: If05aeeb7176e4f13af9afffd16e8535b469f9158
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/global/qwaylandclientextension_p.h')
-rw-r--r-- | src/client/global/qwaylandclientextension_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/global/qwaylandclientextension_p.h b/src/client/global/qwaylandclientextension_p.h index 621c14b77..b57d28f1e 100644 --- a/src/client/global/qwaylandclientextension_p.h +++ b/src/client/global/qwaylandclientextension_p.h @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE -class Q_WAYLAND_CLIENT_EXPORT QWaylandClientExtensionPrivate : public QObjectPrivate +class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionPrivate : public QObjectPrivate { public: Q_DECLARE_PUBLIC(QWaylandClientExtension) @@ -72,7 +72,7 @@ public: bool active = false; }; -class Q_WAYLAND_CLIENT_EXPORT QWaylandClientExtensionTemplatePrivate : public QWaylandClientExtensionPrivate +class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionTemplatePrivate : public QWaylandClientExtensionPrivate { public: QWaylandClientExtensionTemplatePrivate() |