diff --git a/qml-autoreqprov.changes b/qml-autoreqprov.changes index 98d6f7d..d6988e2 100644 --- a/qml-autoreqprov.changes +++ b/qml-autoreqprov.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 22 14:18:20 UTC 2024 - Fabian Vogt + +- Bump version to 1.4.1 +- qmldirreqprov.sh: + * Only gGenerate unversioned URI provides for Qt 6+ + ------------------------------------------------------------------- Sun Jan 21 12:11:19 UTC 2024 - Fabian Vogt diff --git a/qml-autoreqprov.spec b/qml-autoreqprov.spec index 0488253..3202174 100644 --- a/qml-autoreqprov.spec +++ b/qml-autoreqprov.spec @@ -17,7 +17,7 @@ Name: qml-autoreqprov -Version: 1.4 +Version: 1.4.1 Release: 0 Summary: Automatic dependency generator for QML files and modules License: GPL-3.0-or-later diff --git a/qmldirreqprov.sh b/qmldirreqprov.sh index b996564..114368f 100644 --- a/qmldirreqprov.sh +++ b/qmldirreqprov.sh @@ -102,7 +102,9 @@ while read file; do continue fi moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports - foundModuleExport "qt${qtver}qmlimport(${import})" "$min" + if [[ $qtver -ge 6 ]]; then + foundModuleExport "qt${qtver}qmlimport(${import})" "$min" + fi done < <(qmlpluginexports-qt${qtver} "$plugin" "$module") done fi