Commit 3efe5715 authored by Eric Helgeson's avatar Eric Helgeson
Browse files

kiwix: fix build error with latest qt

parent 3f173303
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
    hash = "sha256-B3RcYr/b8pZTJV35BWuqmWbq+C2WkkcwBR0oNaUXPRw=";
  };

  patches = [
    ./remove-Werror.patch
  ];

  nativeBuildInputs = [
    qmake
    pkg-config
+12 −0
Original line number Diff line number Diff line
diff --git a/kiwix-desktop.pro b/kiwix-desktop.pro
index c1f4f93..bf10828 100644
--- a/kiwix-desktop.pro
+++ b/kiwix-desktop.pro
@@ -27,7 +27,6 @@ QMAKE_CXXFLAGS += -std=c++17
 QMAKE_LFLAGS +=  -std=c++17
 
 !win32 {
-    QMAKE_CXXFLAGS += -Werror
     equals(QT_MAJOR_VERSION, 6):equals(QT_MINOR_VERSION, 6) {
         # Fail the build on errors, except for 'template-id-cdtor' due to a problem with Qt headers.
         # This can be removed when the Ubuntu package is fixed.