Skip to content
Snippets Groups Projects
Commit 8af62c99 authored by gxcreator's avatar gxcreator
Browse files

Fixed packaging on some systems with different QT5 path

parent ff0c49e1
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,13 @@ echo 'Prepare binaries...' ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment