blob: 270e3ce2285c07c44f04ecf4d6c9dc9c20fa6fa4 (
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
|
TARGET = qoffscreen
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += core-private gui-private platformsupport-private
SOURCES = main.cpp \
qoffscreenintegration.cpp \
qoffscreenwindow.cpp \
qoffscreencommon.cpp
HEADERS = qoffscreenintegration.h \
qoffscreenwindow.h \
qoffscreencommon.h
OTHER_FILES += offscreen.json
contains(QT_CONFIG, xcb):contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles2) {
SOURCES += qoffscreenintegration_x11.cpp
HEADERS += qoffscreenintegration_x11.h
system(echo "Using X11 offscreen integration with GLX")
} else {
SOURCES += qoffscreenintegration_dummy.cpp
}
|