source: trunk/src/opengl/opengl.pro@ 595

Last change on this file since 595 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

File size: 4.3 KB
RevLine 
[2]1TARGET = QtOpenGL
2QPRO_PWD = $$PWD
3QT = core gui
4DEFINES += QT_BUILD_OPENGL_LIB
5DEFINES += QT_NO_USING_NAMESPACE
6win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x63000000
7solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
8
9unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
10
11include(../qbase.pri)
12
13!win32:!embedded:!mac:CONFIG += x11
14contains(QT_CONFIG, opengl):CONFIG += opengl
15contains(QT_CONFIG, opengles1):CONFIG += opengles1
[561]16contains(QT_CONFIG, opengles1cl):CONFIG += opengles1cl
[2]17contains(QT_CONFIG, opengles2):CONFIG += opengles2
[561]18contains(QT_CONFIG, egl):CONFIG += egl
[2]19
20HEADERS += qgl.h \
21 qgl_p.h \
22 qglcolormap.h \
23 qglpixelbuffer.h \
[561]24 qglpixelbuffer_p.h \
[2]25 qglframebufferobject.h \
[561]26 qglframebufferobject_p.h \
27 qglextensions_p.h \
28 qglpaintdevice_p.h \
[2]29
[561]30
[2]31SOURCES += qgl.cpp \
32 qglcolormap.cpp \
33 qglpixelbuffer.cpp \
34 qglframebufferobject.cpp \
35 qglextensions.cpp \
[561]36 qglpaintdevice.cpp \
[2]37
[561]38
[2]39!contains(QT_CONFIG, opengles2) {
[561]40 HEADERS += qpaintengine_opengl_p.h
41 SOURCES += qpaintengine_opengl.cpp
[2]42}
43
[561]44!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl) {
45 HEADERS += qglshaderprogram.h \
46 qglpixmapfilter_p.h \
47 qgraphicsshadereffect_p.h \
48 qgraphicssystem_gl_p.h \
49 qwindowsurface_gl_p.h \
50 qpixmapdata_gl_p.h \
51 gl2paintengineex/qglgradientcache_p.h \
52 gl2paintengineex/qglengineshadermanager_p.h \
53 gl2paintengineex/qgl2pexvertexarray_p.h \
54 gl2paintengineex/qpaintengineex_opengl2_p.h \
55 gl2paintengineex/qglengineshadersource_p.h \
56 gl2paintengineex/qglcustomshaderstage_p.h \
57 gl2paintengineex/qtriangulatingstroker_p.h
58
59 SOURCES += qglshaderprogram.cpp \
60 qglpixmapfilter.cpp \
61 qgraphicsshadereffect.cpp \
62 qgraphicssystem_gl.cpp \
63 qwindowsurface_gl.cpp \
64 qpixmapdata_gl.cpp \
65 gl2paintengineex/qglgradientcache.cpp \
66 gl2paintengineex/qglengineshadermanager.cpp \
[2]67 gl2paintengineex/qgl2pexvertexarray.cpp \
[561]68 gl2paintengineex/qpaintengineex_opengl2.cpp \
69 gl2paintengineex/qglcustomshaderstage.cpp \
70 gl2paintengineex/qtriangulatingstroker.cpp
[2]71
72}
73
74x11 {
75 contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles1cl)|contains(QT_CONFIG, opengles2) {
76 SOURCES += qgl_x11egl.cpp \
77 qglpixelbuffer_egl.cpp \
78 qgl_egl.cpp \
[561]79 qpixmapdata_x11gl_egl.cpp \
80 qwindowsurface_x11gl.cpp
[2]