Qt: Enable RTTI in Debug builds for MSVC

Qt 6.6 chokes otherwise.
This commit is contained in:
Stenzek 2023-10-14 18:34:29 +10:00 committed by Connor McLaughlin
parent d8774d2f5a
commit 19b3bd151e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<PreprocessorDefinitions>LZMA_API_STATIC;ENABLE_RAINTEGRATION;ENABLE_OPENGL;ENABLE_VULKAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>QT_NO_EXCEPTIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!-- Current Qt debug builds assert on RTTI. Remove this once we next build Qt. -->
<RuntimeTypeInfo Condition="$(Configuration.Contains(Clang)) And $(Configuration.Contains(Debug))">true</RuntimeTypeInfo>
<RuntimeTypeInfo Condition="$(Configuration.Contains(Debug))">true</RuntimeTypeInfo>
</ClCompile>
<Link>
<AdditionalDependencies>$(QtEntryPointLib);%(AdditionalDependencies)</AdditionalDependencies>