diff --git a/qml-autoreqprov.changes b/qml-autoreqprov.changes index 98d6f7d..8cc9505 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 generate 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..e842307 100644 --- a/qmldirreqprov.sh +++ b/qmldirreqprov.sh @@ -101,7 +101,9 @@ while read file; do echo "Ignoring ${import}" >&2 continue fi - moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports + if [[ $qtver -ge 6 ]]; then + moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports + fi foundModuleExport "qt${qtver}qmlimport(${import})" "$min" done < <(qmlpluginexports-qt${qtver} "$plugin" "$module") done