--- a/variables.cmake
+++ b/variables.cmake
@@ -504,7 +504,6 @@ if(MSVC)
 
 elseif(NOT APPLE AND NOT IOS)
 
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
 endif()
--- a/variables.pri
+++ b/variables.pri
@@ -16,8 +16,6 @@ qmlui:  APPVERSION = 5.0.0 GIT
 #############################################################################
 
 # Treat all compiler warnings as errors
-#QMAKE_CXXFLAGS += -Werror
-unix:QMAKE_CFLAGS += -Werror
 
 CONFIG         += warn_on
 
