Skip to content

Commit

Permalink
Add script to make windows deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Dec 3, 2014
1 parent 0b13f1d commit 6ba4267
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions scripts/mingw-deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
QT=/data/extra2/installation/qt/x86_64-mingw-5.3/

rm -rf flow &> /dev/null
mkdir flow
cd flow

cp $QT/bin/Qt5Core.dll .
cp $QT/bin/Qt5Gui.dll .
cp $QT/bin/Qt5Qml.dll .
cp $QT/bin/Qt5Quick.dll .
cp $QT/bin/Qt5Widgets.dll .
cp $QT/bin/Qt5Network.dll .

cp /usr/i686-w64-mingw32/bin/libgcc_s_sjlj-1.dll .
cp /usr/i686-w64-mingw32/bin/libstdc++-6.dll .
cp /usr/i686-w64-mingw32/bin/libwinpthread-1.dll .
cp /data/opt/mingw32/bin/opengl32.dll .


rsync -av $QT/plugins/platforms/ platforms/
rsync -av $QT/qml/QtQml/ QtQml/
rsync -av $QT/qml/QtQuick/ QtQuick/
rsync -av $QT/qml/QtQuick.2/ QtQuick.2/
rsync -av $QT/qml/QtGraphicalEffects/ QtGraphicalEffects/

cp ../flow.exe .
mkdir plugins
cp ../plugins/*.dll plugins

cd ..

zip -r flow.zip flow/

0 comments on commit 6ba4267

Please sign in to comment.