Update nodeeditor version (#1399)

pull/1401/head
Romain Chardiny 3 years ago committed by GitHub
parent fb660db7de
commit 16e9a73bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      packages/n/nodeeditor/patches/2.2.2/fix_qt.patch
  2. 2
      packages/n/nodeeditor/xmake.lua

@ -0,0 +1,24 @@
diff --git a/include/nodes/internal/NodePainterDelegate.hpp b/include/nodes/internal/NodePainterDelegate.hpp
index d532619..f22496c 100644
--- a/include/nodes/internal/NodePainterDelegate.hpp
+++ b/include/nodes/internal/NodePainterDelegate.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <QPainter>
+#include <QtGui/QPainter>
#include "NodeGeometry.hpp"
#include "NodeDataModel.hpp"
diff --git a/include/nodes/internal/QStringStdHash.hpp b/include/nodes/internal/QStringStdHash.hpp
index cc5eb68..5e5e6e9 100644
--- a/include/nodes/internal/QStringStdHash.hpp
+++ b/include/nodes/internal/QStringStdHash.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <QtGlobal>
+#include <QtCore/QtGlobal>
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))

@ -6,7 +6,9 @@ package("nodeeditor")
set_urls("https://github.com/paceholder/nodeeditor/archive/refs/tags/$(version).tar.gz",
"https://github.com/paceholder/nodeeditor.git")
add_versions("2.1.3", "4e3194a04ac4a2a2bf4bc8eb6cc27d5cc154923143c1ecf579ce7f0115a90585")
add_versions("2.2.2", "010ebcf9b68f676c81ea13ea4a541f7ba441ec3dc3b6508315c36f6466c13536")
add_patches("2.1.3", path.join(os.scriptdir(), "patches", "2.1.3", "fix_qt.patch"), "11b6e765f8c8b0002f84ef0c3eb7dde23076b0564679760b7f4c8ba7c7e46887")
add_patches("2.2.2", path.join(os.scriptdir(), "patches", "2.2.2", "fix_qt.patch"), "8c0efbf0883689f52d8f2bca2ae4deae9964311812c808b686a84f629f8bd66a")
add_deps("cmake")

Loading…
Cancel
Save