VC, привет, Ренат, разобрался
не успел😄я собирал да, статику и статику OpenSSL
SET PATH=C:\Strawberry\c\bin;%PATH% perl Configure VC-WIN64A --prefix=O:\OpenSSLVC --openssldir=O:\openssl-1.1.1g no-shared no-asm echo -openssl-linked set OPENSSL_LIBS="-llibcrypto -llibssl" configure.bat -openssl-linked -static-runtime -skip qt3d -no-warnings-are-errors -release -static -recheck-all -I "O:/OpenSSLVC/include" -L "O:/OpenSSLVC/lib" -prefix F:/QtStatic -opensource -confirm-license -no-opengl -nomake examples -nomake tests -c++std c++17 #if you want build without requirements Visual C++ Redistributable add option: -static-runtime
#jenkins #qt #static #openssl: stage('Build Static Qt Release') { when { expression { !fileExists("${PROJECT_QT}/qtbase/bin/qmake.exe") } } environment { PATH="c:\\Python27;${PATH}" OPENSSL_DIR='c:\\tools\\openssl\\1.1.1\\win32' OPENSSL_LINK_OPTIONS='-openssl-linked OPENSSL_INCDIR="%OPENSSL_DIR%\\include" OPENSSL_LIBDIR="%OPENSSL_DIR%\\lib\\VC\\static" OPENSSL_LIBS="-lWs2_32 -lGdi32 -lAdvapi32 -lCrypt32 -lUser32" OPENSSL_LIBS_DEBUG="-llibssl32MDd -llibcrypto32MDd" OPENSSL_LIBS_RELEASE="-llibssl32MD -llibcrypto32MD"' } steps { dir("${PROJECT_QT}") { bat "c:\\tools\\${PROJECT_TOOLCHAIN}.bat && configure -prefix %CD%\\qtbase -release -static -static-runtime -accessibility -no-icu -no-sql-sqlite -no-qml-debug -nomake examples -nomake tests %OPENSSL_LINK_OPTIONS%" bat "c:\\tools\\${PROJECT_TOOLCHAIN}.bat && nmake module-qtbase module-qtdeclarative module-qttools module-qttranslations module-qtwinextras" } } }
Обсуждают сегодня