Skip to content
Snippets Groups Projects
Commit 8ae1248c authored by hluk's avatar hluk
Browse files

Windows: Fix SSL/TLS errors


Fixes #1177

Signed-off-by: default avatarLukas Holecek <hluk@email.cz>
parent 2c405080
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,18 @@ environment:
- QTDIR: C:\Qt\5.13\mingw73_32
CMAKE_GENERATOR: MinGW Makefiles
MINGW_PATH: C:\Qt\Tools\mingw730_32
# https://wiki.qt.io/Qt_5.13_Tools_and_Versions
# https://www.appveyor.com/docs/windows-images-software/#tools
OPENSSL_PATH: C:\OpenSSL-v111-Win32\bin
LIBSSL: libssl-1_1.dll
LIBCRYPTO: libcrypto-1_1.dll
- QTDIR: C:\Qt\5.13\mingw73_64
CMAKE_GENERATOR: MinGW Makefiles
MINGW_PATH: C:\Qt\Tools\mingw730_64
OPENSSL_PATH: C:\OpenSSL-v111-Win64\bin
LIBSSL: libssl-1_1-x64.dll
LIBCRYPTO: libcrypto-1_1-x64.dll
# Parameters for default build commands (build_script is used instead).
build:
......
......@@ -28,6 +28,9 @@ xcopy /F "%BuildRoot%\src\*.qm" "%Destination%\translations" || goto :error
mkdir "%Destination%\plugins"
xcopy /F "%BuildPlugins%\*.dll" "%Destination%\plugins" || goto :error
xcopy /F "%OPENSSL_PATH%\%LIBCRYPTO%" "%Destination%" || goto :error
xcopy /F "%OPENSSL_PATH%\%LIBSSL%" "%Destination%" || goto :error
%QTDIR%\bin\windeployqt --version
%QTDIR%\bin\windeployqt --help
%QTDIR%\bin\windeployqt --release --no-system-d3d-compiler --no-angle --no-opengl-sw "%Executable%" || goto :error
......
......@@ -6,6 +6,10 @@ set CMAKE_PREFIX_PATH=%QTDIR%\lib\cmake
dir %QTDIR%\bin || goto :error
dir %QTDIR%\lib\cmake || goto :error
dir "%OPENSSL_PATH%" || goto :error
dir "%OPENSSL_PATH%\%LIBCRYPTO%" || goto :error
dir "%OPENSSL_PATH%\%LIBSSL%" || goto :error
REM Note: Following removes sh.exe from PATH so that CMake can generate MinGW Makefile.
PATH=%MINGW_PATH%\bin;%PATH:C:\Program Files\Git\usr\bin;=%
......
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