diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2025-01-28 09:37:31 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2025-01-28 13:20:25 +0100 |
commit | 795e6f6f3e5ab8201dabde65e9b3b939293d34a4 (patch) | |
tree | 170f1e38e60dc1a87868914e1dc64c02bb38154b /testgraphical/qa/graphical/makefile.mk | |
parent | a4af3948e9212ef46149f906e5880f77693cca4b (diff) |
for use in Emscripten --enable-qt6 builds, to e.g. add command line arguments
(like --writer) into qt_soffice.html.
For standard --enable-qt5 Emscripten builds, it works to specify an
> EMSCRIPTEN_EXTRA_SOFFICE_PRE_JS=/path/to/include.js
containing
> Module.arguments = ['--writer'];
to make qt_soffice.html open a Writer document. Due to how the Qt loading has
changed in Qt6, that no longer works for --enable-qt6 Emscripten builds. But
what works there now is to instead specify an
> EMSCRIPTEN_EXTRA_QTLOADER_CONFIG=arguments:['--writer']
(The sed -z option that is necessary to replace text spanning a newline is a
non-standard GNU extension, but lets assume that this is only executed for
cross-builds from Linux that use GNU sed.)
Change-Id: I31372a7a1f8fccbe0fe2594614bf5846e5e5c95f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180821
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'testgraphical/qa/graphical/makefile.mk')
0 files changed, 0 insertions, 0 deletions