diff --git a/recipes-lxqt/lximage-qt/files/0001-HACK-fix-wrongly-included-native-QtCore-qconfig.h.patch b/recipes-lxqt/lximage-qt/files/0001-HACK-fix-wrongly-included-native-QtCore-qconfig.h.patch deleted file mode 100644 index d06b9d5e..00000000 --- a/recipes-lxqt/lximage-qt/files/0001-HACK-fix-wrongly-included-native-QtCore-qconfig.h.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 7ac6c099cef0c106136437da76bb31d16f7d56f4 Mon Sep 17 00:00:00 2001 -From: Max Krummenacher -Date: Fri, 26 Apr 2019 13:23:34 +0000 -Subject: [PATCH] HACK: fix wrongly included native QtCore/qconfig.h - -For whatever reason the CPP includes qconfig.h from the native sysroot. -This causes QT_NO_WIDGETS to be true and as a result the following error -is thrown: - -| .../0.14.1-r0/git/src/imageview.cpp: In member function 'void LxImage::ImageView::setSVG(const QString&)': -| .../0.14.1-r0/git/src/imageview.cpp:329:5: error: 'QGraphicsSvgItem' was not declared in this scope -| QGraphicsSvgItem *svgItem = new QGraphicsSvgItem(fileName); -| ^~~~~~~~~~~~~~~~ - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Max Krummenacher ---- - src/graphicsscene.h | 1 + - src/mainwindow.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/graphicsscene.h b/src/graphicsscene.h -index 79049f6..b2195f0 100644 ---- a/src/graphicsscene.h -+++ b/src/graphicsscene.h -@@ -22,6 +22,7 @@ - #define LXIMAGE_GRAPHICSSCENE_H - - #include -+#undef QT_NO_WIDGETS - #include - - namespace LxImage { -diff --git a/src/mainwindow.h b/src/mainwindow.h -index 3b13fc3..c72ed2b 100644 ---- a/src/mainwindow.h -+++ b/src/mainwindow.h -@@ -22,6 +22,7 @@ - #define LXIMAGE_MAINWINDOW_H - - #include -+#undef QT_NO_WIDGETS - #include "ui_mainwindow.h" - - #include "imageview.h" --- -2.13.6 - diff --git a/recipes-lxqt/lximage-qt/lximage-qt.bb b/recipes-lxqt/lximage-qt/lximage-qt.bb index 8b0aef3d..b2ffd3db 100644 --- a/recipes-lxqt/lximage-qt/lximage-qt.bb +++ b/recipes-lxqt/lximage-qt/lximage-qt.bb @@ -8,8 +8,7 @@ inherit lxqt qt5-translation pkgconfig features_check gtk-icon-cache mime mime-x DEPENDS += "qtx11extras qtsvg libfm-qt libexif libxfixes" -SRC_URI += " file://0001-HACK-fix-wrongly-included-native-QtCore-qconfig.h.patch" -SRCREV = "53099ed072a6194a2b673f69935a1da0d583532f" -PV = "0.16.0" +SRCREV = "e57f2d002eb10e79aef5897cfbd388a1766ae6ee" +PV = "0.17.0" FILES_${PN} += "${datadir}/icons"