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 |
|
---|
9 | unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
|
---|
10 |
|
---|
11 | include(../qbase.pri)
|
---|
12 |
|
---|
13 | !win32:!embedded:!mac:CONFIG += x11
|
---|
14 | contains(QT_CONFIG, opengl):CONFIG += opengl
|
---|
15 | contains(QT_CONFIG, opengles1):CONFIG += opengles1
|
---|
16 | contains(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 |
|
---|
23 | HEADERS += qgl.h \
|
---|
24 | qgl_p.h \
|
---|
25 | qglcolormap.h \
|
---|
26 | qglpixelbuffer.h \
|
---|
27 | qglframebufferobject.h \
|
---|
28 |
|
---|
29 | SOURCES += 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
|
---|
|
---|