Files
gentoo/x11-libs/libQGLViewer/files/libQGLViewer-2.9.1-fix_designer_plugin.patch
Nicolas PARLANT 4b08a0d107 x11-libs/libQGLViewer: add 2.9.1, qt6
bump EAPI8

project uses now cmake for main lib
qmake is still used for designerplugin and examples binaries

switch to qt6 only

no subslot as upstream uses only soname qt5/qt6
version restriction may be sufficient here

move examples binaries in /usr/share instead of a /usr/bin subdirectory

Closes: https://bugs.gentoo.org/949089
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28 17:23:58 +00:00

15 lines
464 B
Diff

Set compat Qt6
diff --git a/designerPlugin/designerPlugin.pro b/designerPlugin/designerPlugin.pro
index 0bc3714..e8e2fec 100644
--- a/designerPlugin/designerPlugin.pro
+++ b/designerPlugin/designerPlugin.pro
@@ -26,7 +26,7 @@ INSTALLS += target
HEADERS = qglviewerPlugin.h
SOURCES = qglviewerPlugin.cpp
-equals (QT_MAJOR_VERSION, 5) {
+greaterThan (QT_MAJOR_VERSION, 5) {
QT *= designer
CONFIG *= release
OTHER_FILES += designerplugindescription.json