1 | TARGET = QtOpenGL
|
---|
2 | QPRO_PWD = $$PWD
|
---|
3 | QT = core gui
|
---|
4 | DEFINES += QT_BUILD_OPENGL_LIB
|
---|
5 | DEFINES += QT_NO_USING_NAMESPACE
|
---|
6 | win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x63000000
|
---|
7 | solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
8 | irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
---|
9 |
|
---|
10 | unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
|
---|
11 |
|
---|
12 | include(../qbase.pri)
|
---|
13 |
|
---|
14 | !win32:!embedded:!mac:!symbian:CONFIG += x11
|
---|
15 | contains(QT_CONFIG, opengl):CONFIG += opengl
|
---|
16 | contains(QT_CONFIG, opengles1):CONFIG += opengles1
|
---|
17 | contains(QT_CONFIG, opengles2):CONFIG += opengles2
|
---|
18 | contains(QT_CONFIG, egl):CONFIG += egl
|
---|
19 |
|
---|
20 | HEADERS += qgl.h \
|
---|
21 | qgl_p.h \
|
---|
22 | qglcolormap.h \
|
---|
23 | qglpixelbuffer.h \
|
---|
24 | qglpixelbuffer_p.h \
|
---|
25 | qglframebufferobject.h \
|
---|
26 | qglframebufferobject_p.h \
|
---|
27 | qglextensions_p.h \
|
---|
28 | qglpaintdevice_p.h \
|
---|
29 | qglbuffer.h \
|
---|
30 |
|
---|
31 |
|
---|
32 | SOURCES += qgl.cpp \
|
---|
33 | qglcolormap.cpp \
|
---|
34 | qglpixelbuffer.cpp \
|
---|
35 | qglframebufferobject.cpp \
|
---|
36 | qglextensions.cpp \
|
---|
37 | qglpaintdevice.cpp \
|
---|
38 | qglbuffer.cpp \
|
---|
39 |
|
---|
40 |
|
---|
41 | !contains(QT_CONFIG, opengles2) {
|
---|
42 | HEADERS += qpaintengine_opengl_p.h
|
---|
43 | SOURCES += qpaintengine_opengl.cpp
|
---|
44 | }
|
---|
45 |
|
---|
46 | !contains(QT_CONFIG, opengles1) {
|
---|
47 | HEADERS += qglshaderprogram.h \
|
---|
48 | qglpixmapfilter_p.h \
|
---|
49 | qgraphicsshadereffect_p.h \
|
---|
50 | qgraphicssystem_gl_p.h \
|
---|
51 | qwindowsurface_gl_p.h \
|
---|
52 | qpixmapdata_gl_p.h \
|
---|
53 | gl2paintengineex/qglgradientcache_p.h \
|
---|
54 | gl2paintengineex/qglengineshadermanager_p.h \
|
---|
55 | gl2paintengineex/qgl2pexvertexarray_p.h \
|
---|
56 | gl2paintengineex/qpaintengineex_opengl2_p.h \
|
---|
57 | gl2paintengineex/qglengineshadersource_p.h \
|
---|
58 | gl2paintengineex/qglcustomshaderstage_p.h \
|
---|
59 | gl2paintengineex/qtriangulatingstroker_p.h \
|
---|
60 | gl2paintengineex/qtriangulator_p.h \
|
---|
61 | gl2paintengineex/qtextureglyphcache_gl_p.h
|
---|
62 |
|
---|
63 | SOURCES += qglshaderprogram.cpp \
|
---|
64 | qglpixmapfilter.cpp \
|
---|
65 | qgraphicsshadereffect.cpp \
|
---|
66 | qgraphicssystem_gl.cpp \
|
---|
67 | qwindowsurface_gl.cpp \
|
---|
|
---|