summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-04 13:05:28 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-12 19:03:51 +0000
commit49e3b2f27e86c8f8a0b01334649e7bef2d20fecb (patch)
treef9ae96651444599491ef03d665726872e6b7b611 /src
parent0038b400530e2459a2aa89576aa245007962a1c9 (diff)
Disable PCH for qdrawhelper.cpp with GCC 5
Precompiled headers with GCC 5.3.1 causes internal compiler error in qdrawhelper.cpp, so compile this specific file without PCH. Task-number: QTBUG-54154 Change-Id: Id5d9fe99cbeca58a60734510898e4ccb9694c203 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/painting.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri
index 33db1ea0b4..86e35c39f8 100644
--- a/src/gui/painting/painting.pri
+++ b/src/gui/painting/painting.pri
@@ -108,6 +108,12 @@ qtConfig(cssparser) {
painting/qcssutil.cpp
}
+# Causes internal compiler errors with at least GCC 5.3.1:
+gcc:equals(QT_GCC_MAJOR_VERSION, 5) {
+ SOURCES -= painting/qdrawhelper.cpp
+ NO_PCH_SOURCES += painting/qdrawhelper.cpp
+}
+
SSE2_SOURCES += painting/qdrawhelper_sse2.cpp
SSSE3_SOURCES += painting/qdrawhelper_ssse3.cpp
SSE4_1_SOURCES += painting/qdrawhelper_sse4.cpp \