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

Last change on this file since 440 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 3.6 KB
Line 
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
16contains(QT_CONFIG, opengles2):CONFIG += opengles2
17
18!contains(QT_CONFIG, opengles2) {
19 HEADERS += qgraphicssystem_gl_p.h qwindowsurface_gl_p.h qpixmapdata_gl_p.h
20 SOURCES += qgraphicssystem_gl.cpp qwindowsurface_gl.cpp qpixmapdata_gl.cpp
21}
22
23HEADERS += qgl.h \
24 qgl_p.h \
25 qglcolormap.h \
26 qglpixelbuffer.h \
27 qglframebufferobject.h \
28
29SOURCES += qgl.cpp \
30 qglcolormap.cpp \
31 qglpixelbuffer.cpp \
32 qglframebufferobject.cpp \
33 qglextensions.cpp \
34
35!contains(QT_CONFIG, opengles2) {
36 HEADERS += qpaintengine_opengl_p.h qglpixmapfilter_p.h
37 SOURCES += qpaintengine_opengl.cpp qglpixmapfilter.cpp
38}
39
40contains(QT_CONFIG, opengles2) {
41 SOURCES += gl2paintengineex/qglgradientcache.cpp \
42 gl2paintengineex/qglpexshadermanager.cpp \
43 gl2paintengineex/qglshader.cpp \
44 gl2paintengineex/qgl2pexvertexarray.cpp \
45 gl2paintengineex/qpaintengineex_opengl2.cpp
46
47 HEADERS += gl2paintengineex/qglgradientcache_p.h \
48 gl2paintengineex/qglpexshadermanager_p.h \
49 gl2paintengineex/qglshader_p.h \
50 gl2paintengineex/qgl2pexvertexarray_p.h \
51 gl2paintengineex/qpaintengineex_opengl2_p.h
52}
53
54
55x11 {
56 contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles1cl)|contains(QT_CONFIG, opengles2) {
57 SOURCES += qgl_x11egl.cpp \
58 qglpixelbuffer_egl.cpp \
59 qgl_egl.cpp \
60 qegl.cpp \
61 qegl_x11egl.cpp
62
63 HEADERS += qegl_p.h \
64 qgl_egl_p.h
65