Create symlink for windeployqt
This commit is contained in:
parent
b026866d2f
commit
f4071f40ab
|
@ -295,10 +295,10 @@ package() {
|
|||
|
||||
# Use prl files from build directory since installed prl files seem to have incorrect QMAKE_PRL_LIBS_FOR_CMAKE
|
||||
pushd "$srcdir/build-${_arch}/lib"
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib" --parents {} +
|
||||
find -iname '*.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib" --parents {} +
|
||||
popd
|
||||
pushd "$srcdir/build-${_arch}/plugins"
|
||||
find -iname '*.static.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib/qt/plugins" --parents {} +
|
||||
find -iname '*.prl' -exec cp --target-directory "${pkgdir}/usr/${_arch}/lib/qt/plugins" --parents {} +
|
||||
popd
|
||||
|
||||
if isStatic; then
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
_qt_module=qttools
|
||||
pkgname="mingw-w64-qt5-tools"
|
||||
pkgver=5.10.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc="A cross-platform application and UI framework (Development Tools, QtHelp; mingw-w64)"
|
||||
depends=('mingw-w64-qt5-declarative')
|
||||
|
@ -110,7 +110,7 @@ package() {
|
|||
|
||||
# Create symlinks for tools
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
for tool in lconvert lupdate lrelease; do
|
||||
for tool in lconvert lupdate lrelease windeployqt; do
|
||||
ln -sf "../${_arch}/lib/qt/bin/${tool}" "${pkgdir}/usr/bin/${_arch}-$tool-qt5"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue