blob: ea77a2905ba2b653e44c2e0521fb035a44c68109 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
TARGET = qxlib
include(../../qpluginbase.pri)
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
SOURCES = \
main.cpp \
qxlibintegration.cpp \
qxlibwindowsurface.cpp \
qxlibwindow.cpp \
qxlibcursor.cpp \
qxlibscreen.cpp \
qxlibkeyboard.cpp \
qxlibclipboard.cpp \
qxlibmime.cpp \
qxlibstatic.cpp \
qxlibdisplay.cpp \
qxlibnativeinterface.cpp
HEADERS = \
qxlibintegration.h \
qxlibwindowsurface.h \
qxlibwindow.h \
qxlibcursor.h \
qxlibscreen.h \
qxlibkeyboard.h \
qxlibclipboard.h \
qxlibmime.h \
qxlibstatic.h \
qxlibdisplay.h \
qxlibnativeinterface.h
LIBS += -lX11 -lXext
mac {
LIBS += -L/usr/X11/lib -lz -framework Carbon
}
include (../fontdatabases/genericunix/genericunix.pri)
contains(QT_CONFIG, opengl) {
QT += opengl
!contains(QT_CONFIG, opengles2) {
include (../glxconvenience/glxconvenience.pri)
HEADERS += qglxintegration.h
SOURCES += qglxintegration.cpp
} else { # There is no easy way to detect if we'r suppose to use glx or not
HEADERS += \
../eglconvenience/qeglplatformcontext.h \
../eglconvenience/qeglconvenience.h \
../eglconvenience/qxlibeglintegration.h
SOURCES += \
../eglconvenience/qeglplatformcontext.cpp \
../eglconvenience/qeglconvenience.cpp \
../eglconvenience/qxlibeglintegration.cpp
LIBS += -lEGL
}
}
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
|