travis: add imageformats plugins (per #3891)

This commit is contained in:
liushuyu 2018-07-12 09:31:42 +08:00
parent 080eed7d78
commit 13049b289d
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 3 additions and 1 deletions

View File

@ -31,9 +31,11 @@ mkdir package
QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/' QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/'
find build/ -name "citra*.exe" -exec cp {} 'package' \; find build/ -name "citra*.exe" -exec cp {} 'package' \;
# copy Qt plugins
mkdir package/platforms mkdir package/platforms
cp "${QT_PLATFORM_DLL_PATH}/qwindows.dll" package/platforms/ cp "${QT_PLATFORM_DLL_PATH}/qwindows.dll" package/platforms/
cp -r "${QT_PLATFORM_DLL_PATH}/../mediaservice/" package/ cp -rv "${QT_PLATFORM_DLL_PATH}/../mediaservice/" package/
cp -rv "${QT_PLATFORM_DLL_PATH}/../imageformats/" package/
rm -f package/mediaservice/*d.dll rm -f package/mediaservice/*d.dll
for i in package/*.exe; do for i in package/*.exe; do