qt6-declarative/0001-qmlimportscanner-Include-module-versions-again.patch
Christophe Marin decd0cd261 Accepting request 1098101 from home:Vogtinator:branches:KDE:Qt5
- Add patch to make qmlimportscanner usable with qml-autoreqprov
  again (QTBUG-115170):
  * 0001-qmlimportscanner-Include-module-versions-again.patch

OBS-URL: https://build.opensuse.org/request/show/1098101
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/qt6-declarative?expand=0&rev=46
2023-07-11 11:39:48 +00:00

26 lines
791 B
Diff

From c75d424ea77385688e97f150df0d3e68ba55f5f4 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fvogt@suse.de>
Date: Tue, 11 Jul 2023 10:51:35 +0200
Subject: [PATCH] qmlimportscanner: Include module versions again
Fixes: QTBUG-115170
---
tools/qmlimportscanner/main.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/qmlimportscanner/main.cpp b/tools/qmlimportscanner/main.cpp
index 7c8f1bc98e..c8635323ce 100644
--- a/tools/qmlimportscanner/main.cpp
+++ b/tools/qmlimportscanner/main.cpp
@@ -434,7 +434,6 @@ getImportDetails(const QVariant &inputImport,
import.insert(preferLiteral(), prefer);
}
}
- import.remove(versionLiteral());
const ImportDetailsAndDeps result = {import, dependencies};
cache.insert({inputImport, result});
--
2.41.0