summaryrefslogtreecommitdiffstats
path: root/src/modules/qt_opengl.pri
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2010-11-24 20:21:06 -0600
committeraxis <qt-info@nokia.com>2011-04-27 12:05:46 +0200
commit00c5f39081fb8de9e0b77de4e21ba0862d4bf695 (patch)
tree1e59cc757f647a28ed72f600796e6c294a8d6ca2 /src/modules/qt_opengl.pri
parent94e8d3b6864ce9cd7a024d30b4f938a3ace940a2 (diff)
Add module specific pris, and make syncqt create fwd includes
The module specific pris define the modules name version dependencies include paths lib paths additional CONFIGs and DEFINES They are located in the modules source directory, with fwd includes created in QtBase/mkspecs/modules build directory. The pris use QT_MODULE_INCLUDE_BASE QT_MODULE_LIB_BASE to specify the locations for includes and libs. These paths are normally based on QT_INSTALL_HEADERS QT_INSTALL_LIBS for installed modules, but overridden to the module's build directory by syncqt for the fwd included pris. The path of the pris must be specified in the sync.profile for syncqt to create the fwding pris in QtBase.
Diffstat (limited to 'src/modules/qt_opengl.pri')
-rw-r--r--src/modules/qt_opengl.pri12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/qt_opengl.pri b/src/modules/qt_opengl.pri
new file mode 100644
index 0000000000..9ad142570f
--- /dev/null
+++ b/src/modules/qt_opengl.pri
@@ -0,0 +1,12 @@
+QT_OPENGL_VERSION = $$QT_VERSION
+QT_OPENGL_MAJOR_VERSION = $$QT_MAJOR_VERSION
+QT_OPENGL_MINOR_VERSION = $$QT_MINOR_VERSION
+QT_OPENGL_PATCH_VERSION = $$QT_PATCH_VERSION
+
+QT.opengl.name = QtOpenGL
+QT.opengl.includes = $$QT_MODULE_INCLUDE_BASE/QtOpenGL
+QT.opengl.libs = $$QT_MODULE_LIB_BASE
+QT.opengl.depends = core gui
+QT.opengl.CONFIG = opengl
+
+QT_CONFIG += opengl