diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-22 09:44:43 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-22 14:20:06 -0700 |
commit | 507115ebbb04cdebd09125a422fa3c081987a371 (patch) | |
tree | 4e2fb239f021fb6080c313bb08344abca6c42e39 /src/opengl | |
parent | 77b9ddfb53cdbc7a5d348800cc2f85a944c0a008 (diff) |
QtOpenGL: Fix build with GCC 12: qt_imageForBrush is in QtGui
/usr/bin/ld: lib/libQt6OpenGL.t.so.6.4.0: protected symbol `_Z16qt_imageForBrushib' isn't defined
Pick-to: 6.2 6.3
Change-Id: If05aeeb7176e4f13af9afffd16e845af9638337b
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qopenglpaintengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglpaintengine.cpp b/src/opengl/qopenglpaintengine.cpp index 98ab71dad5..5b6da3fa20 100644 --- a/src/opengl/qopenglpaintengine.cpp +++ b/src/opengl/qopenglpaintengine.cpp @@ -112,7 +112,7 @@ QT_BEGIN_NAMESPACE -Q_OPENGL_EXPORT QImage qt_imageForBrush(int brushStyle, bool invert); +Q_GUI_EXPORT QImage qt_imageForBrush(int brushStyle, bool invert); ////////////////////////////////// Private Methods ////////////////////////////////////////// |