blob: c8ae4154c370b99314ebf57ef20eb31859f26909 (
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 = qopenkodeintegration
include(../../qpluginbase.pri)
QT += opengl
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
SOURCES = main.cpp \
qopenkodeintegration.cpp \
qopenkodewindow.cpp \
../eglconvenience/qeglplatformcontext.cpp \
../eglconvenience/qeglconvenience.cpp \
qopenkodeeventloopintegration.cpp
HEADERS = qopenkodeintegration.h \
qopenkodewindow.h \
../eglconvenience/qeglplatformcontext.h \
../eglconvenience/qeglconvenience.h \
qopenkodeeventloopintegration.h \
openkodekeytranslator.h
include (../fontdatabases/genericunix/genericunix.pri)
RESOURCES = resources.qrc
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
LIBS += -lKD -lEGL
!isEmpty(QMAKE_INCDIR_OPENGL_ES2){
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
}
!isEmpty(QMAKE_LIBDIR_OPENGL_ES2){
for(p, QMAKE_LIBDIR_OPENGL_ES2) {
exists($$p):LIBS += -L$$p
}
}
!isEmpty(QMAKE_LIBS_OPENGL_ES2){
LIBS += $$QMAKE_LIBS_OPENGL_ES2
} else {
LIBS += -lGLESv2
}
|