{"id":210,"date":"2021-11-21T13:49:33","date_gmt":"2021-11-21T13:49:33","guid":{"rendered":"http:\/\/47.103.123.166\/?p=210"},"modified":"2021-11-21T13:49:33","modified_gmt":"2021-11-21T13:49:33","slug":"qt-win10%e4%b8%8b%e7%a8%8b%e5%ba%8f%e6%89%93%e5%8c%85%e5%8f%91%e5%b8%83","status":"publish","type":"post","link":"http:\/\/47.103.123.166\/?p=210","title":{"rendered":"Qt\u2014\u2014win10\u4e0b\u7a0b\u5e8f\u6253\u5305\u53d1\u5e03"},"content":{"rendered":"<p>\u5199\u8fd9\u7bc7\u535a\u5ba2\u662f\u56e0\u4e3a\u7ec8\u4e8e\u6210\u529f\u6253\u5305\u51fa\u53bb\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u4e4b\u524d\u653e\u5230\u5176\u4ed6\u8bbe\u5907\u4e0a\u603b\u662f\u7f3a\u8fd9\u5c11\u90a3&#8230;<\/p>\n<p>ok\uff0c\u5f00\u59cb\u8bb0\u5f55&#8230;.<\/p>\n<h4>Step 1 release exe\u6587\u4ef6<\/h4>\n<p>\u8fd9\u4e00\u6b65\u6bd4\u8f83\u7b80\u5355\uff0c\u628a\u7f16\u8bd1\u9009\u9879\u4ecedebug\u6a21\u5f0f\u6539\u6210release\u6a21\u5f0f\uff0c\u7136\u540e\uff0c\u91cd\u65b0\u7f16\u8bd1\u8fd0\u884c\u4e00\u904d\u3002\u4f1a\u5728\u7f16\u8bd1\u6587\u4ef6\u5939\u4e0b\u7684release\u6587\u4ef6\u5939\u5185\u751f\u6210\u90a3\u4e2aexe\u6587\u4ef6\u3002<\/p>\n<h4>Step 2 \u4f7f\u7528windeployqt.exe\u6253\u5305\u5230\u6587\u4ef6\u5939<\/h4>\n<ol>\n<li>\n<p>\u5c06\u7b2c\u4e00\u6b65\u751f\u6210\u7684exe\u6587\u4ef6\uff0c\u65b0\u5efa\u4e2a\u6587\u4ef6\u5939\uff0c\u628a\u5b83\u653e\u8fdb\u53bb\uff0c\u6587\u4ef6\u5939\u7684\u4f4d\u7f6e\u4f3c\u4e4e\u6ca1\u6709\u7279\u522b\u7684\u8981\u6c42\uff0c\u5c31\u50cf\u8fd9\u6837\u2193<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6dce2c0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\u6253\u5f00\u7ec8\u7aef\uff08Windows powershell\uff0c\u5c31\u7528\u7ba1\u7406\u5458\u90a3\u4e2a\uff09\uff0c\u7136\u540e\u628a\u76ee\u5f55\u5b9a\u4f4d\u5230\u521a\u521a\u5efa\u7acb\u7684\u6587\u4ef6\u5939<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6e1df01.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<li>\u8fd0\u884cwindeployqt.exe\u8fdb\u884c\u6253\u5305\uff0c\u8fd9\u91cc\u8981\u77e5\u9053\u81ea\u5df1\u7684windeployqt.exe\u5728\u54ea\uff0c\u4e00\u822c\u5728\u81ea\u5df1\u7684Qt\u5b89\u88c5\u76ee\u5f55<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6e5d774.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<li>\u6267\u884c\uff0c\u7136\u540e\u5728\u90a3\u4e2a\u65b0\u5efa\u7684\u6587\u4ef6\u5939\u91cc\u5c31\u591a\u4e86\u4e00\u5806\u6587\u4ef6\u548c\u5939<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6ea6e75.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<li>\u8fd9\u79cd\u4e8b\u60c5\u600e\u4e48\u80fd\u6ca1\u6709\u4e00\u952e\u64cd\u4f5c\u5462\uff0c\u7f16\u5199\u4e00\u4e2abat\u6587\u4ef6\uff0c\u53cc\u51fb\u6267\u884c\u5373\u53ef\uff08bat\u6587\u4ef6\u4f3c\u4e4e\u4e0d\u80fd\u7f16\u8f91\uff0c\u53ef\u4ee5\u5148\u5efa\u7acb\u4e00\u4e2atxt\u6587\u4ef6\uff0c\u7136\u540e\u4fee\u6539\u6587\u4ef6\u7c7b\u578b\u5c31ok\uff09\uff08\u5594\uff0c\u597d\u50cf\u4e5f\u6ca1\u6709\u5f88\u4e00\u952e\uff09<br \/>\ncmd \/k &quot;cd \/d [windeployqt\u8def\u5f84] &amp;&amp; windeployqt.exe [\u81ea\u5df1exe\u8def\u5f84]\\xxx.exe<\/p>\n<pre><code class=\"language-bash\">cmd \/k \"cd \/d D:\\Qt5.12.6\\5.12.6\\msvc2017_64\\bin\\ &amp;&amp; windeployqt.exe C:\\Users\\25834\\Desktop\\blog_pkg\\xxx.exe<\/code><\/pre>\n<h4>Step 3 \u6253\u5305\u6210\u4e00\u4e2a\u6587\u4ef6<\/h4>\n<\/li>\n<li>\n<p>\u4e0b\u8f7d\u6253\u5305\u5de5\u5177 <a href=\"https:\/\/enigmaprotector.com\/en\/downloads.html\">Enigma Virtual Box<\/a><br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6ed866a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9\u81ea\u5df1\u7684exe\u6587\u4ef6\uff0c\u5e76\u628a\u6574\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u76ee\u5f55\u6811\uff0c\u79fb\u9664\u76ee\u5f55\u6811\u4e2d\u7684exe<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6f3f1ba.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e6fddce6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\u53ef\u4ee5\u9009\u62e9\u662f\u5426\u538b\u7f29\uff0c\u6700\u540e\u6267\u884c\u5c01\u5305\uff0c\u7ed3\u675f\u540e\uff0c\u53ef\u4ee5\u8fd0\u884c\u770b\u770b<br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e706c064.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img src=\"http:\/\/47.103.123.166\/wp-content\/uploads\/2021\/11\/post-210-619a4e70cf460.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\uff08\u9009\u62e9\u538b\u7f29\uff0c\u5219\u751f\u6210\u7684\u7a0b\u5e8f\u542f\u52a8\u7684\u65f6\u5019\u8981\u5148\u89e3\u5305\uff0c\u56e0\u6b64\u65f6\u95f4\u6162\uff0c\u4e0d\u538b\u7f29\uff0c\u7a0b\u5e8f\u5c31\u4f1a\u6bd4\u8f83\u5927\uff0c\u53ef\u4ee5\u6743\u8861\u3002\uff09<\/li>\n<\/ol>\n<p>\uff08\u6211\u4e5f\u52a0\u4e00\u4e2a\uff0c\u4eb2\u6d4b\u53ef\u7528&#8230;\uff09<\/p>\n<h4>\u53c2\u8003<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.debugger.wiki\/article\/html\/1565166278520238\">\u3010win\u3011\u3010qt5\u6253\u5305\u3011\u3010qt\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff08\u5e26\u56fe\u6807\u4efb\u4f55win\u90fd\u53ef\u4ee5\u8fd0\u884c\u54e6\uff09\u3011<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u8fd9\u7bc7\u535a\u5ba2\u662f\u56e0\u4e3a\u7ec8\u4e8e\u6210\u529f\u6253\u5305\u51fa\u53bb\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u4e4b\u524d\u653e\u5230\u5176\u4ed6\u8bbe\u5907\u4e0a\u603b\u662f\u7f3a\u8fd9\u5c11\u90a3&#8230; ok\uff0c\u5f00\u59cb\u8bb0\u5f55&#8230;. Step 1 release exe\u6587\u4ef6 \u8fd9\u4e00\u6b65\u6bd4\u8f83\u7b80\u5355\uff0c\u628a\u7f16\u8bd1\u9009\u9879\u4ecedebug\u6a21\u5f0f\u6539\u6210release\u6a21\u5f0f\uff0c\u7136\u540e\uff0c\u91cd\u65b0\u7f16\u8bd1\u8fd0\u884c\u4e00\u904d\u3002\u4f1a\u5728\u7f16\u8bd1\u6587\u4ef6\u5939\u4e0b\u7684release\u6587\u4ef6\u5939\u5185\u751f\u6210\u90a3\u4e2aexe\u6587\u4ef6\u3002 Step 2 \u4f7f\u7528windeployqt.exe\u6253\u5305\u5230\u6587\u4ef6\u5939 \u5c06\u7b2c\u4e00\u6b65\u751f\u6210\u7684exe\u6587\u4ef6\uff0c\u65b0\u5efa\u4e2a\u6587\u4ef6\u5939\uff0c\u628a\u5b83\u653e\u8fdb\u53bb\uff0c\u6587\u4ef6\u5939\u7684\u4f4d\u7f6e\u4f3c\u4e4e\u6ca1\u6709\u7279\u522b\u7684\u8981\u6c42\uff0c\u5c31\u50cf\u8fd9\u6837\u2193 \u6253\u5f00\u7ec8\u7aef\uff08Windows powershell\uff0c\u5c31\u7528\u7ba1\u7406\u5458\u90a3\u4e2a\uff09\uff0c\u7136\u540e\u628a\u76ee\u5f55\u5b9a\u4f4d\u5230\u521a\u521a\u5efa\u7acb\u7684\u6587\u4ef6\u5939 \u8fd0\u884cwindeployqt.exe\u8fdb\u884c\u6253\u5305\uff0c\u8fd9\u91cc\u8981\u77e5\u9053\u81ea\u5df1\u7684windeployqt.exe\u5728\u54ea\uff0c\u4e00\u822c\u5728\u81ea\u5df1\u7684Qt\u5b89\u88c5\u76ee\u5f55 \u6267\u884c\uff0c\u7136\u540e\u5728\u90a3\u4e2a\u65b0\u5efa\u7684\u6587\u4ef6\u5939\u91cc\u5c31\u591a\u4e86\u4e00\u5806\u6587\u4ef6\u548c\u5939 \u8fd9\u79cd\u4e8b\u60c5\u600e\u4e48\u80fd\u6ca1\u6709\u4e00\u952e\u64cd\u4f5c\u5462\uff0c\u7f16\u5199\u4e00\u4e2abat\u6587\u4ef6\uff0c\u53cc\u51fb\u6267\u884c\u5373\u53ef\uff08bat\u6587\u4ef6\u4f3c\u4e4e\u4e0d\u80fd\u7f16\u8f91\uff0c\u53ef\u4ee5\u5148\u5efa\u7acb\u4e00\u4e2atxt\u6587\u4ef6\uff0c\u7136\u540e\u4fee\u6539\u6587\u4ef6\u7c7b\u578b\u5c31ok\uff09\uff08\u5594\uff0c\u597d\u50cf\u4e5f\u6ca1\u6709\u5f88\u4e00\u952e\uff09 cmd \/k &quot;cd \/d [windeployqt\u8def\u5f84] &amp;&amp; windeployqt.exe [\u81ea\u5df1exe\u8def\u5f84]\\xxx.exe cmd \/k &#8220;cd \/d D:\\Qt5.12.6\\5.12.6\\msvc2017_64\\bin\\ &amp;&amp; windeployqt.exe C:\\Users\\25834\\Desktop\\blog_pkg\\xxx.exe Step 3 \u6253\u5305\u6210\u4e00\u4e2a\u6587\u4ef6 \u4e0b\u8f7d\u6253\u5305\u5de5\u5177 Enigma Virtual Box \u9009\u62e9\u81ea\u5df1\u7684exe\u6587\u4ef6\uff0c\u5e76\u628a\u6574\u4e2a\u6587\u4ef6\u6dfb\u52a0\u5230\u76ee\u5f55\u6811\uff0c\u79fb\u9664\u76ee\u5f55\u6811\u4e2d\u7684exe \u53ef\u4ee5\u9009\u62e9\u662f\u5426\u538b\u7f29\uff0c\u6700\u540e\u6267\u884c\u5c01\u5305\uff0c\u7ed3\u675f\u540e\uff0c\u53ef\u4ee5\u8fd0\u884c\u770b\u770b \uff08\u9009\u62e9\u538b\u7f29\uff0c\u5219\u751f\u6210\u7684\u7a0b\u5e8f\u542f\u52a8\u7684\u65f6\u5019\u8981\u5148\u89e3\u5305\uff0c\u56e0\u6b64\u65f6\u95f4\u6162\uff0c\u4e0d\u538b\u7f29\uff0c\u7a0b\u5e8f\u5c31\u4f1a\u6bd4\u8f83\u5927\uff0c\u53ef\u4ee5\u6743\u8861\u3002\uff09 \uff08\u6211\u4e5f\u52a0\u4e00\u4e2a\uff0c\u4eb2\u6d4b\u53ef\u7528&#8230;\uff09 \u53c2\u8003 \u3010win\u3011\u3010qt5\u6253\u5305\u3011\u3010qt\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff08\u5e26\u56fe\u6807\u4efb\u4f55win\u90fd\u53ef\u4ee5\u8fd0\u884c\u54e6\uff09\u3011<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/posts\/210"}],"collection":[{"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/47.103.123.166\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":1,"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":211,"href":"http:\/\/47.103.123.166\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions\/211"}],"wp:attachment":[{"href":"http:\/\/47.103.123.166\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/47.103.123.166\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/47.103.123.166\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}