golang 在windows中安装GUI桌面图形库 therecipe/qt

官网地址https://github.com/therecipe/qt
这个是Qt官方在github.com的golang库,由于国内网络的原因很多人无法安装成功,无法下载库,本人在此有幸下载成功,上传百度网盘:
链接: https://pan.baidu.com/s/1n0RNqlGJiDzPEuFabO5T-A 提取码: mika
本人安装流程如下:
1、首先打开cmd,
输入:
set GO111MODULE=off

go get -v github.com/therecipe/qt/cmd/… && for /f %v in (‘go env GOPATH’) do %v\bin\qtsetup test && %v\bin\qtsetup -test=false
执行以上这两条命令后中间安装过程无需做任何操作
golang 在windows中安装GUI桌面图形库 therecipe/qt
golang 在windows中安装GUI桌面图形库 therecipe/qt
golang 在windows中安装GUI桌面图形库 therecipe/qt
golang 在windows中安装GUI桌面图形库 therecipe/qt
安装过程中会弹出一些窗口,如下图:
golang 在windows中安装GUI桌面图形库 therecipe/qt

到此已经安装完成
如果没有条件的可以使用网上其它方式或者直接到本人下载的下来上传到百度网盘的库下载,百度网盘共有两个文件,一个bin的压缩包,解压后,把文件复制到GOPATH目录下的bin文件夹中,如果没有bin文件夹则手动创建
另外一个therecipe压缩包,解压后文件夹复制go项目中gihub.com目录中即可
下载链接: https://pan.baidu.com/s/1n0RNqlGJiDzPEuFabO5T-A 提取码: mika