Open njfanxun opened 3 years ago
I have the same question.
I solved you should not use go run or go build download https://github.com/therecipe/env_windows_amd64_513 Modify env_windows_amd64_513/5.13.0/mingw73_64/bin/qtenv2.bat 把set path后面的路径改为env_windows_amd64_513\5.13.0\mingw73_64\bin, cd your qtpath/bin go build ./qtsetup/ go build ./qtminimal/ go build ./qtdeploy/ go build ./qtminimal/ go build ./qtrcc/ run the command in your object path: qtdeploy.exe -qt_dir=the download file path\env_windows_amd64_513 -qt_version=5.13.0 build desktop the exe file name at fisrt you shoud run go mod、go mod vendor
参考:https://blog.csdn.net/halo_hsuh/article/details/106818987
when i use qtDesigner create toolbar and actions in .ui file. qtDeploy desktop and generate uic_xxxx.go file , run build in goland occur a panic. the error in generate go file is ToolBar.AddActions([]*widgets.QAction{...})
go version 1.14.7 qt version 5.13.0