path: root/src/
diff options
authorSean Harmer <>2013-01-27 15:53:13 +0000
committerThe Qt Project <>2013-02-26 16:27:39 +0100
commita2ddf3dfe066bb4e58de1d11b1800efcd05fb3a0 (patch)
treeb44676033af626935e55e140376b0720b5d322b2 /src/
parent10aa64d74c0208ed9f42e88e6deb3000e9cad6df (diff)
Add a new static lib and module for OpenGL extensions
The complete set of OpenGL extensions is large meaning that any attempt to incorporate them into a shared library such as QtGui would bloat the size of that library. The typical usage pattern for OpenGL extensions is to use only a very small number of extensions from the total available set. A static library suits this situation very well as an application will only compile in the executable code for the extensions actually used. Thus makign all of the functionality available to those that need it but with zero cost to those that do not. Change-Id: I49fdac7e9d2e0b190b7ea04b776018dd63c3065f Reviewed-by: Samuel Rødal <>
Diffstat (limited to 'src/')
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ b/src/
index 525c9c8855..02d4852b60 100644
--- a/src/
+++ b/src/
@@ -54,6 +54,10 @@ src_opengl.subdir = $$PWD/opengl = sub-opengl
src_opengl.depends = src_gui src_widgets
+src_openglextensions.subdir = $$PWD/openglextensions = sub-openglextensions
+src_openglextensions.depends = src_gui
src_printsupport.subdir = $$PWD/printsupport = sub-printsupport
src_printsupport.depends = src_corelib src_gui src_widgets
@@ -76,7 +80,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
SUBDIRS += src_angle
src_gui.depends += src_angle
- SUBDIRS += src_gui src_platformsupport
+ SUBDIRS += src_gui src_platformsupport src_openglextensions
src_plugins.depends += src_gui src_platformsupport
!contains(QT_CONFIG, no-widgets) {
SUBDIRS += src_widgets