summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/egl.pri
blob: b13c43e371636d6ed45a593d3898ccab626cb9ad (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
contains(QT_CONFIG, egl): {
	CONFIG += egl

	HEADERS += \
	    egl/qegl_p.h \
	    egl/qeglcontext_p.h \
	    egl/qeglproperties_p.h

        SOURCES += \
            egl/qegl.cpp \
            egl/qeglproperties.cpp
        unix {
            !isEmpty(QMAKE_INCDIR_EGL){
                INCLUDEPATH += $$QMAKE_INCDIR_EGL
            }
            !isEmpty(QMAKE_LIBDIR_EGL){
                for(p, QMAKE_LIBDIR_EGL) {
                    exists($$p):LIBS += -L$$p
                }
            }

            !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
        }

	wince*: SOURCES += egl/qegl_wince.cpp

        symbian {
            SOURCES += egl/qegl_symbian.cpp
        } else {
             SOURCES += egl/qegl_qpa.cpp
        }
} else:symbian: {
    DEFINES += QT_NO_EGL
    SOURCES += egl/qegl_stub.cpp
    SOURCES += egl/qeglproperties_stub.cpp
}