summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-05-06 15:51:26 +0200
committerKai Koehne <kai.koehne@qt.io>2020-05-07 13:55:30 +0000
commitae4a5b906794aea3cacd58830261f086afc6968b (patch)
treea1d9e0ae959b31cff4223fa8275e186d9ffe247b
parent3e12951c0b35041920989d6089ddb6c2f5c2d3d1 (diff)
Enable warnings-are-errors also for snippets
Pick-to: 5.15 Change-Id: I6b3645924e4f090c7887ce0d6296a71dc8f8159d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/network/doc/snippets/snippets.pro2
-rw-r--r--src/sql/doc/snippets/snippets.pro1
-rw-r--r--src/testlib/doc/snippets/snippets.pro2
-rw-r--r--src/widgets/doc/snippets/snippets.pro1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/network/doc/snippets/snippets.pro b/src/network/doc/snippets/snippets.pro
index bdf854e454..d4598f7265 100644
--- a/src/network/doc/snippets/snippets.pro
+++ b/src/network/doc/snippets/snippets.pro
@@ -7,3 +7,5 @@ QT += network
# ![0]
SOURCES += network/tcpwait.cpp
+
+load(qt_common)
diff --git a/src/sql/doc/snippets/snippets.pro b/src/sql/doc/snippets/snippets.pro
index 46eabbb0a1..5653d478aa 100644
--- a/src/sql/doc/snippets/snippets.pro
+++ b/src/sql/doc/snippets/snippets.pro
@@ -11,3 +11,4 @@ SOURCES += sqldatabase/sqldatabase.cpp \
code/src_sql_kernel_qsqldriver.cpp \
code/src_sql_models_qsqlquerymodel.cpp
+load(qt_common)
diff --git a/src/testlib/doc/snippets/snippets.pro b/src/testlib/doc/snippets/snippets.pro
index 28b6682b72..8d49575aeb 100644
--- a/src/testlib/doc/snippets/snippets.pro
+++ b/src/testlib/doc/snippets/snippets.pro
@@ -8,3 +8,5 @@ SOURCES += code/src_qtestlib_qtestcase.cpp \
code/doc_src_qtqskip.cpp \
code/doc_src_qttest.cpp \
code/src_corelib_kernel_qtestsupport_core.cpp
+
+load(qt_common)
diff --git a/src/widgets/doc/snippets/snippets.pro b/src/widgets/doc/snippets/snippets.pro
index 0818ab6aa2..6284e84913 100644
--- a/src/widgets/doc/snippets/snippets.pro
+++ b/src/widgets/doc/snippets/snippets.pro
@@ -11,3 +11,4 @@ SOURCES += customviewstyle.cpp \
mdiareasnippets.cpp \
myscrollarea.cpp
+load(qt_common)