LFLAGS = -s WASM=1 -s FULL_ES2=1 -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s NO_EXIT_RUNTIME=0 -s ERROR_ON_UNDEFINED_SYMBOLS=1 --bind -s "BINARYEN_METHOD='native-wasm'" -s "BINARYEN_TRAP_MODE='clamp'" -O3 /path/to/qtbase/lib/libqtfreetype.a /path/to/qtbase/lib/libqtlibpng.a LIBS = $(SUBLIBS) -L/path/to/qtbase/plugins/platforms -lqwasm -L/path/to/qtbase/lib /path/to/qtbase/lib/libqtpcre2.a /path/to/qtbase/lib/libqtlibpng.a /path/to/qtbase/lib/libqtharfbuzz.a /path/to/qtbase/lib/libqtfreetype.a -L/path/to/qtbase/plugins/imageformats -lqgif -lqico -lqjpeg -L/path/to/qtbase/plugins/egldeviceintegrations -lqeglfs-emu-integration -lQt5EglFSDeviceIntegration -lQt5EventDispatcherSupport -lQt5ServiceSupport -lQt5ThemeSupport -lQt5FontDatabaseSupport -lQt5FbSupport -lQt5EglSupport -lQt5PlatformCompositorSupport -lQt5DeviceDiscoverySupport -L/path/to/qtbase/qml/QtQuick.2 -lqtquick2plugin -L/path/to/qtbase/qml/QtQuick/Layouts -lqquicklayoutsplugin -L/path/to/qtbase/qml/QtQuick/Controls.2 -lqtquickcontrols2plugin -L/path/to/qtbase/qml/QtQuick/Templates.2 -lqtquicktemplates2plugin -L/path/to/qtbase/qml/QtQuick/Window.2 -lwindowplugin -L/path/to/qtbase/qml/QtQuick/Controls.2/Fusion -lqtquickcontrols2fusionstyleplugin -L/path/to/qtbase/qml/QtQuick/Controls.2/Universal -lqtquickcontrols2universalstyleplugin -L/path/to/qtbase/qml/QtQuick/Controls.2/Material -lqtquickcontrols2materialstyleplugin -L/path/to/qtbase/qml/QtQuick/Controls.2/Imagine -lqtquickcontrols2imaginestyleplugin -lQt5QuickControls2 -lQt5QuickTemplates2 -L/path/to/qtbase/qml/QtGraphicalEffects -lqtgraphicaleffectsplugin -L/path/to/qtbase/qml/QtGraphicalEffects/private -lqtgraphicaleffectsprivate -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core