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
|
# Use prl files from build directory since installed prl files seem to have incorrect QMAKE_PRL_LIBS_FOR_CMAKE
|
||||||
pushd "$srcdir/build-${_arch}/lib"
|
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
|
popd
|
||||||
pushd "$srcdir/build-${_arch}/plugins"
|
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
|
popd
|
||||||
|
|
||||||
if isStatic; then
|
if isStatic; then
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
_qt_module=qttools
|
_qt_module=qttools
|
||||||
pkgname="mingw-w64-qt5-tools"
|
pkgname="mingw-w64-qt5-tools"
|
||||||
pkgver=5.10.1
|
pkgver=5.10.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
pkgdesc="A cross-platform application and UI framework (Development Tools, QtHelp; mingw-w64)"
|
pkgdesc="A cross-platform application and UI framework (Development Tools, QtHelp; mingw-w64)"
|
||||||
depends=('mingw-w64-qt5-declarative')
|
depends=('mingw-w64-qt5-declarative')
|
||||||
|
@ -110,7 +110,7 @@ package() {
|
||||||
|
|
||||||
# Create symlinks for tools
|
# Create symlinks for tools
|
||||||
mkdir -p "${pkgdir}/usr/bin"
|
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"
|
ln -sf "../${_arch}/lib/qt/bin/${tool}" "${pkgdir}/usr/bin/${_arch}-$tool-qt5"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue