Skip to content

Commit c1e90f3

Browse files
committed
qt6-declarative: make qmlimportscanner available in /bin as qmlimportscanner-qt6
windeployqt expects to find qmlimportscanner next to it, and it's patched to use qmlimportscanner-qt6
1 parent 52e90c3 commit c1e90f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mingw-w64-qt6-declarative/PKGBUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
77
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
88
_qtver=6.10.0
99
pkgver=${_qtver/-/}
10-
pkgrel=1
10+
pkgrel=2
1111
pkgdesc='Classes for QML and JavaScript languages (mingw-w64)'
1212
arch=(any)
1313
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -77,6 +77,9 @@ package_qt6-declarative() {
7777

7878
install -d "$pkgdir${MINGW_PREFIX}"/share/licenses/${_realname}
7979
install -Dm644 $_pkgfn/LICENSES/* -t "$pkgdir${MINGW_PREFIX}"/share/licenses/${_realname}
80+
81+
# windeployqt expects to find qmlimportscanner next to it
82+
ln "${pkgdir}"${MINGW_PREFIX}/share/qt6/bin/qmlimportscanner.exe "${pkgdir}"${MINGW_PREFIX}/bin/qmlimportscanner-qt6.exe
8083
}
8184

8285
package_qt6-declarative-debug() {

0 commit comments

Comments
 (0)