blob: c38b80dd722aeecc29ed37cc4e6e5eeddb223741 (
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
|
TARGET = qeglfs
TEMPLATE = lib
CONFIG += plugin
QT += opengl
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
#DEFINES += QEGL_EXTRA_DEBUG
#DEFINES += Q_OPENKODE
SOURCES = main.cpp \
qeglfsintegration.cpp \
../eglconvenience/qeglconvenience.cpp \
../eglconvenience/qeglplatformcontext.cpp \
qeglfswindow.cpp \
qeglfswindowsurface.cpp \
qeglfsscreen.cpp
HEADERS = qeglfsintegration.h \
../eglconvenience/qeglconvenience.h \
../eglconvenience/qeglplatformcontext.h \
qeglfswindow.h \
qeglfswindowsurface.h \
qeglfsscreen.h
include(../fontdatabases/genericunix/genericunix.pri)
!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
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
|