diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-07-10 16:28:23 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-07-14 19:03:37 +0000 |
commit | 780d4d5f6199112fa17f7f7d165a4bbc058c269e (patch) | |
tree | 429e638996171f71e47bc3102593d9b12b50da69 | |
parent | 5e0639fae81dc18c9b094883134c25ddd74c93a9 (diff) |
enable RTTI for MSVC build
QtWebEngine creates objects of subclasses of QSGGeometryNode.
QtQuick2DRenderer uses dynamic_cast to determine which subclass it
encounters when visiting the scene graph.
When QtWebEngine is build without RTTI support, dynamic_cast crashes
in QtQuick2DRenderer.
Change-Id: Idb87aad0a7d39e7d386e76923d8b7b2cf19ef7e2
Task-number: QTBUG-47016
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r-- | src/core/qtwebengine.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/qtwebengine.gypi b/src/core/qtwebengine.gypi index b3e645a9b..4b627a626 100644 --- a/src/core/qtwebengine.gypi +++ b/src/core/qtwebengine.gypi @@ -44,6 +44,9 @@ 'CHROMIUM_VERSION=\"<!(python <(version_script_location) -f <(chromium_src_dir)/chrome/VERSION -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")\"', ], 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeTypeInfo': 'true', + }, 'VCLinkerTool': { 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS }, |