blob: e16e810ee62a8c3e4c6400a69645c66f694d667f (
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
|
TARGET = wasm
CONFIG += static plugin
QT += \
core-private gui-private \
eventdispatcher_support-private fontdatabase_support-private egl_support-private
#DEFINES += QEGL_EXTRA_DEBUG
# Avoid X11 header collision, use generic EGL native types
DEFINES += QT_EGL_NO_X11
SOURCES = main.cpp \
qwasmintegration.cpp \
qwasmwindow.cpp \
qwasmscreen.cpp \
qwasmfontdatabase.cpp \
qwasmeventtranslator.cpp \
qwasmeventdispatcher.cpp \
qwasmcompositor.cpp \
qwasmcursor.cpp \
qwasmopenglcontext.cpp \
qwasmtheme.cpp
HEADERS = qwasmintegration.h \
qwasmwindow.h \
qwasmscreen.h \
qwasmfontdatabase.h \
qwasmeventtranslator.h \
qwasmeventdispatcher.h \
qwasmcompositor.h \
qwasmstylepixmaps_p.h \
qwasmcursor.h \
qwasmopenglcontext.h \
qwasmtheme.h
RESOURCES += fonts/wasmfonts.qrc
qtConfig(opengl) {
SOURCES += qwasmbackingstore.cpp
HEADERS += qwasmbackingstore.h
}
CONFIG += egl
OTHER_FILES += \
wasm.json \
wasm_shell.html \
qtloader.js
shell_files.path = $$[QT_INSTALL_PLUGINS]/platforms
shell_files.files = wasm_shell.html \
qtloader.js \
qtlogo.svg
INSTALLS += shell_files
PLUGIN_TYPE = platforms
PLUGIN_CLASS_NAME = QWasmIntegrationPlugin
!equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = -
load(qt_plugin)
|