diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-10-27 14:34:29 (GMT) |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-10-27 14:53:55 (GMT) |
commit | 8caee839df56c005f5e7a289b2cd8b0544210a09 (patch) | |
tree | 90e62ebd12400a214abd2cd79d4a9857b50e5e56 /src | |
parent | c6218e0e9b64e53391e3e0ddc4988f4f079712eb (diff) | |
download | Qt-8caee839df56c005f5e7a289b2cd8b0544210a09.zip Qt-8caee839df56c005f5e7a289b2cd8b0544210a09.tar.gz Qt-8caee839df56c005f5e7a289b2cd8b0544210a09.tar.bz2 |
Fix QtOpenGL linker issue by exporting qt_getClipRects
It is used in qwindowsurface_x11gl.cpp. The problem only showed when
building in release mode due to previous use of Q_AUTOTEST_EXPORT.
Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpaintengine_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengine_x11.cpp b/src/gui/painting/qpaintengine_x11.cpp index 59482c6..35b77f7 100644 --- a/src/gui/painting/qpaintengine_x11.cpp +++ b/src/gui/painting/qpaintengine_x11.cpp @@ -146,7 +146,7 @@ static inline int qpainterOpToXrender(QPainter::CompositionMode mode) // hack, so we don't have to make QRegion::clipRectangles() public or include // X11 headers in qregion.h -Q_AUTOTEST_EXPORT void *qt_getClipRects(const QRegion &r, int &num) +Q_GUI_EXPORT void *qt_getClipRects(const QRegion &r, int &num) { return r.clipRectangles(num); } |