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>
This commit is contained in:
Thiago Macieira 2022-04-22 09:44:43 -07:00
parent 77b9ddfb53
commit 507115ebbb

View File

@ -112,7 +112,7 @@
QT_BEGIN_NAMESPACE 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 ////////////////////////////////////////// ////////////////////////////////// Private Methods //////////////////////////////////////////