summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/eglconvenience.pro
blob: 4301d63574b5a1897133b756d426f916a7a7bc7d (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
35
36
37
38
39
40
41
42
43
TARGET = QtEglSupport
MODULE = egl_support

QT = core-private gui-private
CONFIG += static internal_module

DEFINES += QT_NO_CAST_FROM_ASCII
PRECOMPILED_HEADER = ../../corelib/global/qt_pch.h

HEADERS += \
    qeglconvenience_p.h \
    qeglstreamconvenience_p.h \
    qt_egl_p.h

SOURCES += \
    qeglconvenience.cpp \
    qeglstreamconvenience.cpp

qtConfig(opengl) {
    HEADERS += \
        qeglplatformcontext_p.h \
        qeglpbuffer_p.h

    SOURCES += \
        qeglplatformcontext.cpp \
        qeglpbuffer.cpp
}

# Avoid X11 header collision, use generic EGL native types
DEFINES += QT_EGL_NO_X11

qtConfig(xlib) {
    HEADERS += \
        qxlibeglintegration_p.h
    SOURCES += \
        qxlibeglintegration.cpp
    LIBS_PRIVATE += $$QMAKE_LIBS_X11
}
CONFIG += egl

qtConfig(dlopen): QMAKE_USE += libdl

load(qt_module)