diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-02-19 14:37:04 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-02-20 17:42:07 +0100 |
| commit | 0ca95ae8472b722f6b18660c21230e64c1dfada7 (patch) | |
| tree | 2a02a7543038ea750d4e023deb27a39341a191cb /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 405052737e60d56fec83589a8dd7359bb2ebc1d8 (diff) | |
Disable LTO for Qt Quick module on MSVC
Creating library qtbase\lib\Qt6Quick.lib and object qtbase\lib\Qt6Quick.exp
mocs_compilation.cpp.obj : error LNK2001: unresolved external symbol
"public: __cdecl QExplicitlySharedDataPointer<class
QFontVariableAxisPrivate>::~QExplicitlySharedDataPointer<class
QFontVariableAxisPrivate>(void)"
(??1?$QExplicitlySharedDataPointer@VQFontVariableAxisPrivate@@@@QEAA@XZ)
qtbase\bin\Qt6Quick.dll : fatal error LNK1120: 1 unresolved externals
Since qtbase ac5ab8ce32c6bd4122ecc690d30eade5c4f4bf2a
~QESDP<QFontVariableAxisPrivate> is not exported, but it should not need
to be. This error is believed to be due to an MSVC bug.
Fixes: QTBUG-133494
Pick-to: 6.9
Change-Id: Ia5fdbf7153251c60f23470d38ad19dde778ebf83
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Zhao Yuhang <2546789017@qq.com>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
