summaryrefslogtreecommitdiffstats
path: root/tools/qmake
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-20 16:24:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-21 16:21:39 +0100
commit6a2ecb47b9e3c78e7c947549d7d3aff2a903a5fe (patch)
tree57f6313ca7674ec68732244fd3aff6ff99a568e7 /tools/qmake
parent5e321cd3bd933fc6358ae1ff02671e1c31ef6c18 (diff)
Do not disable RTTI for module libraries
This would prevent QWebEnginePage to be subclassed in applications built with RTTI enabled. We don't need this anymore since all classes inherited from exported core classes are pure virtual and completely defined in their header. Change-Id: I4ce19f893626e9bcb5cd4b11b7264e43ddcbac31 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tools/qmake')
-rw-r--r--tools/qmake/mkspecs/features/default_pre.prf5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/qmake/mkspecs/features/default_pre.prf b/tools/qmake/mkspecs/features/default_pre.prf
index e2ae92cdb..843188923 100644
--- a/tools/qmake/mkspecs/features/default_pre.prf
+++ b/tools/qmake/mkspecs/features/default_pre.prf
@@ -3,11 +3,6 @@ QTWEBENGINE_ROOT = $$replace(PWD, /tools/qmake/mkspecs/features$,)
QTWEBENGINEPROCESS_NAME = QtWebEngineProcess
-# Tweaks that shouldn't affect our examples
-!contains(_PRO_FILE_PWD_, $$QTWEBENGINE_ROOT/examples) {
- # We have to disable RTTI for now since that's how chromium builds on linux
- unix:QMAKE_CXXFLAGS += -fno-rtti
-}
# Location of sync.profile
MODULE_BASE_DIR = $$QTWEBENGINE_ROOT