Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hmatuschek/kochmorse
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatuschek committed Jul 13, 2018
2 parents ef38767 + fe6979e commit 2353911
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 25 deletions.
11 changes: 6 additions & 5 deletions dist/windows/build.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
SET QT_PATH=C:/Qt/Qt5.6.3
SET QT_BIN_PATH=%QT_PATH%/5.6/mingw482_32/bin
SET QT_INCLUDE_PATH=%QT_PATH%/Tools/mingw482_32/i686-w64-mingw32/include
SET MINGW_PATH=C:/MinGW
SET QT_PATH=C:/Qt/Qt5.11.1
SET QT_BIN_PATH=%QT_PATH%/5.11.1/mingw53_32/bin
SET QT_INCLUDE_PATH=%QT_PATH%/5.11.1/mingw53_32/include
SET MINGW_PATH=C:/Qt/Qt5.11.1/Tools/mingw530_32
SET MINGW_BIN_PATH=%MINGW_PATH%/bin
SET PATH=%MINGW_BIN_PATH%;%QT_BIN_PATH%;%PATH%
SET CMAKE_BIN_PATH=C:/cmake-3.11.4-win32-x86/bin
SET PATH=%MINGW_BIN_PATH%;%QT_BIN_PATH%;%CMAKE_BIN_PATH%;%PATH%

cmake ../.. -G "MinGW Makefiles" -DCMAKE_CXX_FLAGS="-I%QT_INCLUDE_PATH%"
mingw32-make
11 changes: 7 additions & 4 deletions dist/windows/kochmorse.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ section "install"
# Files added here should be removed by the uninstaller (see section "uninstall")
file "kochmorse.exe"
file "*.dll"
file /r "audio"
file /r "platforms"
file /r "imageformats"
file /r "iconengines"
Expand Down Expand Up @@ -85,12 +86,14 @@ section "uninstall"

# Remove files
delete $INSTDIR\kochmorse.exe
delete $INSTDIR\*.dll
delete $INSTDIR\platforms\*.dll
delete $INSTDIR\*.dll
delete $INSTDIR\audio\*.dll
rmDir $INSTDIR\audio
delete $INSTDIR\platforms\*.dll
rmDir $INSTDIR\platforms
delete $INSTDIR\imageformats\*.dll
delete $INSTDIR\imageformats\*.dll
rmDir $INSTDIR\imageformats
delete $INSTDIR\iconengines\*.dll
delete $INSTDIR\iconengines\*.dll
rmDir $INSTDIR\iconengines

# Always delete uninstaller as the last action
Expand Down
30 changes: 14 additions & 16 deletions dist/windows/pack.bat
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
SET PATH=C:/Program Files (x86)/NSIS;%PAHT%
SET QT_PATH=C:/Qt/Qt5.3.2/5.3/mingw482_32/bin
SET QT_PLUGIN_PATH=C:/Qt/Qt5.3.2/5.3/mingw482_32/plugins
SET LIB_PATH=C:/MinGW/bin
SET QT_LIB_PATH=C:/Qt/Qt5.11.1/5.11.1/mingw53_32/bin
SET QT_PLUGIN_PATH=C:/Qt/Qt5.11.1/5.11.1/mingw53_32/plugins
SET NSIS_PATH=C:/Program Files (x86)/NSIS
SET PATH=%NSIS_PATH%;%PAHT%

COPY "src/kochmorse.exe" .
COPY "%QT_BIN_PATH%/Qt5Core.dll" .
COPY "%QT_BIN_PATH%/Qt5Gui.dll" .
COPY "%QT_BIN_PATH%/Qt5Widgets.dll" .
COPY "%QT_BIN_PATH%/Qt5Multimedia.dll" .
COPY "%QT_BIN_PATH%/Qt5Svg.dll" .
COPY "%QT_BIN_PATH%/Qt5Xml.dll" .
COPY "%QT_BIN_PATH%/icuin52.dll" .
COPY "%QT_BIN_PATH%/icuuc52.dll" .
COPY "%QT_BIN_PATH%/icudt52.dll" .
COPY "%QT_BIN_PATH%/libwinpthread-1.dll" .
COPY "%LIB_PATH%/libgcc_s_dw2-1.dll" .
COPY "%LIB_PATH%/libstdc++-6.dll" .
COPY "%QT_LIB_PATH%/Qt5Core.dll" .
COPY "%QT_LIB_PATH%/Qt5Gui.dll" .
COPY "%QT_LIB_PATH%/Qt5Widgets.dll" .
COPY "%QT_LIB_PATH%/Qt5Multimedia.dll" .
COPY "%QT_LIB_PATH%/Qt5Network.dll" .
COPY "%QT_LIB_PATH%/Qt5Svg.dll" .
COPY "%QT_LIB_PATH%/Qt5Xml.dll" .
COPY "%QT_LIB_PATH%/libgcc_s_dw2-1.dll" .
COPY "%QT_LIB_PATH%/libstdc++-6.dll" .
COPY "%QT_LIB_PATH%/libwinpthread-1.dll" .
MKDIR audio
COPY "%QT_PLUGIN_PATH%/audio/qtaudio_windows.dll" audio
MKDIR platforms
COPY "%QT_PLUGIN_PATH%/platforms/qwindows.dll" platforms
MKDIR imageformats
Expand Down
Binary file removed doc/Koch_settings.png
Binary file not shown.
Binary file modified doc/QSO_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/codesettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/devicesettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/effects_settings.png
Binary file not shown.
Binary file added doc/effectsettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/generator_settings.png
Binary file not shown.
Binary file added doc/kochsettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/random_settings.png
Binary file not shown.
Binary file added doc/randomsettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/textgensettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2353911

Please sign in to comment.