qt6-bb10/mkspecs/common
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
android Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
bsd
c89
integrity
mac
posix Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
qnx Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
rtems
uikit
vxworks undef READ and WRITE on VxWorks 2023-08-31 22:30:35 +00:00
wasm QMake: Fix quoting of WASM's ASYNCIFY_IMPORTS linker option 2024-02-19 15:24:07 +01:00
clang-mac.conf
clang.conf
g++-base.conf
g++-macx.conf
g++-unix.conf
g++-win32.conf
g++.conf
gcc-base-mac.conf
gcc-base-unix.conf
gcc-base.conf
ghs-base.conf
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf
ghs-integrity-x86.conf
icc-base-unix.conf
ios.conf
linux.conf
llvm.conf
mac.conf
macx.conf Bump macOS minimum deployment target to 12 (Monterey) 2024-02-01 01:50:35 +02:00
msvc-based-version.conf
msvc-desktop.conf
msvc-version.conf
qcc-base-qnx-aarch64le.conf
qcc-base-qnx-armle-v7.conf
qcc-base-qnx-x86-64.conf
qcc-base-qnx-x86.conf
qcc-base-qnx.conf
qcc-base.conf
rtems-base.conf
sanitize.conf
shell-unix.conf
shell-win32.conf
solaris.conf
tvos.conf
uikit.conf
unix.conf
watchos.conf
windows-desktop.conf
windows-vulkan.conf