summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/PlatformQt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/PlatformQt.cmake')
-rw-r--r--Source/WebCore/PlatformQt.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/WebCore/PlatformQt.cmake b/Source/WebCore/PlatformQt.cmake
index 5d2d01cc9..3f839b0dd 100644
--- a/Source/WebCore/PlatformQt.cmake
+++ b/Source/WebCore/PlatformQt.cmake
@@ -161,7 +161,7 @@ if (COMPILER_IS_GCC_OR_CLANG)
set_source_files_properties(
platform/graphics/qt/ImageBufferDataQt.cpp
PROPERTIES
- COMPILE_FLAGS -frtti
+ COMPILE_FLAGS "-frtti -UQT_NO_DYNAMIC_CAST"
)
endif ()
@@ -234,7 +234,6 @@ list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${Qt5Network_INCLUDE_DIRS}
${Qt5Sensors_INCLUDE_DIRS}
- ${Qt5Sql_INCLUDE_DIRS}
${SQLITE_INCLUDE_DIR}
${ZLIB_INCLUDE_DIRS}
)
@@ -247,7 +246,6 @@ list(APPEND WebCore_LIBRARIES
${Qt5Gui_LIBRARIES}
${Qt5Network_LIBRARIES}
${Qt5Sensors_LIBRARIES}
- ${Qt5Sql_LIBRARIES}
${SQLITE_LIBRARIES}
${ZLIB_LIBRARIES}
)