diff --git a/kiwix-desktop.pro b/kiwix-desktop.pro index 5d6c752f..ce02e162 100644 --- a/kiwix-desktop.pro +++ b/kiwix-desktop.pro @@ -18,9 +18,13 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = kiwix-desktop TEMPLATE = app -QMAKE_CXXFLAGS += -std=c++17 -Werror +QMAKE_CXXFLAGS += -std=c++17 QMAKE_LFLAGS += -std=c++17 +!win32 { + QMAKE_CXXFLAGS += -Werror +} + # Also change resources/org.kiwix.desktop.appdata.xml DEFINES += VERSION="2.3.1"