Script i made for personal use to build QT with linked openssl. Note that this is heavily tailored to my needs and It likely is not configured to your liking.
Last active
February 16, 2018 02:41
-
-
Save judge2020/ec49e22bb49a9edda2f4171d9c095aa7 to your computer and use it in GitHub Desktop.
Qt build with openssl for VC 2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -no_logo | |
which nmake | |
echo "%OPENSSL_LIBS%" | |
pause | |
set _ROOT=C:\QtBuild | |
cd %_ROOT% | |
( dir /b /a "%dir%" | findstr . ) > nul && ( | |
echo %dir% non-empty | |
) || ( | |
echo %dir% empty | |
git clone https://github.com/qt/qt5 . | |
perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine | |
) | |
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH% | |
SET PATH=%_ROOT%\qtrepotools\bin;%PATH% | |
SET PATH=C:\SSLBuild\_build\bin;%PATH% | |
rm config.cache | |
configure.bat -prefix %_ROOT%\qtbase -opensource -debug-and-release -confirm-license -nomake examples -openssl-linked -opengl dynamic -make-tool jom -I C:\SSLBuild\_build\include -L C:\SSLBuild\_build\lib OPENSSL_LIBS="%OPENSSL_LIBS%" & cmd /k || cmd /k | |
cmd /k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment