summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-26 17:31:20 +0100
committerKai Köhne <kai.koehne@qt.io>2022-02-17 13:03:50 +0100
commitd1fbe3e9c0fb17dfacab4a93f97f8e51b8b48c22 (patch)
treea2471ca9490cb25d162119aa88bbdabc125c6918
parent7736e97091576f5d87877e6458e31e4c95855ed2 (diff)
Compile repo with warnings as errors
Let the compilation fail if new warnings are introduced for developer builds & supported compilers. Fixes: QTBUG-100249 Change-Id: I5e2a169d3342646b88cbea829251e53dd38be0b3 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit dace5d12929ff7b19a1290f126e3df6341de887c) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f958eaf07..990326f13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,10 +10,6 @@ project(QtWayland # special case
LANGUAGES CXX C
)
-# special case begin
-# TODO: Fix warnings and remove this
-set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)
-
# Make sure we only use latest private CMake API, aka no compatibility wrappers.
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
@@ -38,7 +34,6 @@ find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS
OpenGL
Quick
)
-# special case end
# special case begin
# Moved above.