Start build script

This commit is contained in:
Pierre HUBERT 2020-06-16 10:15:50 +02:00
parent 06641e726f
commit 3a06e6c7c5

23
build_win.sh Normal file
View File

@ -0,0 +1,23 @@
#export QTDIR=/c/Qt/Qt5.12.8/5.12.8/mingw73_64
#export PATH=$PATH:/c/Qt/Qt5.12.8/Tools/mingw730_32/bin/
#export PATH=$PATH:$QTDIR/bin/
#export PATH=$PATH:/c/Qt/Qt5.12.8/Tools/mingw730_32/bin/
#qmake -config release -spec win32-g++ "CONFIG+=qtquickcompiler"
#mingw32-make.exe qmake_all
#mingw32-make.exe -f Makefile.Release
#bash
export RELEASE_PATH=~/Documents/projects/build-ComunicWatcher-Desktop_Qt_5_12_8_MinGW_64_bit-Release/release/
export MINGW_BIN=/c/Qt/Qt5.12.8/5.12.8/mingw73_64/bin
$MINGW_BIN/windeployqt.exe --release $RELEASE_PATH
# Copy missing dependencies
cp $MINGW_BIN/libgcc_s_seh-1.dll $RELEASE_PATH
#cp $MINGW_BIN/libgcc_s_sjlj-1.dll $RELEASE_PATH
cp $MINGW_BIN/libstdc++-6.dll $RELEASE_PATH
cp $MINGW_BIN/libwinpthread-1.dll $RELEASE_PATH