summaryrefslogtreecommitdiffstats
path: root/src/opengl/opengl.pro
blob: a726db2be96c1691c62b812da81f6d36d2a0af88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
TARGET     = QtOpenGL
QT         = core-private gui-private
qtConfig(widgets): QT += widgets widgets-private

DEFINES   += QT_NO_USING_NAMESPACE QT_NO_FOREACH

QMAKE_DOCS = $$PWD/doc/qtopengl.qdocconf

qtConfig(opengl): CONFIG += opengl
qtConfig(opengles2): CONFIG += opengles2

HEADERS += \
    qopengldebug.h \
    qopenglwindow.h \
    qtopenglglobal.h

SOURCES += \
    qopenglwindow.cpp \
    qopengldebug.cpp

!qtConfig(opengles2) {
    HEADERS += \
        qopenglqueryhelper_p.h \
        qopengltimerquery.h

    SOURCES += qopengltimerquery.cpp
}

qtConfig(widgets) {
    HEADERS += qopenglwidget.h
    SOURCES += qopenglwidget.cpp
}

load(qt_module)