summaryrefslogtreecommitdiff
path: root/examples/wayland
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-04-22 13:54:11 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-04-28 20:57:04 -0700
commite1854451c46513fcfad0f92abc836b9cb6fa454a (patch)
tree8103972a9a9930e697cc5cba36cbee95cfa6d6cc /examples/wayland
parentaee5dbf01c24a1487847d996647b0c53f1f20e8b (diff)
downloadqtwayland-e1854451c46513fcfad0f92abc836b9cb6fa454a.tar.gz
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 'examples/wayland')
-rw-r--r--examples/wayland/custom-shell/client-plugin/exampleshellintegration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h b/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h
index 344483ea..5362528c 100644
--- a/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h
+++ b/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h
@@ -56,7 +56,7 @@
using namespace QtWaylandClient;
//! [shell-integration]
-class Q_WAYLAND_CLIENT_EXPORT ExampleShellIntegration
+class Q_WAYLANDCLIENT_EXPORT ExampleShellIntegration
: public QWaylandShellIntegrationTemplate<ExampleShellIntegration>
, public QtWayland::qt_example_shell
{