From a2ddf3dfe066bb4e58de1d11b1800efcd05fb3a0 Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Sun, 27 Jan 2013 15:53:13 +0000 Subject: Add a new static lib and module for OpenGL extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/openglextensions/openglextensions.pro | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/openglextensions/openglextensions.pro (limited to 'src/openglextensions/openglextensions.pro') diff --git a/src/openglextensions/openglextensions.pro b/src/openglextensions/openglextensions.pro new file mode 100644 index 0000000000..14b30ef801 --- /dev/null +++ b/src/openglextensions/openglextensions.pro @@ -0,0 +1,12 @@ +TARGET = QtOpenGLExtensions +QT = core +CONFIG += static + +load(qt_module) + +DEFINES += QT_NO_CAST_FROM_ASCII +PRECOMPILED_HEADER = ../corelib/global/qt_pch.h + +HEADERS = qopenglextensions.h + +SOURCES = qopenglextensions.cpp -- cgit v1.2.3