资讯详情

Windows+Qt+MinGW使用gRPC

本文参考博客文章Qt gRPC 亲自尝试简单的应用程序,记录以下过程,为后代提供经验。 我的环境:Windows10 x64 需要依赖MSYS环境(一类)Unix环境,包管理器) MSYS2 github:https://github.com/msys2 MSYS包含很多软件包(Repo Updates - MSYS2 Packages),当然也包含gprc,如下图所示:

下载安装:http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20190524.exe 菜单栏安装成功后,开始:

This environment is used for generating and running native .EXEs and .DLLs for 64-bit Windows.The same, but for 32-bit Windows.This is the Cygwin-like basis for MSYS2. It has a special support DLL of its own. 打开MSYS:执行,如果在中国不发生意外,会出现以下类似的错误: 错误:无法做到 repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds

显然镜像源在国外网站上,国内访问还是太慢了~ 不能慢慢更新,更新失败! 解决方案:更新国内清华大学(文件中新增一行): /etc/pacman.d/mirrorlist.mingw32 Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686 /etc/pacman.d/mirrorlist.mingw64 Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64 /etc/pacman.d/mirrorlist.msys Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch

保存! 又有错误: :: 软件包数据库同步... 错误:无法升级 mingw32 (无法定数据库) 错误:无法升级 mingw64 (无法锁定数据库) 错误:无法升级 msys (无法锁定数据库) 错误:同步所有数据库失败

然后执行其他操作,会出错: 错误:无法初始化事务处理 (无法锁定数据库) 错误:无法锁定数据库:文件已存在 假如您确认软件包管理器没有运行, 你可以删除 /var/lib/pacman/db.lck。

解决方案:执行操作rm -rf /var/lib/pacman/db.lck

然后执行命令: pacman -Syu pacman -S mingw-w64-x86_64-grpc mingw-w64-x86_64-qt mingw-w64-x86_64-qt-creator pacman -S mingw-w64-x86_64-clang pacman -S mingw-w64-x86_64-qt5-static

:clang和qt5-static是可选项,不能安装 下载安装软件包比较费时(网络越快越好,慢也没办法),请耐心等待…

安装完成后会有C:\msys64\mingw64\bin生成可执行文件,添加环境变量:

在C:\msys64\mingw64\lib下则有生成*.a静态库

运行"C:\msys64\mingw64\bin\qtcreator.exe",启动QtCreator,新建Console文件夹位置的应用程序:C:\msys64\qt.prj\QtgRPC-Server

在pro在文件中增加一行: DEFINES = _WIN32_WINNT=0x600 右击项目选择添加库...->指向外部库C:\msys64\mingw64\lib\libgrpc.dll.a取消静态库"为debug版本添加‘d’作为后缀"其他复选框选项依次添加grpc和protobuffer静态库完成后如下图所示(Windows环境):

在工程目录下新建protobuffer文件helloworld.proto:

helloworld.proto

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

syntax="proto3"; optionjava_multiple_files=true; optionjava_package="io.grpc.examples.helloworld"; optionjava_outer_classname="HelloWorldProto"; optionobjc_class_prefix="HLW"; packagehelloworld; //Thegreetingservicedefinition. serviceGreeter{ //Sendsagreeting rpcSayHello(HelloRequest)returns(HelloReply){} } //Therequestmessagecontainingtheuser'sname. messageHelloRequest{ stringname=1; } //Theresponsemessagecontainingthegreetings messageHelloReply{ stringmessage=1; }

通过protoc生成gRPC类: protoc -I ./ --grpc_out=./ --plugin=protoc-gen-grpc="C:\msys64\mingw64\bin\grpc_cpp_plugin.exe" ./helloworld.proto protoc -I ./ --cpp_out=./ ./helloworld.proto:protoc命令位置为"C:\msys64\mingw64\bin\protoc.exe",如果使用其他配套设施,则需要统一配套protoc.exe,以下编译错误:

右击项目“添加现有文件..选择生成grpc头文件和类(helloworld.grpc.pb.cc、helloworld.pb.cc、helloworld.grpc.pb.h、helloworld.pb.h)最终项目结构如下:

打开main.cpp编写服务端代码:

C Code

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

#include <QCoreApplication> #include <iostream> #include <memory> #include <string> #include <grpc++/grpc++.h> #include "helloworld.pb.h" #include "helloworld.grpc.pb.h" using grpc::Server; using grpc::ServerBuilder; using grpc::ServerContext; using grpc::Status; using helloworld::HelloRequest; using helloworld::HelloReply; using helloworld::Greeter; // Logic and data behind the server's behavior. class GreeterServiceImpl final : public Greeter::Service {   Status SayHello(ServerContext* context, const HelloRequest* request,                   HelloReply* reply) override {     std::string prefix("Hello ");     reply->set_message(prefix + request->name());     return Status::OK;   } }; void RunServer() {   std::string server_address("0.0.0.0:50051");   GreeterServiceImpl service;   ServerBuilder builder;   // Listen on the given address without any authentication mechanism.   builder.AddListeningPort(server_address, grpc::InsecureServerCredentials());   // Register "service" as the instance through which we'll communicate with   // clients. In this case it corresponds to an *synchronous* service.   builder.RegisterService(&service);   // Finally assemble the server.   std::unique_ptr<Server> server(builder.BuildAndStart());   std::cout << "Server listening on " << server_address << std::endl;   // Wait for the server to shutdown. Note that some other thread must be   // responsible for shutting down the server for this call to ever return.   server->Wait(); } int main(int argc, char *argv[]) {     //QCoreApplication a(argc, argv);     //return a.exec();     RunServer();     return 0; }

Ctrl+B构建项目,可能会出现如下警告: C:\msys64\mingw64\share\qt5\mkspecs\common\windows-vulkan.conf:1: Cannot find feature windows_vulkan_sdk 可以忽略,不影响程序执行,正确构建后,运行:

同理,新建客户端工程QtgRPC-Client,pro中设置同QtgRPC-Server,在此省略,最终的工程结构如下:

打开main.cpp,编写客户端代码:

 C++ Code 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

#include <QCoreApplication> #include <iostream> #include <memory> #include <string> #include <grpcpp/grpcpp.h> #include "helloworld.grpc.pb.h" using grpc::Channel; using grpc::ClientContext; using grpc::Status; using helloworld::HelloRequest; using helloworld::HelloReply; using helloworld::Greeter; class GreeterClient { public:     GreeterClient(std::shared_ptr<Channel> channel)         : stub_(Greeter::NewStub(channel)) {}     // Assembles the client's payload, sends it and presents the response back     // from the server.     std::string SayHello(const std::string& user) {         // Data we are sending to the server.         HelloRequest request;         request.set_name(user);         // Container for the data we expect from the server.         HelloReply reply;         // Context for the client. It could be used to convey extra information to         // the server and/or tweak certain RPC behaviors.         ClientContext context;         // The actual RPC.         Status status = stub_->SayHello(&context, request, &reply);         // Act upon its status.         if (status.ok()) {             return reply.message();         } else {             std::cout << status.error_code() << ": " << status.error_message()                       << std::endl;             return "RPC failed";         }     } private:     std::unique_ptr<Greeter::Stub> stub_; }; int main(int argc, char *argv[]) {     //QCoreApplication a(argc, argv);     //return a.exec();     // Instantiate the client. It requires a channel, out of which the actual RPCs     // are created. This channel models a connection to an endpoint (in this case,     // localhost at port 50051). We indicate that the channel isn't authenticated     // (use of InsecureChannelCredentials()).     GreeterClient greeter(grpc::CreateChannel(                               "localhost:50051", grpc::InsecureChannelCredentials()));     std::string user("world");     std::string reply = greeter.SayHello(user);     std::cout << "Greeter received: " << reply << std::endl; }

Ctrl+B构建可能还会出现Cannot find feature windows_vulkan_sdk的错误或警告,不用担心,再次清除工程重新构建后成功,运行:

恭喜您,在Qt上使用C++运行了gRPC客户端-服务端应用程序。

(MSYS2安装过程):

 NormalText Code 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205

yy@DESKTOP-AAQI6UG MSYS ~ # pacman -S mingw-w64-x86_64-grpc mingw-w64-x86_64-qt mingw-w64-x86_64-qt-creator :: 在组 mingw-w64-x86_64-qt 中有 1 成员: :: 软件仓库 mingw64    1) mingw-w64-x86_64-qt5 输入某个选择 ( 默认=全部选定 ): 正在解析依赖关系... 正在查找软件包冲突... 警告:检测到依赖关系环: 警告:mingw-w64-x86_64-harfbuzz 将在它 mingw-w64-x86_64-freetype 的依赖关系之前被安装 软件包 (76) mingw-w64-x86_64-assimp-4.1.0-3  mingw-w64-x86_64-binutils-2.32-3             mingw-w64-x86_64-bzip2-1.0.8-1  mingw-w64-x86_64-c-ares-1.15.0-1             mingw-w64-x86_64-ca-certificates-20180409-1             mingw-w64-x86_64-crt-git-7.0.0.5524.2346384e-1             mingw-w64-x86_64-dbus-1.12.16-1             mingw-w64-x86_64-double-conversion-3.1.5-1             mingw-w64-x86_64-expat-2.2.7-1             mingw-w64-x86_64-fontconfig-2.13.1-1             mingw-w64-x86_64-freeglut-3.0.0-4             mingw-w64-x86_64-freetype-2.10.1-1  mingw-w64-x86_64-gcc-9.2.0-2             mingw-w64-x86_64-gcc-libs-9.2.0-2             mingw-w64-x86_64-gettext-0.19.8.1-8             mingw-w64-x86_64-gflags-2.2.2-2  mingw-w64-x86_64-giflib-5.2.1-1             mingw-w64-x86_64-glib2-2.60.6-1  mingw-w64-x86_64-gmp-6.1.2-1             mingw-w64-x86_64-graphite2-1.3.13-1             mingw-w64-x86_64-harfbuzz-2.6.0-1             mingw-w64-x86_64-headers-git-7.0.0.5524.2346384e-1             mingw-w64-x86_64-icu-64.2-1  mingw-w64-x86_64-icu-debug-libs-64.2-1             mingw-w64-x86_64-isl-0.21-1  mingw-w64-x86_64-jasper-2.0.16-1             mingw-w64-x86_64-lcms2-2.9-1  mingw-w64-x86_64-libffi-3.2.1-4             mingw-w64-x86_64-libgcrypt-1.8.4-1             mingw-w64-x86_64-libgpg-error-1.36-1             mingw-w64-x86_64-libiconv-1.16-1             mingw-w64-x86_64-libjpeg-turbo-2.0.2-1             mingw-w64-x86_64-libmng-2.0.3-4  mingw-w64-x86_64-libpng-1.6.37-3             mingw-w64-x86_64-libsystre-1.0.1-4             mingw-w64-x86_64-libtasn1-4.14-1  mingw-w64-x86_64-libtiff-4.0.10-1             mingw-w64-x86_64-libtre-git-r128.6fb7206-2             mingw-w64-x86_64-libwebp-1.0.3-1             mingw-w64-x86_64-libwinpthread-git-7.0.0.5522.977a9720-1             mingw-w64-x86_64-libxml2-2.9.9-2  mingw-w64-x86_64-libxslt-1.1.33-1             mingw-w64-x86_64-make-4.2.1-4             mingw-w64-x86_64-minizip-git-1.2.445.e67b996-1             mingw-w64-x86_64-mpc-1.1.0-1  mingw-w64-x86_64-mpdecimal-2.4.2-1             mingw-w64-x86_64-mpfr-4.0.2-2             mingw-w64-x86_64-ncurses-6.1.20190630-1             mingw-w64-x86_64-openal-1.19.1-1             mingw-w64-x86_64-openssl-1.1.1.c-1             mingw-w64-x86_64-p11-kit-0.23.16.1-1  mingw-w64-x86_64-pcre-8.43-1             mingw-w64-x86_64-pcre2-10.33-1  mingw-w64-x86_64-protobuf-3.9.1-1             mingw-w64-x86_64-python3-3.7.4-7  mingw-w64-x86_64-qbs-1.13.1-1             mingw-w64-x86_64-qtbinpatcher-2.2.0-4             mingw-w64-x86_64-readline-8.0.000-4             mingw-w64-x86_64-sqlite3-3.29.0-2  mingw-w64-x86_64-tcl-8.6.9-2             mingw-w64-x86_64-termcap-1.3.1-5  mingw-w64-x86_64-tk-8.6.9.1-1             mingw-w64-x86_64-vulkan-headers-1.1.112-1             mingw-w64-x86_64-vulkan-loader-1.1.112-1             mingw-w64-x86_64-windows-default-manifest-6.4-3             mingw-w64-x86_64-wineditline-2.205-2             mingw-w64-x86_64-winpthreads-git-7.0.0.5522.977a9720-1             mingw-w64-x86_64-xpm-nox-4.2.0-5  mingw-w64-x86_64-xz-5.2.4-1             mingw-w64-x86_64-z3-4.8.5-1  mingw-w64-x86_64-zlib-1.2.11-7             mingw-w64-x86_64-zstd-1.4.2-1  mingw-w64-x86_64-zziplib-0.13.69-1             mingw-w64-x86_64-grpc-1.23.0-1  mingw-w64-x86_64-qt-creator-4.9.2-1             mingw-w64-x86_64-qt5-5.12.4-2 下载大小:   1606.12 MiB 全部安装大小:  8507.69 MiB :: 进行安装吗? [Y/n] Y :: 正在获取软件包......  mingw-w64-x86_64-gm...   486.0 KiB   121K/s 00:04 [#####################] 100%  mingw-w64-x86_64-mp...   345.9 KiB  68.9K/s 00:05 [#####################] 100%  mingw-w64-x86_64-mp...    78.9 KiB  84.3K/s 00:01 [#####################] 100%  mingw-w64-x86_64-li...    45.2 KiB  93.2K/s 00:00 [#####################] 100%  mingw-w64-x86_64-gc...   692.4 KiB  89.2K/s 00:08 [#####################] 100%  mingw-w64-x86_64-c-...    98.1 KiB  83.9K/s 00:01 [#####################] 100%  mingw-w64-x86_64-gf...   155.9 KiB  83.2K/s 00:02 [#####################] 100%  mingw-w64-x86_64-li...   174.0 KiB  57.1K/s 00:03 [#####################] 100%  mingw-w64-x86_64-li...    44.9 KiB  64.2K/s 00:01 [#####################] 100%  mingw-w64-x86_64-ex...   137.0 KiB  64.2K/s 00:02 [#####################] 100%  mingw-w64-x86_64-li...   623.0 KiB  53.8K/s 00:12 [#####################] 100%  mingw-w64-x86_64-ge...     3.1 MiB  49.6K/s 01:05 [#####################] 100%  mingw-w64-x86_64-p1...   300.1 KiB  50.2K/s 00:06 [#####################] 100%  mingw-w64-x86_64-ca...   356.3 KiB  49.9K/s 00:07 [#####################] 100%  mingw-w64-x86_64-zl...   102.1 KiB  68.0K/s 00:02 [#####################] 100%  mingw-w64-x86_64-op...     4.8 MiB  57.6K/s 01:25 [#####################] 100%  mingw-w64-x86_64-pr...  2023.1 KiB  70.3K/s 00:29 [#####################] 100%  mingw-w64-x86_64-gr...  1913.9 KiB  78.0K/s 00:25 [#####################] 100%  mingw-w64-x86_64-qt...   275.9 KiB  69.4K/s 00:04 [#####################] 100%  mingw-w64-x86_64-z3...    20.4 MiB  79.3K/s 04:24 [#####################] 100%  mingw-w64-x86_64-bz...    88.6 KiB   188K/s 00:00 [#####################] 100%  mingw-w64-x86_64-mi...   103.4 KiB   215K/s 00:00 [#####################] 100%  mingw-w64-x86_64-zz...   131.7 KiB   145K/s 00:01 [#####################] 100%  mingw-w64-x86_64-as...     3.5 MiB  69.5K/s 00:51 [#####################] 100%  mingw-w64-x86_64-do...    82.0 KiB  69.9K/s 00:01 [#####################] 100%  mingw-w64-x86_64-wi...    58.0 KiB  81.8K/s 00:01 [#####################] 100%  mingw-w64-x86_64-pc...   885.1 KiB  77.3K/s 00:11 [#####################] 100%  mingw-w64-x86_64-mp...   254.2 KiB   179K/s 00:01 [#####################] 100%  mingw-w64-x86_64-li...    84.2 KiB   120K/s 00:01 [#####################] 100%  mingw-w64-x86_64-li...    24.0 KiB   104K/s 00:00 [#####################] 100%  mingw-w64-x86_64-nc...  1784.7 KiB  74.0K/s 00:24 [#####################] 100%  mingw-w64-x86_64-te...    33.1 KiB  68.6K/s 00:00 [#####################] 100%  mingw-w64-x86_64-re...   371.9 KiB  66.2K/s 00:06 [#####################] 100%  mingw-w64-x86_64-tc...     3.0 MiB  80.0K/s 00:38 [#####################] 100%  mingw-w64-x86_64-sq...     6.5 MiB   103K/s 01:05 [#####################] 100%  mingw-w64-x86_64-tk...  1897.4 KiB   134K/s 00:14 [#####################] 100%  mingw-w64-x86_64-xz...   297.7 KiB  97.5K/s 00:03 [#####################] 100%  mingw-w64-x86_64-py...    15.6 MiB   125K/s 02:07 [#####################] 100%  mingw-w64-x86_64-gl...     4.4 MiB  79.3K/s 00:57 [#####################] 100%  mingw-w64-x86_64-db...  1742.1 KiB  73.0K/s 00:24 [#####################] 100%  mingw-w64-x86_64-gr...   148.0 KiB  39.3K/s 00:04 [#####################] 100%  mingw-w64-x86_64-ha...   848.5 KiB  61.9K/s 00:14 [#####################] 100%  mingw-w64-x86_64-li...   347.1 KiB   181K/s 00:02 [#####################] 100%  mingw-w64-x86_64-fr...   529.8 KiB   281K/s 00:02 [#####################] 100%  mingw-w64-x86_64-fo...   228.2 KiB   324K/s 00:01 [#####################] 100%  mingw-w64-x86_64-fr...   147.0 KiB   301K/s 00:00 [#####################] 100%  mingw-w64-x86_64-li...   437.7 KiB   260K/s 00:02 [#####################] 100%  mingw-w64-x86_64-ja...   758.3 KiB  96.7K/s 00:08 [#####################] 100%  mingw-w64-x86_64-zs...   411.8 KiB  78.7K/s 00:05 [#####################] 100%  mingw-w64-x86_64-li...   914.1 KiB  97.1K/s 00:09 [#####################] 100%  mingw-w64-x86_64-lc...   288.7 KiB  74.8K/s 00:04 [#####################] 100%  mingw-w64-x86_64-li...   277.0 KiB  82.4K/s 00:03 [#####################] 100%  mingw-w64-x86_64-li...  1448.6 KiB   133K/s 00:11 [#####################] 100%  mingw-w64-x86_64-li...   278.2 KiB   293K/s 00:01 [#####################] 100%  mingw-w64-x86_64-li...   613.6 KiB   322K/s 00:02 [#####################] 100%  mingw-w64-x86_64-li...   461.6 KiB   276K/s 00:02 [#####################] 100%  mingw-w64-x86_64-gi...   133.4 KiB   284K/s 00:00 [#####################] 100%  mingw-w64-x86_64-li...   436.1 KiB   208K/s 00:02 [#####################] 100%  mingw-w64-x86_64-op...   633.8 KiB   134K/s 00:05 [#####################] 100%  mingw-w64-x86_64-pc...   960.1 KiB   130K/s 00:07 [#####################] 100%  mingw-w64-x86_64-vu...   423.9 KiB   129K/s 00:03 [#####################] 100%  mingw-w64-x86_64-vu...   114.2 KiB   162K/s 00:01 [#####################] 100%  mingw-w64-x86_64-xp...    62.4 KiB   273K/s 00:00 [#####################] 100%  mingw-w64-x86_64-ic...    17.7 MiB   116K/s 02:36 [#####################] 100%  mingw-w64-x86_64-ic...    17.5 MiB   119K/s 02:31 [#####################] 100%  mingw-w64-x86_64-qt5-5.12.4-2-any                                                                                                    1386.0 MiB   190K/s 02:04:46 [####################################################################################################] 100%  mingw-w64-x86_64-binutils-2.32-3-any                                                                                                      14.5 MiB   159K/s 01:33 [####################################################################################################] 100%  mingw-w64-x86_64-headers-git-7.0.0.5524.2346384e-1-any                                                                                     5.1 MiB   127K/s 00:41 [####################################################################################################] 100%  mingw-w64-x86_64-crt-git-7.0.0.5524.2346384e-1-any                                                                                         3.1 MiB   169K/s 00:19 [####################################################################################################] 100%  mingw-w64-x86_64-isl-0.21-1-any                                                                                                          612.5 KiB   163K/s 00:04 [####################################################################################################] 100%  mingw-w64-x86_64-windows-default-manifest-6.4-3-any                                                                                       12.9 KiB  0.00B/s 00:00 [####################################################################################################] 100%  mingw-w64-x86_64-winpthreads-git-7.0.0.5522.977a9720-1-any                                                                                54.1 KiB   228K/s 00:00 [####################################################################################################] 100%  mingw-w64-x86_64-gcc-9.2.0-2-any                                                                                                          32.9 MiB   142K/s 03:58 [####################################################################################################] 100%  mingw-w64-x86_64-make-4.2.1-4-any                                                                                                        119.7 KiB  85.0K/s 00:01 [####################################################################################################] 100%  mingw-w64-x86_64-qbs-1.13.1-1-any                                                                                                          2.7 MiB   143K/s 00:20 [####################################################################################################] 100%  mingw-w64-x86_64-qt-creator-4.9.2-1-any                                                                                                   38.6 MiB   138K/s 04:46 [####################################################################################################] 100% (76/76) 正在检查密钥环里的密钥                                                                                                                                     [####################################################################################################] 100% (76/76) 正在检查软件包完整性                                                                                                                                       [####################################################################################################] 100% (76/76) 正在加载软件包文件                                                                                                                                         [####################################################################################################] 100% (76/76) 正在检查文件冲突                                                                                                                                           [####################################################################################################] 100% (76/76) 正在检查可用存储空间                                                                                                                                       [####################################################################################################] 100% :: 正在处理软件包的变化... ( 1/76) 正在安装 mingw-w64-x86_64-gmp                                                                                                                              [####################################################################################################] 100% ( 2/76) 正在安装 mingw-w64-x86_64-mpfr                                                                                                                             [####################################################################################################] 100% ( 3/76) 正在安装 mingw-w64-x86_64-mpc                                                                                                                              [####################################################################################################] 100% ( 4/76) 正在安装 mingw-w64-x86_64-libwinpthread-git                                                                                                                [####################################################################################################] 100% ( 5/76) 正在安装 mingw-w64-x86_64-gcc-libs                                                                                                                         [####################################################################################################] 100% ( 6/76) 正在安装 mingw-w64-x86_64-c-ares                                                                                                                           [####################################################################################################] 100% ( 7/76) 正在安装 mingw-w64-x86_64-gflags                                                                                                                           [####################################################################################################] 100% ( 8/76) 正在安装 mingw-w64-x86_64-libtasn1                                                                                                                         [####################################################################################################] 100% ( 9/76) 正在安装 mingw-w64-x86_64-libffi                                                                                                                           [####################################################################################################] 100% (10/76) 正在安装 mingw-w64-x86_64-expat                                                                                                                            [####################################################################################################] 100% (11/76) 正在安装 mingw-w64-x86_64-libiconv                                                                             &

标签: 104k400vcbb电容

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台