Skip to content

Instantly share code, notes, and snippets.

@judge2020
Created March 20, 2018 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judge2020/0e4eb063ef62d61e104e9c549392a9cf to your computer and use it in GitHub Desktop.
Save judge2020/0e4eb063ef62d61e104e9c549392a9cf to your computer and use it in GitHub Desktop.
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 10.0.16299.0
which nmake
cd C:\QtBuild
c:
( 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,-qtwebsockets
set dOPENSSL_LIBS="-L c:\SSLBuild\_build\lib -llibssl -llibcrypto -lgdi32 -luser32 -llibeay32 -lssleay32"
set OPENSSL_LIBS="-L c:\SSLBuild\_build\lib -l libssl -l libcrypto -l libeay32 -l ssleay32 -l gdi32"
rm config.cache
configure.bat -prefix C:\QtBuild\qtbase -platform win32-msvc2015 -opensource -debug -confirm-license -nomake examples -openssl-linked -I D:\SSLBuild\_build\include -L C:\SSLBuild\_build\lib -make-tool jom -opengl desktop OPENSSL_LIBS="-lUser32 -lAdvapi32 -lGdi32 -lCrypt32" & cmd /k || cmd /k
cmd /k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment