﻿{"id":1418,"date":"2026-04-06T12:04:25","date_gmt":"2026-04-06T04:04:25","guid":{"rendered":"https:\/\/www.tansoo.cn\/?p=1418"},"modified":"2026-04-06T12:04:25","modified_gmt":"2026-04-06T04:04:25","slug":"phpbb-122","status":"publish","type":"post","link":"https:\/\/www.tansoo.cn\/?p=1418","title":{"rendered":"QT6\u7f16\u8bd1\u3001\u5b89\u88c5DB2\u9a71\u52a8"},"content":{"rendered":"<p><span style=\"font-size:150%;line-height:116%\">\u4e00\u3001\u5b89\u88c5\u9a71\u52a8\u3001\u8865\u4e01\u5305\uff1a<\/span><br \/>\nibm_db2_v9.7fp5_ntx64_server.zip\uff0c\u53ea\u88c5\u5ba2\u6237\u7aef<br \/>\ndb2_v9.7fp11_ntx64_odbc_cli.zip\uff0c\u76f4\u63a5\u8986\u76d6\u5b89\u88c5\u76ee\u5f55<\/p>\n<p><span style=\"font-size:150%;line-height:116%\">\u4e8c\u3001\u7f16\u8bd1DB2\u9a71\u52a8\uff1a<\/span><br \/>\n\u6211\u662f\u7f16\u8bd1VS2022\u7684\u9a71\u52a8\uff0c\u542f\u52a8VS2022\u4e2d\u7684\u201cx86 Native Tools Command Prompt for VS 2022\u201d\u547d\u4ee4\u884c\u3002<\/p>\n<div class=\"codebox_plus_wrap\">\n<div class=\"codebox_plus_header\"><strong>Code: <\/strong><a href=\"#\" onclick=\"codebox_plus_select(this, 1); return false;\">[\u5168\u9009]<\/a>&nbsp;<a href=\"#\" onclick=\"codebox_plus_toggle(this, 1); return false;\">[Expand\/Collapse]<\/a><\/div>\n<div>\n<div style=\"display: inline;\">\n<div class=\"bash\" style=\"font-family:monospace;\">\n<ol>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\"><span style=\"color: #c20cb9; font-weight: bold;\">mkdir<\/span> D:\\qt-db2-build<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\"><span style=\"color: #7a0874; font-weight: bold;\">cd<\/span> D:\\qt-db2-build<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">:: \u7f16\u8bd1<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">qt-cmake <span style=\"color: #660033;\">-G<\/span> <span style=\"color: #ff0000;\">&quot;Ninja Multi-Config&quot;<\/span> ^<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; <span style=\"color: #ff0000;\">&quot;D:\\Qt\\6.9.1\\Src\\qtbase\\src\\plugins\\sqldrivers&quot;<\/span> ^<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; -DDB2<span style=\"color: #007800;\">_INCLUDE_DIR<\/span>=<span style=\"color: #ff0000;\">&quot;D:\\Program Files\\IBM\\SQLLIB\\include&quot;<\/span> ^<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; -DDB2<span style=\"color: #007800;\">_LIBRARY<\/span>=<span style=\"color: #ff0000;\">&quot;D:\\Program Files\\IBM\\SQLLIB\\lib\\db2cli.lib&quot;<\/span> ^<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; -DCMAKE_INSTALL_PREFIX=<span style=\"color: #ff0000;\">&quot;D:\\Qt\\6.9.1\\msvc2022_64&quot;<\/span> ^<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; -DCMAKE_CONFIGURATION_TYPES=<span style=\"color: #ff0000;\">&quot;Release;Debug&quot;<\/span><\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">:: \u6784\u5efa<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">cmake <span style=\"color: #660033;\">&#8211;build<\/span> .<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">:: \u5b89\u88c5 Release<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">cmake <span style=\"color: #660033;\">&#8211;install<\/span> . <span style=\"color: #660033;\">&#8211;config<\/span> Release<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">:: \u5b89\u88c5 Debug<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">cmake <span style=\"color: #660033;\">&#8211;install<\/span> . <span style=\"color: #660033;\">&#8211;config<\/span> Debug<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"codebox_plus_footer\">GeSHi &copy; Codebox Plus Extension<\/div>\n<\/div>\n<p><span style=\"font-size:150%;line-height:116%\">\u4e09\u3001\u770b\u9a71\u52a8\u76ee\u5f55\u662f\u5426\u6709\u4e0b\u5217\u6587\u4ef6<\/span><\/p>\n<div class=\"codebox_plus_wrap\">\n<div class=\"codebox_plus_header\"><strong>Code: <\/strong><a href=\"#\" onclick=\"codebox_plus_select(this, 1); return false;\">[\u5168\u9009]<\/a>&nbsp;<a href=\"#\" onclick=\"codebox_plus_toggle(this, 1); return false;\">[Expand\/Collapse]<\/a><\/div>\n<div>\n<div style=\"display: inline;\">\n<div class=\"text\" style=\"font-family:monospace;\">\n<ol>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">D:\\Qt\\6.9.1\\msvc2022_64\\plugins\\sqldrivers \u7684\u76ee\u5f55<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp;<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:30 &nbsp; &nbsp;&lt;DIR&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/29 &nbsp;13:07 &nbsp; &nbsp;&lt;DIR&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;..<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;83,968 qsqldb2.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 2,068,480 qsqldb2.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 273,920 qsqldb2d.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 3,248,128 qsqldb2d.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 137,352 qsqlibase.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 485,000 qsqlibased.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 1,949,696 qsqlite.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 7,327,744 qsqlite.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 2,665,984 qsqlited.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 6,008,832 qsqlited.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;88,712 qsqlmimer.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 243,848 qsqlmimerd.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 128,648 qsqloci.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:26 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 398,472 qsqlocid.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 112,128 qsqlodbc.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 2,207,744 qsqlodbc.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 361,472 qsqlodbcd.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2026\/04\/06 &nbsp;11:28 &nbsp; &nbsp; &nbsp; &nbsp; 3,313,664 qsqlodbcd.pdb<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:27 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 106,120 qsqlpsql.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">2025\/05\/28 &nbsp;23:27 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 318,600 qsqlpsqld.dll<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 20 \u4e2a\u6587\u4ef6 &nbsp; &nbsp; 31,528,512 \u5b57\u8282<\/div>\n<\/li>\n<li style=\"margin-left:20px;\">\n<div style=\"border-bottom: dotted 1px #cccccc;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 \u4e2a\u76ee\u5f55 341,513,039,872 \u53ef\u7528\u5b57\u8282<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"codebox_plus_footer\">GeSHi &copy; Codebox Plus Extension<\/div>\n<\/div>\n<p><small>\u539f\u6587\u4f5c\u8005: BG6RSH | <a href=\"https:\/\/bbs.tansoo.cn\/viewtopic.php?t=122\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u539f\u5e16<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5b89\u88c5\u9a71\u52a8\u3001\u8865\u4e01\u5305\uff1a ibm_db2_v9.7fp5_ntx64_server &hellip; <a href=\"https:\/\/www.tansoo.cn\/?p=1418\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[],"class_list":["post-1418","post","type-post","status-publish","format-standard","hentry","category-105"],"_links":{"self":[{"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=\/wp\/v2\/posts\/1418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1418"}],"version-history":[{"count":0,"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=\/wp\/v2\/posts\/1418\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tansoo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}