回帖:fsu0413:看了下,如果你执行过QQtPatcher的话应该不会有问题的,我这边实际上是用QQtPatcher把这个路径删了。
下面这个提示只是需要手动修改D:/ProgramFiles/Qt/Qt5.12.11-Windows-x86-MinGW7.3.0-staticFull/mkspecs/modules/qt_lib_network_private.pri这个文件而已,其他的文件都自动 .. (2021-12-09 06:32)
感谢大神的回复!如何修改的呢?
D:/ProgramFiles/Qt/Qt5.12.11-Windows-x86-MinGW7.3.0-staticFull/mkspecs/modules/qt_lib_network_private.pri的内容为:
QT.network_private.VERSION = 5.12.11
QT.network_private.name = QtNetwork
QT.network_private.module =
QT.network_private.libs = $$QT_MODULE_LIB_BASE
QT.network_private.includes = $$QT_MODULE_INCLUDE_BASE/QtNetwork/5.12.11 $$QT_MODULE_INCLUDE_BASE/QtNetwork/5.12.11/QtNetwork
QT.network_private.frameworks =
QT.network_private.depends = core_private network
QT.network_private.uses = openssl
QT.network_private.module_config = v2 staticlib internal_module
QT.network_private.enabled_features = openssl-linked openssl system-proxies
QT.network_private.disabled_features = securetransport libproxy linux-netlink
QMAKE_LIBS_OPENSSL = libssl libcrypto libadvapi32 libcrypt32 libuser32 libgdi32 libwsock32 libws2_32
QMAKE_LIBS_NETWORK = -lws2_32
另外,qt的动态库,是qt完成下载 qt-opensource-windows-x86-5.12.11.exe 安装在D盘。选择的mingw73_32 ,mingw73-64编译器,D:\ProgramFiles\Qt\Qt5.12.11\5.12.11\mingw73_32\mkspecs\modules\qt_lib_network_private.pri的内容为:
QT.network_private.VERSION = 5.12.11
QT.network_private.name = QtNetwork
QT.network_private.module =
QT.network_private.libs = $$QT_MODULE_LIB_BASE
QT.network_private.includes = $$QT_MODULE_INCLUDE_BASE/QtNetwork/5.12.11 $$QT_MODULE_INCLUDE_BASE/QtNetwork/5.12.11/QtNetwork
QT.network_private.frameworks =
QT.network_private.depends = core_private network
QT.network_private.uses = openssl/nolink
QT.network_private.module_config = v2 internal_module
QT.network_private.enabled_features = openssl system-proxies
QT.network_private.disabled_features = securetransport openssl-linked libproxy linux-netlink
QMAKE_LIBS_OPENSSL =
QMAKE_LIBS_NETWORK = -lws2_32