zint: fix build with qt 6.4
This commit is contained in:
parent
de795b62a7
commit
d3d06877ba
2 changed files with 14 additions and 0 deletions
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-ozhXy7ftmGz1XvmF8AS1ifWJ3Q5hLSsysB8qLUP60n8=";
|
||||
};
|
||||
|
||||
patches = [ ./qobject.patch ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
||||
|
|
12
pkgs/development/libraries/zint/qobject.patch
Normal file
12
pkgs/development/libraries/zint/qobject.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/backend_qt/qzint.h b/backend_qt/qzint.h
|
||||
index d57ab6a..62fb0a4 100644
|
||||
--- a/backend_qt/qzint.h
|
||||
+++ b/backend_qt/qzint.h
|
||||
@@ -19,6 +19,7 @@
|
||||
#ifndef QZINT_H
|
||||
#define QZINT_H
|
||||
|
||||
+#include <QObject>
|
||||
#include <QColor>
|
||||
#include <QPainter>
|
||||
#include "zint.h"
|
Loading…
Reference in a new issue