qt6-bb10/mkspecs
Joerg Bornemann 9c56c1f7c2 QMake: Fix quoting of WASM's ASYNCIFY_IMPORTS linker option
WASM projects failed to link on Windows if "CONFIG += silent" was
specified in the .pro file and the build environment did not contain
sh.exe.

In that case, QMake prepends "@echo linking && " to the link command.
The mingw32-make tool then considers this command as "complex command"
and runs it through either sh.exe or cmd.exe, depending on whether
sh.exe is found in PATH. If cmd.exe is used, the single quotes around
the ASYNCIFY_IMPORTS option are passed verbatim to em++. Then em++
thinks 'ASYNCIFY_IMPORTS=qt_asyncify_suspend_js,qt_asyncify_resume_js'
is an input file. That file is of course non-existent, and linking
fails.

Remove the single quotes around the linker option. They are not
necessary.

Pick-to: 6.5 6.6 6.7
Fixes: QTBUG-122192
Change-Id: Id362b51ac787f7f235bcb3d9102c5dee66ce5768
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-02-19 15:24:07 +01:00
..
aix-g++
aix-g++-64
android-clang Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
common QMake: Fix quoting of WASM's ASYNCIFY_IMPORTS linker option 2024-02-19 15:24:07 +01:00
cygwin-g++
darwin-g++
devices Suppress warnings from Integrity builds 2023-01-09 10:34:33 +02:00
dummy
features wasm: set MAXIMUM_MEMORY to 4GB 2023-12-20 00:44:28 +00:00
freebsd-clang
freebsd-g++
haiku-g++
hpuxi-g++-64
hurd-g++
integrity-armv7
integrity-armv7-imx6
integrity-armv8-rcar
integrity-x86
linux-aarch64-gnu-g++
linux-arm-gnueabi-g++
linux-clang
linux-clang-32
linux-clang-libc++
linux-clang-libc++-32
linux-g++
linux-g++-32
linux-g++-64
linux-icc
linux-icc-32
linux-icc-64
linux-icc-k1om
linux-llvm
linux-lsb-g++
lynxos-g++
macx-clang
macx-g++
macx-icc
macx-ios-clang Bump iOS minimum deployment target to iOS 16 2024-02-14 04:17:16 +01:00
macx-xcode
modules
netbsd-g++
openbsd-g++
qnx-aarch64le-qcc
qnx-armle-v7-qcc
qnx-x86-64-qcc
qnx-x86-qcc
solaris-cc
solaris-cc-64
solaris-cc-64-stlport
solaris-cc-stlport
solaris-g++
solaris-g++-64
unsupported Remove remnants of Qt for Native Client (NACL) 2023-09-23 13:40:44 +02:00
vxworks-clang Add initial support for building for VxWorks using clang 2023-07-21 06:08:04 +02:00
wasm-emscripten wasm: add support for wasm64 build 2022-12-07 08:30:46 +10:00
wasm-emscripten-64 wasm: add support for wasm64 build 2022-12-07 08:30:46 +10:00
win32-arm64-msvc
win32-clang-g++
win32-clang-msvc
win32-g++
win32-icc
win32-icc-k1om
win32-msvc