我正在尝试通过链接静态openssl来静态构建Qt 5.12.3(MSVC)。
我从C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
开始了cmd
然后我运行以下命令来设置所需的PATH,
vcvars32
然后导航到QT Src并启动命令:
configure.bat -static -debug-and-release -platform win32-msvc -prefix out -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sqlite -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests -openssl-linked -I E:\Qt\OpenSSL-Win32_full\include -L E:\Qt\OpenSSL-Win32_full\lib\VC\static OPENSSL_LIBS="libcrypto32MD.lib libssl32MD.lib" OPENSSL_LIBS_DEBUG="libcrypto32MDd.lib libssl32MDd.lib" OPENSSL_LIBS_RELEASE="libcrypto32MD.lib libssl32MD.lib"
但是我总是进入输出Checking for OpenSSL... no
和
Qt Network:
getifaddrs() ........................... no
IPv6 ifname ............................ no
libproxy ............................... no
OpenSSL ................................ no
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ no
DTLS ................................... no
SCTP ................................... no
Use system proxies ..................... yes
这是E:\Qt\OpenSSL-Win32_full\lib\VC\static
目录中的文件列表
为什么我要面对这个?