summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/egl.pri
blob: 8e8664c679be7f0eded3c31ba855075fdab2e490 (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
44
45
46
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

	unix {
	    embedded {
	        SOURCES += egl/qegl_qws.cpp
	    } else {
	        qpa {
	            SOURCES += egl/qegl_qpa.cpp
	        } else {
	            symbian {
	                SOURCES += egl/qegl_symbian.cpp
	            } else {
	                SOURCES += egl/qegl_x11.cpp
	            }
	        }
	    }
	}
} else:symbian {
	DEFINES += QT_NO_EGL
	SOURCES += egl/qegl_stub.cpp
	SOURCES += egl/qeglproperties_stub.cpp
}