opencloud-desktop: fix build with Qt 6.10.1 (#464510)

This commit is contained in:
K900
2025-11-24 09:45:32 +00:00
committed by GitHub
2 changed files with 19 additions and 0 deletions
@@ -40,6 +40,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-NM9SspeMXu1q3tfpcFk4OuLapu/clbotJLu2u4nmAlY=";
};
# Fix build with Qt 6.10.1
# Submitted upstream: https://github.com/opencloud-eu/desktop/pull/710
patches = [
./qt-6.10.1.patch
];
buildInputs = [
ecm618
qt6.qtbase
@@ -0,0 +1,13 @@
diff --git a/src/libsync/globalconfig.h b/src/libsync/globalconfig.h
index 7094385b4..2ef8a44d2 100644
--- a/src/libsync/globalconfig.h
+++ b/src/libsync/globalconfig.h
@@ -6,7 +6,7 @@
#include "libsync/opencloudsynclib.h"
#include <QVariant>
-#include <QtQmlMeta>
+#include <QtQmlIntegration/QtQmlIntegration>
namespace OCC {
class OPENCLOUD_SYNC_EXPORT GlobalConfig : public QObject