Merge pull request #3775 from gxcreator/qt5-path-fix

Fixed packaging on some systems with different QT5 path
This commit is contained in:
bunnei 2020-05-02 01:36:26 -04:00 committed by GitHub
commit 02910953d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
.ci/scripts/windows/docker.sh Normal file → Executable file
View File

@ -29,7 +29,13 @@ echo 'Prepare binaries...'
cd .. cd ..
mkdir package mkdir package
QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/' if [ -d "/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/" ]; then
QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt5/plugins/platforms/'
else
#fallback to qt
QT_PLATFORM_DLL_PATH='/usr/x86_64-w64-mingw32/lib/qt/plugins/platforms/'
fi
find build/ -name "yuzu*.exe" -exec cp {} 'package' \; find build/ -name "yuzu*.exe" -exec cp {} 'package' \;
# copy Qt plugins # copy Qt plugins