path: root/src/opengl/qglcolormap.h
diff options
authorThiago Macieira <>2012-06-06 20:04:41 +0200
committerQt by Nokia <>2012-06-29 00:27:18 +0200
commit2b904294a87b303d4f1df03f92dd2c259ff53f00 (patch)
tree2a4acef7efcabe7d0d03eb978b61b1672880c8ad /src/opengl/qglcolormap.h
parent92283176ac3ab537b589dd6530fc7849adf5cae4 (diff)
Clean up the EXPORT macros in qglobal.h.
QtPlatformSupport is a static library. It should never export anything, so Q_PLATFORMSUPPORT_EXPORT is unnecessary. QtSql, QtXml, QtDBus, QtOpenGL and QtPrintSupport now have the macros on their own source trees. It's possible these modules might be separated out from qtbase in the future. For QtDBus, the macros are moving back to where they used to be. This also leaves qglobal.h only creating the macros for QtCore, QtGui, QtWidgets and QtNetwork, the core libraries. Q_CANVAS_EXPORT, Q_OPENVG_EXPORT and Q_COMPAT_EXPORT aren't used anywhere in the Qt sources, so simply delete them. And the Q_QUICK1_EXPORT macro in the static section was wrong, so remove it too. Change-Id: I50bdf86e783338f814903b25979721f788a7becf Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'src/opengl/qglcolormap.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qglcolormap.h b/src/opengl/qglcolormap.h
index 93bdf9db89..a41217cc5b 100644
--- a/src/opengl/qglcolormap.h
+++ b/src/opengl/qglcolormap.h
@@ -44,6 +44,7 @@
#include <QtGui/qcolor.h>
#include <QtCore/qvector.h>
+#include <QtOpenGL/qtopenglglobal.h>