{"id":5190,"date":"2021-04-30T17:24:06","date_gmt":"2021-04-30T09:24:06","guid":{"rendered":"https:\/\/damogame.cn\/wordpress\/?p=5190"},"modified":"2021-04-30T17:24:06","modified_gmt":"2021-04-30T09:24:06","slug":"%e4%bd%bf%e7%94%a8msvc-2017%e9%9d%99%e6%80%81%e7%bc%96%e8%af%91qbittorrent","status":"publish","type":"post","link":"https:\/\/i007.cc\/wordpress\/archives\/5190","title":{"rendered":"\u4f7f\u7528MSVC 2017\u9759\u6001\u7f16\u8bd1qBittorrent"},"content":{"rendered":"<p><a href=\"https:\/\/blog.csdn.net\/npy_lp\/article\/details\/108120848\">\u539f\u6587\u5730\u5740<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>tanglinux 2020-08-20 11:59:34 269 \u6536\u85cf 2<br \/>\n\u5206\u7c7b\u4e13\u680f\uff1a \u7f51\u7edc\u5de5\u5177\u7bb1 Windows\u73af\u5883<br \/>\n\u7248\u6743<br \/>\n\u64cd\u4f5c\u7cfb\u7edf\uff1aWindows 7 SP1 64-bit<\/p>\n<p>\u7f16\u8bd1\u5668\uff1aMSVC 2017\u793e\u533a\u7248\uff08Community Edition\uff09<\/p>\n<p>\u6240\u6709\u6e90\u7801\uff1aqBittorrent.zip<\/p>\n<p>&nbsp;<\/p>\n<p>\u5728Windows 7\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4f7f\u7528MSVC 2017\u7f16\u8bd132\u4f4d\u548c64\u4f4d\u7684BT\u4e0b\u8f7d\u8f6f\u4ef6qBittorrent\uff0c\u8be6\u60c5\u53ef\u53c2\u8003Compiling: MSVC 2017 (static linkage)\uff08\u65f6\u95f4\u4e45\u4e86\uff0c\u7f51\u5740\u53ef\u80fd\u4f1a\u5931\u6548\uff0c\u53c2\u8003\u672c\u6587\u4e00\u6837\u53ef\u4ee5\u6210\u529f\u7f16\u8bd1\uff09\u3002\u672c\u6587\u53ea\u9a8c\u8bc1\u7f16\u8bd132\u4f4d\u7684qBittorrent\u7684\u64cd\u4f5c\u8fc7\u7a0b\u3002\u64cd\u4f5c\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<p>\u4e00\u3001\u7f16\u8bd1\u524d\u51c6\u5907<\/p>\n<p>1\u3001\u4e0b\u8f7d\u6240\u4f7f\u7528\u7684\u8f6f\u4ef6\u4ee5\u53ca\u4f9d\u8d56\u5e93<\/p>\n<p>\uff081\uff09\u3001Perl\u8bed\u8a00\u89e3\u6790\u7a0b\u5e8f\uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684Strawberry Perl\u5e76\u5b89\u88c5\u3002<\/p>\n<p>\uff082\uff09\u3001\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684NASM assembler\u5e76\u5b89\u88c5\uff08\u53ef\u80fd\u9700\u8981\u4e3a\u5b83\u7684\u5b89\u88c5\u8def\u5f84\u8bbe\u7f6e\u73af\u5883\u53d8\u91cfpath\uff09\u3002<\/p>\n<p>\uff083\uff09\u3001\u4e0b\u8f7dzlib-1.2.11.tar.gz\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b83\u7684SHA256\u6821\u9a8c\u7801\u4e3a\u201cc3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1\u201d\u3002<\/p>\n<p>\uff084\uff09\u3001\u4e0b\u8f7dopenssl-1.1.1d.tar.gz\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b83\u7684SHA256\u6821\u9a8c\u7801\u4e3a\u201c1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2\u201d\u3002<\/p>\n<p>\uff085\uff09\u3001\u4e0b\u8f7dboost_1_71_0.zip\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b83\u7684SHA256\u6821\u9a8c\u7801\u4e3a\u201c85a94ac71c28e59cf97a96714e4c58a18550c227ac8b0388c260d6c717e47a69\u201d\u3002<\/p>\n<p>\uff086\uff09\u3001\u4e0b\u8f7dlibtorrent-rasterbar-1.2.2.tar.gz\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\u3002<\/p>\n<p>\uff087\uff09\u3001\u4e0b\u8f7dQt\u6e90\u7801qt-everywhere-src-5.13.2.zip\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b83\u7684MD5\u6821\u9a8c\u7801\u4e3a\u201c39a0465610f70d9f877f42fc5337d1ac\u201d\u3002<\/p>\n<p>\uff088\uff09\u3001\u4e0b\u8f7dqBittorrent\u6e90\u7801qbittorrent-4.2.5.tar.gz\u5e76\u5c06\u5b83\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\uff0c\u5b83\u7684SHA256\u6821\u9a8c\u7801\u4e3a\u201c8b45080860f1322bae5e13866fadf132dc1a8b37a7eafac6c7a3021fa2c97976\u201d\u3002<\/p>\n<p>2\u3001\u521b\u5efa\u5de5\u4f5c\u76ee\u5f55G:\\QBITTORRENT\uff08\u4f7f\u7528\u5176\u4ed6\u76ee\u5f55\u6548\u679c\u76f8\u540c\uff0c\u53ea\u662f\u5728\u540e\u9762\u7684\u64cd\u4f5c\u4e2d\u9700\u8981\u6b63\u786e\u586b\u5199\u4f60\u6240\u4f7f\u7528\u7684\u5de5\u4f5c\u76ee\u5f55\uff09\uff0c\u7136\u540e\u5728\u8be5\u5de5\u4f5c\u76ee\u5f55\u4e0b\u521b\u5efabase\u548cqt5\u7b49\u4e24\u4e2a\u5b50\u76ee\u5f55\uff0c\u5206\u522b\u7528\u4e8e\u5b58\u653e\u7f16\u8bd1Qt\u6240\u4f9d\u8d56\u7684\u5e93\u4ee5\u53caQt\u81ea\u8eab\u7684\u5e93\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>G:\\QBITTORRENT\\install_msvc32\\base<br \/>\nG:\\QBITTORRENT\\install_msvc32\\qt5<br \/>\n64\u4f4d\uff1a<\/p>\n<p>G:\\QBITTORRENT\\install_msvc64\\base<br \/>\nG:\\QBITTORRENT\\install_msvc64\\qt5<br \/>\n3\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u7684\u65b9\u5f0f\u7f16\u8bd1\u7a0b\u5e8f\uff0c\u901a\u8fc7\u8def\u5f84\u201c\u5f00\u59cb-&gt;\u6240\u6709\u7a0b\u5e8f-&gt; Visual Studio 2017-&gt; Visual Studio Tools-&gt; VC\u201d\u6253\u5f00\u547d\u4ee4\u884c\u7ec8\u7aef\uff0c\u7f16\u8bd132\u4f4d\u7684\u7a0b\u5e8f\u4f7f\u7528\u7ec8\u7aef\u201cx86 Native Tools Command Prompt for VS 2017\u201d\uff0c64\u4f4d\u7684\u4f7f\u7528\u201c\u9002\u7528\u4e8e VS 2017 \u7684 x64 \u672c\u673a\u5de5\u5177\u547d\u4ee4\u63d0\u793a\u201d\u3002\u6253\u5f00\u547d\u4ee4\u884c\u7ec8\u7aef\u4e4b\u540e\uff0c\u4f7f\u7528\u547d\u4ee4\u201ccd \/d G:\\QBITTORRENT\u201d\u5c06\u5f53\u524d\u76ee\u5f55\u5207\u6362\u5230\u5de5\u4f5c\u76ee\u5f55\u3002<\/p>\n<p>\u4e8c\u3001\u7f16\u8bd1Zlib<\/p>\n<p>1\u3001\u89e3\u538bzlib-1.2.11.tar.gz\u3002<\/p>\n<p>2\u3001\u8fdb\u5165Zlib\u6e90\u7801\u76ee\u5f55\uff0c\u5982\u201ccd G:\\QBITTORRENT\\zlib-1.2.11\\zlib-1.2.11\u201d\u3002<\/p>\n<p>3\u3001\u4fee\u6539win32\/Makefile.msc\u6587\u4ef6\u4e2d\u7684CFLAGS\uff0cASFLAGS\u548cLDFLAGS\u7b49\u9009\u9879\u7684\u503c\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>32-bit: CFLAGS = -nologo -O1 -Oy- -Gy -Gw -GL -MT $(LOC)<br \/>\n64-bit: CFLAGS = -nologo -O1 -Gy -Gw -GL -MT $(LOC)<br \/>\nLDFLAGS = \/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO \/NODEFAULTLIB:MSVCRT<br \/>\n\u9009\u9879ASFLAGS\u5220\u9664\u201c-Zi\u201d\u503c\u3002<\/p>\n<p>4\u3001\u4f7f\u7528\u547d\u4ee4\u201cnmake -f win32\/Makefile.msc\u201d\u7f16\u8bd1Zlib\u3002<\/p>\n<p>5\u3001\u5c06\u6240\u751f\u6210\u7684zlib.h\u3001zconf.h\u548czlib.lib\u7b49\u6587\u4ef6\u62f7\u8d1d\u5230\u5de5\u4f5c\u76ee\u5f55\u3002\u4f7f\u7528xcopy\u547d\u4ee4\u62f7\u8d1d\u6587\u4ef6\u65f6\uff0c\u4f1a\u8be2\u95ee\u662f\u5426\u521b\u5efainclude\u548clib\u76ee\u5f55\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>xcopy zlib.h G:\\QBITTORRENT\\install_msvc32\\base\\include<br \/>\nxcopy zconf.h G:\\QBITTORRENT\\install_msvc32\\base\\include<br \/>\nxcopy zlib.lib G:\\QBITTORRENT\\install_msvc32\\base\\lib<br \/>\n64\u4f4d\uff1a<\/p>\n<p>xcopy zlib.h G:\\QBITTORRENT\\install_msvc64\\base\\include<br \/>\nxcopy zconf.h G:\\QBITTORRENT\\install_msvc64\\base\\include<br \/>\nxcopy zlib.lib G:\\QBITTORRENT\\install_msvc64\\base\\lib<br \/>\n\u4e09\u3001\u7f16\u8bd1OpenSSL\uff08\u9700\u8981perl\u548cnasm\u7a0b\u5e8f\uff09<\/p>\n<p>1\u3001\u89e3\u538bopenssl-1.1.1d.tar.gz\u3002<\/p>\n<p>2\u3001\u8fdb\u5165OpenSSL\u6e90\u7801\u76ee\u5f55\uff0c\u5982\u201ccd G:\\QBITTORRENT\\openssl-1.1.1d\\openssl-1.1.1d\u201d\u3002<\/p>\n<p>3\u3001\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u751f\u6210makefile\u6587\u4ef6\uff08\u9700\u8981\u5728C\u76d8\u751f\u6210\u4e00\u4e2a\u65e0\u7528\u7684\u76ee\u5f55openssl\uff09\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>perl Configure VC-WIN32 no-shared no-zlib no-zlib-dynamic threads &#8211;release &#8211;openssldir=C:\\openssl &#8211;prefix=G:\\QBITTORRENT\\install_msvc32\\base -IG:\\QBITTORRENT\\install_msvc32\\base\\include -LG:\\QBITTORRENT\\install_msvc32\\base\\lib &#8211;with-zlib-lib=G:\\QBITTORRENT\\install_msvc32\\base\\lib\\zlib.lib<br \/>\n64\u4f4d\uff1a<\/p>\n<p>perl Configure VC-WIN64A no-shared no-zlib no-zlib-dynamic threads &#8211;release &#8211;openssldir=C:\\openssl &#8211;prefix=G:\\QBITTORRENT\\install_msvc64\\base -IG:\\QBITTORRENT\\install_msvc64\\base\\include -LG:\\QBITTORRENT\\install_msvc64\\base\\lib &#8211;with-zlib-lib=G:\\QBITTORRENT\\install_msvc64\\base\\lib\\zlib.lib<br \/>\n4\u3001\u4fee\u6539makefile\uff0c\uff081\uff09\u3001\u4e3a\u9009\u9879CFLAGS\u589e\u52a0\u503c\u201c-Oy- -Gy -Gw -GL -MT\u201d\uff0832\u4f4d\uff09\u6216\u201c-Gy -Gw -GL -MT\u201d\uff0864\u4f4d\uff09\uff1b\uff082\uff09\u3001\u4ee5\u4e0b\u9762\u7684\u503c\u66ff\u6362LDFLAGS\u9009\u9879\u539f\u6709\u7684\u503c\uff1a<\/p>\n<p>LDFLAGS=\/NOLOGO \/SUBSYSTEM:CONSOLE \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO \/NODEFAULTLIB:MSVCRT<br \/>\n5\u3001\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u7f16\u8bd1OpenSSL\u3002<\/p>\n<p>nmake<br \/>\nnmake test<br \/>\n6\u3001\u5b89\u88c5OpenSSL\u3002\u7531\u4e8e\u6211\u4eec\u5728\u4fee\u6539LDFLAGS\u9009\u9879\u65f6\uff0c\u5220\u9664\u4e86\u201c\/debug\u201d\u503c\uff0c\u6240\u4ee5\u5728\u7f16\u8bd1\u65f6\u4e0d\u4f1a\u751f\u6210*.pdb\u6587\u4ef6\uff0c\u800c\u4e0b\u9762\u7684\u5b89\u88c5\u547d\u4ee4\u5374\u9700\u8981\u201capps\/openssl.pdb\u201d\u8fd9\u4e2a\u6587\u4ef6\uff0c\u56e0\u6b64\u6211\u4eec\u9700\u8981\u624b\u52a8\u751f\u6210\u4e00\u4e2a\u65e0\u6548\u7684openssl.pdb\u6587\u4ef6\u3002\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5\uff0c\u5c31\u662f\u590d\u5236apps\u76ee\u5f55\u4e0b\u7684openssl.exe\u6587\u4ef6\u5e76\u5c06\u5176\u91cd\u547d\u540d\u4e3aopenssl.pdb\u3002\u7136\u540e\u518d\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5OpenSSL\uff1a<\/p>\n<p>nmake install_sw<br \/>\n\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5220\u9664\u8fd9\u4e2a\u65e0\u6548\u7684G:\\QBITTORRENT\\install_msvc32\\base\\bin\\openssl.pdb\u6587\u4ef6\uff0864\u4f4d\u7f16\u8bd1\u6267\u884c\u7c7b\u4f3c\u7684\u547d\u4ee4\uff0c\u76ee\u5f55\u4e0d\u540c\u800c\u5df2\uff09\u3002<\/p>\n<p>\u56db\u3001\u7f16\u8bd1Boost<\/p>\n<p>1\u3001\u89e3\u538bboost_1_71_0.zip\u3002<\/p>\n<p>2\u3001\u8fdb\u5165Boost\u6e90\u7801\u76ee\u5f55\uff0c\u5982\u201ccd G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\u201d\u3002<\/p>\n<p>3\u3001\u6267\u884c\u811a\u672cbootstrap.bat\u751f\u6210b2.exe\u7a0b\u5e8f\u3002<\/p>\n<p>4\u3001\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u7f16\u8bd1Boost\uff08libtorrent\u53ea\u7528\u5230\u5176\u4e2d\u7684system\u5e93\uff09\uff0c\u5176\u4e2d\u201c-j N\u201d\u4e2d\u7684N\u8868\u793a\u6211\u4eec\u6253\u7b97\u4f7f\u7528\u591a\u5c11\u4e2a\u7ebf\u7a0b\u540c\u65f6\u7f16\u8bd1Boost\uff0c\u6bd4\u5982\u6211\u4eec\u6240\u4f7f\u7528\u7684\u7535\u8111\u7684CPU\u4e3a4\u6838\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u75284\u66ff\u4ee3N\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;with-system &#8211;toolset=msvc-14.1 variant=release link=static runtime-link=static include=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\include&#8221; library-path=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\lib&#8221; define=BOOST_ASIO_DISABLE_CONNECTEX cxxflags=&#8221;-O1 -Oy- -Gy -Gw -GL&#8221; linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N<br \/>\n64\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;with-system &#8211;toolset=msvc-14.1 address-model=64 variant=release link=static runtime-link=static include=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\include&#8221; library-path=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\lib&#8221; &#8211;prefix=&#8221;G:\\QBITTORRENT\\install_msvc64\\base&#8221; cxxflags=&#8221;-O1 -Gy -Gw -GL&#8221; linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N<br \/>\n\u7f16\u8bd1\u6240\u751f\u6210\u7684\u9759\u6001\u5e93\u5b58\u653e\u5728G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\\stage\\lib\u76ee\u5f55\u4e0b\uff0c\u5934\u6587\u4ef6\u5b58\u653e\u5728G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\u76ee\u5f55\u4e0b\u7684boost\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>\u4e94\u3001\u7f16\u8bd1libtorrent<\/p>\n<p>1\u3001\u89e3\u538blibtorrent-rasterbar-1.2.2.tar.gz\u3002<\/p>\n<p>2\u3001\u8fdb\u5165libtorrent\u6e90\u7801\u76ee\u5f55\uff0c\u5982\u201ccd G:\\QBITTORRENT\\libtorrent-rasterbar-1.2.2\\libtorrent-rasterbar-1.2.2\u201d\u3002<\/p>\n<p>3\u3001\u5c06boost_1_71_0\u4e2d\u7684b2.exe\u62f7\u8d1d\u5230\u5f53\u524d\u76ee\u5f55\uff0c\u5982\u201ccopy ..\\..\\boost_1_71_0\\boost_1_71_0\\b2.exe b2.exe\u201d\u3002<\/p>\n<p>4\u3001\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u7f16\u8bd1libtorrent\uff0c\u5176\u4e2d\u201c-j N\u201d\u4e2d\u7684N\u8868\u793a\u6211\u4eec\u6253\u7b97\u4f7f\u7528\u591a\u5c11\u4e2a\u7ebf\u7a0b\u540c\u65f6\u7f16\u8bd1Boost\uff0c\u6bd4\u5982\u6211\u4eec\u6240\u4f7f\u7528\u7684\u7535\u8111\u7684CPU\u4e3a4\u6838\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u75284\u66ff\u4ee3N\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;without-python &#8211;toolset=msvc-14.1 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl openssl-version=1.1 logging=off dht=on windows-version=win7 boost-link=static -sBOOST_ROOT=&#8221;G:\\qBittorrent\\boost_1_71_0\\boost_1_71_0&#8243; include=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\include&#8221; include=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0&#8243; library-path=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\lib&#8221; library-path=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\\stage\\lib&#8221; &#8211;prefix=&#8221;G:\\QBITTORRENT\\install_msvc32\\base&#8221; define=BOOST_ASIO_DISABLE_CONNECTEX cxxflags=&#8221;-O1 -Oy- -Gy -Gw -GL&#8221; linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N<br \/>\n64\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;without-python &#8211;toolset=msvc-14.1 address-model=64 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl openssl-version=1.1 logging=off dht=on windows-version=win7 boost-link=static -sBOOST_ROOT=&#8221;G:\\qBittorrent\\boost_1_71_0\\boost_1_71_0&#8243; include=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\include&#8221; include=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0&#8243; library-path=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\lib&#8221; library-path=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\\stage\\lib&#8221; &#8211;prefix=&#8221;G:\\QBITTORRENT\\install_msvc64\\base&#8221; cxxflags=&#8221;-O1 -Gy -Gw -GL&#8221; define=BOOST_ASIO_DISABLE_CONNECTEX linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N<br \/>\n5\u3001\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5libtorrent\u5e93\uff0c\u5176\u4e2d\u201c-j N\u201d\u4e2dN\u7684\u610f\u4e49\u4e0e\u7b2c\u56db\u6b65\u9aa4\u76f8\u540c\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;without-python &#8211;toolset=msvc-14.1 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl openssl-version=1.1 logging=off dht=on windows-version=win7 boost-link=static -sBOOST_ROOT=&#8221;G:\\qBittorrent\\boost_1_71_0\\boost_1_71_0&#8243; include=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\include&#8221; include=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0&#8243; library-path=&#8221;G:\\QBITTORRENT\\install_msvc32\\base\\lib&#8221; library-path=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\\stage\\lib&#8221; &#8211;prefix=&#8221;G:\\QBITTORRENT\\install_msvc32\\base&#8221; define=BOOST_ASIO_DISABLE_CONNECTEX cxxflags=&#8221;-O1 -Oy- -Gy -Gw -GL&#8221; linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N install<br \/>\n64\u4f4d\uff1a<\/p>\n<p>b2 -q &#8211;without-python &#8211;toolset=msvc address-model=64 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl openssl-version=1.1 logging=off dht=on windows-version=win7 boost-link=static -sBOOST_ROOT=&#8221;G:\\qBittorrent\\boost_1_71_0\\boost_1_71_0&#8243; include=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\include&#8221; include=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0&#8243; library-path=&#8221;G:\\QBITTORRENT\\install_msvc64\\base\\lib&#8221; library-path=&#8221;G:\\QBITTORRENT\\boost_1_71_0\\boost_1_71_0\\stage\\lib&#8221; &#8211;prefix=&#8221;G:\\QBITTORRENT\\install_msvc64\\base&#8221; cxxflags=&#8221;-O1 -Gy -Gw -GL&#8221; define=BOOST_ASIO_DISABLE_CONNECTEX linkflags=&#8221;\/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO&#8221; &#8211;hash -j N install<br \/>\n\u516d\u3001\u7f16\u8bd1Qt\u6e90\u7801<\/p>\n<p>1\u3001\u89e3\u538bqt-everywhere-src-5.13.2.zip\u3002<\/p>\n<p>2\u3001\u8fdb\u5165Qt\u6e90\u7801\u76ee\u5f55\uff0c\u5982\u201ccd G:\\QBITTORRENT\\qt-everywhere-src-5.13.2\\qt-everywhere-src-5.13.2\u201d\u3002<\/p>\n<p>3\u3001\u6309\u7167\u4e0b\u9762\u7684\u8bf4\u660e\u4fee\u6539qtbase\/mkspecs\/common\/msvc-desktop.conf\u6587\u4ef6\u3002<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>QMAKE_CFLAGS_RELEASE = -O1 -Oy- -Gy -Gw -GL -MT<br \/>\nQMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O1 -Oy- -Gy -Gw -GL -MT -Zi<br \/>\n64\u4f4d\uff1a<\/p>\n<p>QMAKE_CFLAGS_RELEASE = -O1 -Gy -Gw -GL -MT<br \/>\nQMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O1 -Gy -Gw -GL -MT -Zi<br \/>\n32\u4f4d\u548c64\u4f4d\uff1a<\/p>\n<p>QMAKE_CFLAGS_DEBUG = -Zi -MTd<br \/>\nQMAKE_LFLAGS = \/NOLOGO \/DYNAMICBASE \/NXCOMPAT \/LTCG<br \/>\nQMAKE_LFLAGS_RELEASE = \/DEBUG \/OPT:REF \/OPT:ICF=5 \/MANIFEST:EMBED \/INCREMENTAL:NO \/NODEFAULTLIB:MSVCRT<br \/>\nQMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = \/DEBUG \/OPT:REF \/OPT:ICF=5 \/INCREMENTAL:NO<br \/>\n4\u3001\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u914d\u7f6eQt\u6e90\u7801\uff1a<\/p>\n<p>32\u4f4d\uff1a<\/p>\n<p>configure -prefix G:\\QBITTORRENT\\install_msvc32\\qt5 -I G:\\QBITTORRENT\\install_msvc32\\base\\include -L G:\\QBITTORRENT\\install_msvc32\\base\\lib -platform win32-msvc -release -opensource -confirm-license -strip -no-shared -static -static-runtime -ltcg -make libs -make tools -nomake examples -no-compile-examples -no-dbus -no-icu -system-zlib -openssl-linked -no-gtk -no-opengl -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns ZLIB_LIBS=&#8221;-lzlib&#8221; OPENSSL_LIBS=&#8221;-lzlib -llibcrypto -llibssl -lgdi32 -luser32 -lws2_32 -lAdvapi32 -lCrypt32&#8243;<br \/>\n64\u4f4d\uff1a<\/p>\n<p>configure -prefix G:\\QBITTORRENT\\install_msvc64\\qt5 -I G:\\QBITTORRENT\\install_msvc64\\base\\include -L G:\\QBITTORRENT\\install_msvc64\\base\\lib -platform win32-msvc -release -opensource -confirm-license -strip -no-shared -static -static-runtime -ltcg -make libs -make tools -nomake examples -no-compile-examples -no-dbus -no-icu -system-zlib -openssl-linked -no-gtk -no-opengl -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns ZLIB_LIBS=&#8221;-lzlib&#8221; OPENSSL_LIBS=&#8221;-lzlib -llibcrypto -llibssl -lgdi32 -luser32 -lws2_32 -lAdvapi32 -lCrypt32&#8243;<br \/>\n\u7f16\u8bd1Qt\u6240\u751f\u6210\u7684\u9759\u6001\u5e93\u548c\u5934\u6587\u4ef6\u5c06\u4fdd\u5b58\u5230G:\\QBITTORRENT\\install_msvc32\\qt5\uff0832\u4f4d\uff09\u76ee\u5f55\u3002<\/p>\n<p>5\u3001\u53ef\u4ee5\u4f7f\u7528nmake\u6216jom\u7f16\u8bd1Qt\uff0c\u4f46nmake\u53ea\u652f\u6301\u5355\u7ebf\u7a0b\u7f16\u8bd1\uff0c\u6240\u4ee5\u8fd9\u91cc\u4f7f\u7528jom\u7a0b\u5e8f\u6765\u7f16\u8bd1\uff0c\u4ee5\u52a0\u5feb\u7f16\u8bd1\u901f\u5ea6\u3002\u4e0b\u8f7djom_1_1_3.zip\u5e76\u89e3\u538b\uff0c\u7136\u540e\u5c06\u5176\u4e2d\u7684jom.exe\u6587\u4ef6\u62f7\u8d1d\u5230G:\\QBITTORRENT\\qt-everywhere-src-5.13.2\\qt-everywhere-src-5.13.2\u76ee\u5f55\u4e0b\u3002\u6267\u884c\u4e0b\u9762\u6240\u793a\u7684\u547d\u4ee4\u7f16\u8bd1\u53ca\u5b89\u88c5Qt\uff08\u5176\u4e2d\u201c-j N\u201d\u4e2dN\u7684\u610f\u4e49\u4e0e\u7b2c\u56db\u6b65\u9aa4\u76f8\u540c\uff09\uff1a<\/p>\n<p>jom -j N<br \/>\njom -j N install<br \/>\n\u4e03\u3001\u5b89\u88c5Qt Creator\u5e76\u914d\u7f6e\u6784\u5efa\u5957\u4ef6<\/p>\n<p>1\u3001\u5b89\u88c5Qt Creator\uff0c\u6211\u4eec\u8fd9\u91cc\u662f\u901a\u8fc7qt-opensource-windows-x86-5.13.0.exe\u5b89\u88c5\u7a0b\u5e8f\u5b89\u88c5\uff0cQt Creator\u7684\u7248\u672c\u4e3aQt Creator 4.9.1 (Enterprise)\u3002<\/p>\n<p>2\u3001\u542f\u52a8Qt Creator\u5e76\u9009\u62e9\u201c\u5de5\u5177-&gt;\u9009\u9879\u201d\u83dc\u5355\u3002<\/p>\n<p>3\u3001\u5728\u7b2c2\u6b65\u9aa4\u6240\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u201cKits\u201d\u9009\u9879\uff0c\u7136\u540e\u9009\u62e9\u5176\u4e2d\u7684\u201cQt Versions\u201d\u6807\u7b7e\uff0c\u6700\u540e\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u6dfb\u52a0\u201d\u6309\u94ae\uff0c\u6dfb\u52a0\u6211\u4eec\u6240\u5236\u4f5c\u7684qmake.exe\uff08\u6216\uff09\u5e76\u5c06\u5176\u547d\u540d\u4e3a\u201cQt 5.13.2 MSVC2017 32bit\u201d\u6216\u201cQt 5.13.2 MSVC2017 64bit\u201d\u3002\u70b9\u51fb\u5de6\u4e0b\u89d2\u201cApply\u201d\u6309\u94ae\u4fdd\u5b58\u53d8\u66f4\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>4\u3001\u5728\u540c\u4e00\u5bf9\u8bdd\u6846\uff0c\u9009\u62e9\u201c\u6784\u5efa\u5957\u4ef6\uff08Kit\uff09\u201d\u6807\u7b7e\u3002\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u201c\u6dfb\u52a0\u201d\u6309\u94ae\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u5728\u201cQt version\u201d\u7684\u4e0b\u62c9\u5217\u8868\u4e2d\uff0c\u9009\u62e9\u7b2c3\u6b65\u9aa4\u6240\u8bbe\u7f6e\u7684Qt\u7248\u672c\uff0c\u5982\u201cQt 5.13.2 MSVC2017 32bit\u201d\u6216\u201cQt 5.13.2 MSVC2017 64bit\u201d\u3002\u5c06\u8be5\u6784\u4ef6\u5957\u4ef6\u547d\u540d\u4e3a\u201cDesktop Qt 5.13.2 MSVC2017 32bit\u201d\u6216\u201cDesktop Qt 5.13.2 MSVC2017 64bit\u201d\u3002\u5bf9\u4e8e\u7f16\u8bd132\u4f4d\u7684\u7a0b\u5e8f\uff0c\u201cCompiler\u201d\u7684C\u6216C++\u7684\u7f16\u8bd1\u5668\u90fd\u9009\u62e9\u201cMicrosoft Visual C++ Compiler 15.0 (x86)\u201d\u3002\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201cApply\u201d\u6309\u94ae\u4fdd\u5b58\u53d8\u66f4\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u516b\u3001\u7f16\u8bd1qBittorrent<\/p>\n<p>1\u3001\u89e3\u538bqbittorrent-4.2.5.tar.gz\u3002<\/p>\n<p>2\u3001\u91cd\u547d\u540dconf.pri.windows\u4e3aconf.pri\uff0c\u6253\u5f00\u5b83\u5e76\u6309\u7167\u4e0b\u9762\u7684\u8bf4\u660e\u4fee\u6539\u5176\u4e2d\u7684\u67d0\u4e9b\u5185\u5bb9\uff0c\u5982\u4e0b\u6240\u793a\uff08\u8bf4\u660e\u4e2d\u6240\u7528\u7684\u8def\u5f84\u4e3a32\u4f4d\u7684\u7a0b\u5e8f\uff0c64\u4f4d\u7684\u5219\u6539\u4e3a\u76f8\u5e94\u7684\u8def\u5f84\uff09\uff1a<\/p>\n<p>\uff081\uff09\u3001\u4fee\u6539INCLUDEPATH\u7684\u503c\uff0c\u591a\u4f59\u7684INCLUDEPATH\u9009\u9879\u5219\u5220\u9664\u3002<\/p>\n<p>INCLUDEPATH += $$quote(G:\/QBITTORRENT\/boost_1_71_0\/boost_1_71_0)<br \/>\nINCLUDEPATH += $$quote(G:\/QBITTORRENT\/install_msvc32\/base\/include)<br \/>\nINCLUDEPATH += $$quote(G:\/QBITTORRENT\/install_msvc32\/qt5\/include)<br \/>\n\uff082\uff09\u3001\u4fee\u6539\u4f9d\u8d56\u5e93\u7684\u8def\u5f84\uff0c\u591a\u4f59\u7684\u5219\u5220\u9664\u3002<\/p>\n<p>LIBS += $$quote(-LG:\/QBITTORRENT\/boost_1_71_0\/boost_1_71_0\/stage\/lib)<br \/>\nLIBS += $$quote(-LG:\/QBITTORRENT\/install_msvc32\/base\/lib)<br \/>\nLIBS += $$quote(-LG:\/QBITTORRENT\/install_msvc32\/qt5\/lib)<br \/>\n\uff083\uff09\u3001\u7f16\u8bd132\u4f4d\u7684release\u7248\u672c\u7684qBittorrent\uff0c\u5219\u5982\u4e0b\u4fee\u6539libboost_system\u9759\u6001\u5e93\u7684\u6587\u4ef6\u540d\u3002<\/p>\n<p>CONFIG(debug, debug|release) {<br \/>\nLIBS += libtorrentd.lib \\<br \/>\nlibboost_system-vc140-mt-sgd-1_64.lib<br \/>\n}<br \/>\nelse {<br \/>\nLIBS += libtorrent.lib \\<br \/>\nlibboost_system-vc141-mt-s-x32-1_71.lib<br \/>\n}<br \/>\n\uff084\uff09\u3001\u6ce8\u91ca\u6389\u5982\u4e0b\u8fd9\u884c\uff0c\u5426\u5219\u5728\u94fe\u63a5\u65f6\u4f1a\u4ea7\u751f\u201cLINK : fatal error LNK1181: \u65e0\u6cd5\u6253\u5f00\u8f93\u5165\u6587\u4ef6libeay32.lib\u201d\u7684\u9519\u8bef\u3002<\/p>\n<p>#LIBS += libeay32.lib ssleay32.lib<br \/>\n3\u3001\u542f\u52a8Qt Creator\u5e76\u6253\u5f00G:\\QBITTORRENT\\qbittorrent-4.2.5\\qbittorrent-4.2.5\\qbittorrent.pro\u9879\u76ee\u6587\u4ef6\u3002\u9009\u62e9\u6211\u4eec\u6240\u8bbe\u7f6e\u7684\u6784\u5efa\u5957\u4ef6\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>4\u3001\u5728\u201c\u9879\u76ee\u201d\u7684\u201c\u6784\u5efa\u8bbe\u7f6e\u201d\u4e2d\uff0c\u9009\u62e9\u201cRelease\u201d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>5\u3001\u9009\u62e9\u201c\u6784\u5efa\u201d-&gt;\u201c\u6784\u5efa\u9879\u76eeqbittorrent\u201d\u83dc\u5355\uff0c\u7f16\u8bd1qBittorrent\u3002<\/p>\n<p>6\u3001\u6700\u540e\u751f\u6210\u7684\u7a0b\u5e8fqbittorrent.exe \u5b58\u50a8\u5728G:\\QBITTORRENT\\qbittorrent-4.2.5\\build-qbittorrent-Desktop_Qt_5_13_2_MSVC2017_32bit-Release\\src\\release\u76ee\u5f55\u4e0b\u3002qbittorrent.exe\u662f\u5355\u4e00\u6587\u4ef6\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u3002<\/p>\n<p>\u4e5d\u3001Qt\u7f16\u8bd1\u8865\u5145\u8bf4\u660e<\/p>\n<p>1\u3001\u6240\u6709Qt Sql Drivers\u4f1a\u6839\u636e\u7cfb\u7edf\u4e2d\u7684\u60c5\u51b5\u81ea\u52a8\u5224\u65ad\u662f\u5426\u7f16\u8bd1\u3002\u6bd4\u5982\u5c06-no-sql-sqlite\u548c-no-sqlite\u914d\u7f6e\u9009\u9879\u53bb\u6389\uff0c\u5219\u7f16\u8bd1\u6210\u529f\u4e4b\u540e\u7684Qt\u5e93\u5c31\u4f1a\u652f\u6301sqlite\u6570\u636e\u5e93\u7684\u8bbf\u95ee\u3002\u518d\u6bd4\u5982\uff0c\u5728\u7f16\u8bd1\u6240\u7528\u7684Windows\u7cfb\u7edf\u4e2d\u5b89\u88c5MySQL Server\uff0c\u5e76\u5c06\u5b83\u7684\u5b89\u88c5\u8def\u5f84\u914d\u7f6e\u5230\u9009\u9879\u4e2d\uff08\u6bd4\u5982MYSQL_PREFIX=&#8221;C:\\Program Files (x86)\\MySQL\\MySQL Server 5.7&#8243;\uff09\uff0c\u5219Qt\u5e93\u5c31\u4f1a\u652f\u6301MySql\u6570\u636e\u5e93\u7684\u8bbf\u95ee\u3002<\/p>\n<p>2\u3001\u7f16\u8bd1Qt Tools\u7684QDoc\u9700\u8981LLVM\u7684\u652f\u6301\uff0c\u56e0\u6b64\u5728\u7f16\u8bd1\u6240\u7528\u7684Windows\u7cfb\u7edf\u4e2d\u9700\u8981\u5b89\u88c5LLVM\uff0c\u5e76\u5c06\u5b83\u7684\u5b89\u88c5\u8def\u5f84\u8bbe\u7f6e\u5230LLVM_INSTALL_DIR\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u7136\u540e\uff08\u53ef\u80fd\u9700\u8981\u91cd\u542f\u7f16\u8bd1\u6240\u7528\u7684\u547d\u4ee4\u884c\u7ec8\u7aef\uff09\u4f7f\u7528configure\u811a\u672c\u91cd\u65b0\u914d\u7f6eQt\u6e90\u7801\uff0c\u5219QDoc\u529f\u80fd\u5c31\u4f1a\u88ab\u7f16\u8bd1\u8fdb\u9759\u6001\u5e93\u4e2d\u3002<\/p>\n<p>3\u3001\u4ee5\u4e0b\u662f\u6bd4\u7b2c\u516d\u6b65\u9aa4\u7f16\u8bd1\u66f4\u591a\u529f\u80fd\u7684\u914d\u7f6e\u9009\u9879\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>configure -prefix G:\\QBITTORRENT\\install_msvc32\\qt5 -I G:\\QBITTORRENT\\install_msvc32\\base\\include -L G:\\QBITTORRENT\\install_msvc32\\base\\lib -platform win32-msvc -release -opensource -confirm-license -strip -no-shared -static -static-runtime -ltcg -make libs -make tools -nomake examples -no-compile-examples -no-icu -system-zlib -openssl-linked -no-gtk -no-opengl -no-opengles3 -no-angle -qt-sqlite -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns ZLIB_LIBS=&#8221;-lzlib&#8221; OPENSSL_LIBS=&#8221;-lzlib -llibcrypto -llibssl -lgdi32 -luser32 -lws2_32 -lAdvapi32 -lCrypt32&#8243; -recheck-all MYSQL_PREFIX=&#8221;C:\\Program Files (x86)\\MySQL\\MySQL Server 5.7&#8243;<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>\n\u7248\u6743\u58f0\u660e\uff1a\u672c\u6587\u4e3aCSDN\u535a\u4e3b\u300ctanglinux\u300d\u7684\u539f\u521b\u6587\u7ae0\uff0c\u9075\u5faaCC 4.0 BY-SA\u7248\u6743\u534f\u8bae\uff0c\u8f6c\u8f7d\u8bf7\u9644\u4e0a\u539f\u6587\u51fa\u5904\u94fe\u63a5\u53ca\u672c\u58f0\u660e\u3002<br \/>\n\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/blog.csdn.net\/npy_lp\/article\/details\/108120848<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u5730\u5740 &nbsp; tanglinu<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[],"tags":[119],"class_list":["post-5190","post","type-post","status-publish","format-standard","hentry","tag-03-"],"_links":{"self":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/comments?post=5190"}],"version-history":[{"count":0,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5190\/revisions"}],"wp:attachment":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/media?parent=5190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/categories?post=5190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/tags?post=5190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}