From e1854451c46513fcfad0f92abc836b9cb6fa454a Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 22 Apr 2022 13:54:11 -0700 Subject: 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 Reviewed-by: Alexandru Croitor Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/wayland/custom-shell/client-plugin/exampleshellintegration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/wayland') diff --git a/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h b/examples/wayland/custom-shell/client-plugin/exampleshellintegration.h index 344483eab..5362528cc 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 , public QtWayland::qt_example_shell { -- cgit v1.2.3