Unverified Commit 6e856153 authored by Nick Cao's avatar Nick Cao
Browse files

zeal-qt6: fix build with qt 6.5

parent e15575e3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
  postPatch = ''
    sed -i CMakeLists.txt \
      -e 's@^project.*@project(Zeal VERSION ${version})@'
  '' + lib.optionalString (!isQt5) ''
    substituteInPlace src/app/CMakeLists.txt \
      --replace "COMPONENTS Widgets" "COMPONENTS Widgets QmlIntegration"
  '';

  nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ];