therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.35k stars 735 forks source link

vendor - env_windows_amd64_513 #931

Open ManPython opened 5 years ago

ManPython commented 5 years ago

I don't understand the situation with the log. I run Go\src\github.com\therecipe\qt\cmd\qtsetup\main.go

time="2019-08-14T17:41:30+02:00" level=info msg="QT_DIR: 'c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513'" time="2019-08-14T17:41:30+02:00" level=panic msg="failed to find QT_DIR (c:\Go\src\github.com\therecipe\qt\*vendor**\github.com\therecipe\env_windows_amd64_513)" error="open c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513: The system cannot be included in paths."

I have here env_windows_amd64_513 is this correct? go\src\github.com\therecipe\env_windows_amd64_513

Why the error show: c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513 ..and duplicated github.com and rest? The env_windows_amd64_513 must be in vendor dir following the log? Or why vendor not exist?

The problem is related again with https://github.com/therecipe/qt/issues/511 In my opinion the qt\cmd and the install process shloud be more explained (the real steps to use QT with GO and some qt-go example) or simplified. For example following the instruction: https://github.com/therecipe/qt/wiki/Installation there is no information about qtsetup, env_windows_amd64_513, and other tools of cmd/

ManPython commented 5 years ago
  1. I located env_windows_amd64_513 c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513 and working.
  2. As we analysing logs, it's consuming time, and we don't know nothing about real progess of this job. a) Can this be changed in future?

time="2019-08-14T19:18:48+02:00" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]" time="2019-08-14T19:32:14+02:00" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]" b) The 'qtsetup generate windows' is clear, but what doing 'qtsetup install windows' ?

  1. Is this mind that when we using env_windows_amd64_513 then we don't need to install official QT setup (10GB)? a) I was sure that QT_DIR = C:\Qt\Tools\QtCreator\bin\ is this corect? b) by log QT_DIR is env_windows_amd64_513 c) so we have 3 options to compile QT apps? I. as in a) by official QT env II. as in b) by env_windows_amd64_513 III. as prepared in docker IV. other?

  2. Is possible to use and work with some compiled/installed version of go-qt by therecipe? I have idea to ommit all process as "installing full qt/..." ? a) Any option to have some "precompiled/installed" this stuff?

ManPython commented 5 years ago
  1. Why this process of generate and install (specially) consuming so huge time (more than 6h - it was not finished due to unknow time)? Is this normal?

time="2019-08-14T19:18:48+02:00" level=info msg="QT_STUB: 'false'" time="2019-08-14T19:18:48+02:00" level=info msg="QT_DEBUG: 'false'" time="2019-08-14T19:18:48+02:00" level=info msg="QT_QMAKE_DIR: ''" time="2019-08-14T19:18:48+02:00" level=info msg="QT_WEBKIT: 'false'" time="2019-08-14T19:18:48+02:00" level=info msg="QT_DEBUG_CONSOLE: 'false'" time="2019-08-14T19:18:48+02:00" level=info msg="QT_MSYS2: 'false'" time="2019-08-14T19:18:48+02:00" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]" time="2019-08-14T19:20:00+02:00" level=info msg="generating full qt/core" time="2019-08-14T19:21:11+02:00" level=info msg="generating full qt/androidextras" time="2019-08-14T19:21:14+02:00" level=info msg="generating full qt/gui" time="2019-08-14T19:22:31+02:00" level=info msg="generating full qt/network" time="2019-08-14T19:22:53+02:00" level=info msg="generating full qt/xml" time="2019-08-14T19:22:59+02:00" level=info msg="generating full qt/dbus" time="2019-08-14T19:23:07+02:00" level=info msg="generating full qt/nfc" time="2019-08-14T19:23:12+02:00" level=info msg="generating full qt/script" time="2019-08-14T19:23:16+02:00" level=info msg="generating full qt/sensors" time="2019-08-14T19:23:36+02:00" level=info msg="generating full qt/positioning" time="2019-08-14T19:23:42+02:00" level=info msg="generating full qt/widgets" time="2019-08-14T19:26:47+02:00" level=info msg="generating full qt/sql" time="2019-08-14T19:26:59+02:00" level=info msg="generating full qt/qml" time="2019-08-14T19:27:13+02:00" level=info msg="generating full qt/websockets" time="2019-08-14T19:27:17+02:00" level=info msg="generating full qt/xmlpatterns" time="2019-08-14T19:27:22+02:00" level=info msg="generating full qt/bluetooth" time="2019-08-14T19:27:33+02:00" level=info msg="generating full qt/webchannel" time="2019-08-14T19:27:36+02:00" level=info msg="generating full qt/svg" time="2019-08-14T19:27:42+02:00" level=info msg="generating full qt/multimedia" time="2019-08-14T19:28:51+02:00" level=info msg="generating full qt/quick" time="2019-08-14T19:29:11+02:00" level=info msg="generating full qt/help" time="2019-08-14T19:29:31+02:00" level=info msg="generating full qt/location" time="2019-08-14T19:29:38+02:00" level=info msg="generating full qt/scripttools" time="2019-08-14T19:29:39+02:00" level=info msg="generating full qt/uitools" time="2019-08-14T19:29:41+02:00" level=info msg="generating full qt/winextras" time="2019-08-14T19:29:46+02:00" level=info msg="generating full qt/testlib" time="2019-08-14T19:29:48+02:00" level=info msg="generating full qt/serialport" time="2019-08-14T19:29:50+02:00" level=info msg="generating full qt/serialbus" time="2019-08-14T19:29:58+02:00" level=info msg="generating full qt/printsupport" time="2019-08-14T19:30:11+02:00" level=info msg="generating full qt/designer" time="2019-08-14T19:30:31+02:00" level=info msg="generating full qt/scxml" time="2019-08-14T19:30:38+02:00" level=info msg="generating full qt/gamepad" time="2019-08-14T19:30:43+02:00" level=info msg="generating full qt/purchasing" time="2019-08-14T19:30:45+02:00" level=info msg="generating full qt/datavisualization [GPLv3]" time="2019-08-14T19:31:09+02:00" level=info msg="generating full qt/charts [GPLv3]" time="2019-08-14T19:31:55+02:00" level=info msg="generating full qt/virtualkeyboard [GPLv3]" time="2019-08-14T19:32:03+02:00" level=info msg="generating full qt/speech" time="2019-08-14T19:32:05+02:00" level=info msg="generating full qt/quickcontrols2" time="2019-08-14T19:32:06+02:00" level=info msg="generating full qt/sailfish" time="2019-08-14T19:32:06+02:00" level=info msg="generating full qt/remoteobjects" time="2019-08-14T19:32:14+02:00" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]" time="2019-08-14T19:32:14+02:00" level=info msg="installing full qt/core" time="2019-08-14T19:43:06+02:00" level=info msg="installing full qt/androidextras" time="2019-08-14T19:43:46+02:00" level=info msg="installing full qt/gui" time="2019-08-14T20:00:27+02:00" level=info msg="installing full qt/network" time="2019-08-14T20:11:43+02:00" level=info msg="installing full qt/xml" time="2019-08-14T20:13:00+02:00" level=info msg="installing full qt/dbus" time="2019-08-14T20:13:34+02:00" level=info msg="installing full qt/nfc" time="2019-08-14T20:14:03+02:00" level=info msg="installing full qt/script" time="2019-08-14T20:14:49+02:00" level=info msg="installing full qt/sensors" time="2019-08-14T20:15:58+02:00" level=info msg="installing full qt/positioning" time="2019-08-14T20:16:30+02:00" level=info msg="installing full qt/widgets"

  1. After last row of log around 019-08-14T20:16:30+02:00 there is no changes to next day : ) a) is this normal? b) what I should to see in log after end of setup and whole job? c) Is this normal that compile.exe consuming 95% of physical memory, 5% of CPUs? d) This situation is regarding to question of point 4 in previous post

I used to run main.go setup in lunch go by VSC.

ManPython commented 5 years ago

Dam.. 6h work with this and..

C:\>go run "C:\Go\src\github.com\therecipe\qt\cmd\qtsetup\main.go"
time="2019-08-15T12:16:01+02:00" level=info msg="successfully created qtenv.bat symlink in your PATH (C:\\Go\\bin\\qtenv.bat)"
time="2019-08-15T12:16:01+02:00" level=info msg="running: 'qtsetup prep'"
time="2019-08-15T12:16:01+02:00" level=info msg="running: 'qtsetup check windows' [docker=false] [vagrant=false]"
time="2019-08-15T12:16:01+02:00" level=info msg="GOOS:                        'windows'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOARCH:                      'amd64'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOVERSION:                   'go1.12.7'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOROOT:                      'C:\\Go'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOPATH:                   *  'C:\\Go'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOBIN:                       'C:\\Go\\bin'"
time="2019-08-15T12:16:01+02:00" level=info msg="GOMOD:                       ''"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_HASH:                     'fatal: not a git repository (or any of the parent directories): .git'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_API:                   *  '5.13.0'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_VERSION:               *  '5.13.0'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_DIR:                   *  'C:\\Go\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_STUB:                     'false'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_DEBUG:                    'false'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_QMAKE_DIR:                ''"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_WEBKIT:                   'false'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_DEBUG_CONSOLE:            'false'"
time="2019-08-15T12:16:01+02:00" level=info msg="QT_MSYS2:                    'false'"
time="2019-08-15T12:16:01+02:00" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]"
time="2019-08-15T12:16:38+02:00" level=info msg="generating full qt/core"
time="2019-08-15T12:17:58+02:00" level=info msg="generating full qt/androidextras"
time="2019-08-15T12:18:00+02:00" level=info msg="generating full qt/gui"
time="2019-08-15T12:19:08+02:00" level=info msg="generating full qt/network"
time="2019-08-15T12:19:24+02:00" level=info msg="generating full qt/xml"
time="2019-08-15T12:19:30+02:00" level=info msg="generating full qt/dbus"
time="2019-08-15T12:19:36+02:00" level=info msg="generating full qt/nfc"
time="2019-08-15T12:19:41+02:00" level=info msg="generating full qt/script"
time="2019-08-15T12:19:44+02:00" level=info msg="generating full qt/sensors"
time="2019-08-15T12:19:58+02:00" level=info msg="generating full qt/positioning"
time="2019-08-15T12:20:02+02:00" level=info msg="generating full qt/widgets"
time="2019-08-15T12:22:21+02:00" level=info msg="generating full qt/sql"
time="2019-08-15T12:22:28+02:00" level=info msg="generating full qt/qml"
time="2019-08-15T12:22:37+02:00" level=info msg="generating full qt/websockets"
time="2019-08-15T12:22:42+02:00" level=info msg="generating full qt/xmlpatterns"
time="2019-08-15T12:22:45+02:00" level=info msg="generating full qt/bluetooth"
time="2019-08-15T12:22:54+02:00" level=info msg="generating full qt/webchannel"
time="2019-08-15T12:22:58+02:00" level=info msg="generating full qt/svg"
time="2019-08-15T12:23:02+02:00" level=info msg="generating full qt/multimedia"
time="2019-08-15T12:24:00+02:00" level=info msg="generating full qt/quick"
time="2019-08-15T12:24:15+02:00" level=info msg="generating full qt/help"
time="2019-08-15T12:24:30+02:00" level=info msg="generating full qt/location"
time="2019-08-15T12:24:35+02:00" level=info msg="generating full qt/scripttools"
time="2019-08-15T12:24:37+02:00" level=info msg="generating full qt/uitools"
time="2019-08-15T12:24:38+02:00" level=info msg="generating full qt/winextras"
time="2019-08-15T12:24:44+02:00" level=info msg="generating full qt/testlib"
time="2019-08-15T12:24:46+02:00" level=info msg="generating full qt/serialport"
time="2019-08-15T12:24:48+02:00" level=info msg="generating full qt/serialbus"
time="2019-08-15T12:24:54+02:00" level=info msg="generating full qt/printsupport"
time="2019-08-15T12:25:04+02:00" level=info msg="generating full qt/designer"
time="2019-08-15T12:25:22+02:00" level=info msg="generating full qt/scxml"
time="2019-08-15T12:25:27+02:00" level=info msg="generating full qt/gamepad"
time="2019-08-15T12:25:31+02:00" level=info msg="generating full qt/purchasing"
time="2019-08-15T12:25:34+02:00" level=info msg="generating full qt/datavisualization    [GPLv3]"
time="2019-08-15T12:25:53+02:00" level=info msg="generating full qt/charts               [GPLv3]"
time="2019-08-15T12:26:33+02:00" level=info msg="generating full qt/virtualkeyboard      [GPLv3]"
time="2019-08-15T12:26:40+02:00" level=info msg="generating full qt/speech"
time="2019-08-15T12:26:43+02:00" level=info msg="generating full qt/quickcontrols2"
time="2019-08-15T12:26:44+02:00" level=info msg="generating full qt/sailfish"
time="2019-08-15T12:26:44+02:00" level=info msg="generating full qt/remoteobjects"
time="2019-08-15T12:26:49+02:00" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]"
time="2019-08-15T12:26:49+02:00" level=info msg="installing full qt/core"
time="2019-08-15T12:37:45+02:00" level=info msg="installing full qt/androidextras"
time="2019-08-15T12:38:00+02:00" level=info msg="installing full qt/gui"
time="2019-08-15T12:56:12+02:00" level=info msg="installing full qt/network"
time="2019-08-15T13:00:53+02:00" level=info msg="installing full qt/xml"
time="2019-08-15T13:01:32+02:00" level=info msg="installing full qt/dbus"
time="2019-08-15T13:02:05+02:00" level=info msg="installing full qt/nfc"
time="2019-08-15T13:02:38+02:00" level=info msg="installing full qt/script"
time="2019-08-15T13:03:02+02:00" level=info msg="installing full qt/sensors"
time="2019-08-15T13:03:59+02:00" level=info msg="installing full qt/positioning"
time="2019-08-15T13:04:35+02:00" level=info msg="installing full qt/widgets"
time="2019-08-15T16:04:22+02:00" level=info msg="installing full qt/sql"
time="2019-08-15T16:07:38+02:00" level=info msg="installing full qt/qml"
time="2019-08-15T16:08:16+02:00" level=info msg="installing full qt/websockets"
time="2019-08-15T16:08:39+02:00" level=info msg="installing full qt/xmlpatterns"
time="2019-08-15T16:09:00+02:00" level=info msg="installing full qt/bluetooth"
time="2019-08-15T16:09:49+02:00" level=info msg="installing full qt/webchannel"
time="2019-08-15T16:10:08+02:00" level=info msg="installing full qt/svg"
time="2019-08-15T16:10:44+02:00" level=info msg="installing full qt/multimedia"
time="2019-08-15T16:22:36+02:00" level=info msg="installing full qt/quick"
time="2019-08-15T16:26:31+02:00" level=info msg="installing full qt/help"
time="2019-08-15T16:27:37+02:00" level=info msg="installing full qt/location"
time="2019-08-15T16:28:06+02:00" level=info msg="installing full qt/scripttools"
time="2019-08-15T16:28:17+02:00" level=info msg="installing full qt/uitools"
time="2019-08-15T16:28:30+02:00" level=info msg="installing full qt/winextras"
time="2019-08-15T16:28:56+02:00" level=info msg="installing full qt/testlib"
time="2019-08-15T16:29:10+02:00" level=info msg="installing full qt/serialport"
time="2019-08-15T16:29:26+02:00" level=info msg="installing full qt/serialbus"
time="2019-08-15T16:29:56+02:00" level=info msg="installing full qt/printsupport"
time="2019-08-15T16:30:31+02:00" level=info msg="installing full qt/designer"
time="2019-08-15T16:31:34+02:00" level=info msg="installing full qt/scxml"
time="2019-08-15T16:31:56+02:00" level=info msg="installing full qt/gamepad"
time="2019-08-15T16:32:17+02:00" level=info msg="installing full qt/purchasing"
time="2019-08-15T16:32:30+02:00" level=info msg="installing full qt/datavisualization    [GPLv3]"
time="2019-08-15T16:34:23+02:00" level=info msg="installing full qt/charts               [GPLv3]"
time="2019-08-15T16:38:32+02:00" level=info msg="installing full qt/virtualkeyboard      [GPLv3]"
time="2019-08-15T16:39:07+02:00" level=info msg="installing full qt/speech"
time="2019-08-15T16:39:25+02:00" level=info msg="installing full qt/quickcontrols2"
time="2019-08-15T16:39:29+02:00" level=info msg="installing full qt/sailfish"
time="2019-08-15T16:39:31+02:00" level=info msg="installing full qt/remoteobjects"
time="2019-08-15T16:40:04+02:00" level=info msg="running: 'qtsetup test windows' [docker=false] [vagrant=false]"
time="2019-08-15T16:40:05+02:00" level=info msg="testing showcases\\wallet"
time="2019-08-15T16:45:51+02:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 2 -v -ldflags=all=\"-s\" \"-w\" -o C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\showcases\\wallet\\deploy\\windows\\wallet.exe -tags=\"minimal\"" dir="C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\showcases\\wallet" env="COMPUTERNAME=XXX PROCESSOR_REVISION=0f0d windir=C:\\Windows QT_DIR=C:\\Go\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513 Q
bla bla..
github.com/therecipe/qt/internal/examples/showcases/wallet/assets
github.com/therecipe/qt/core
github.com/therecipe/qt/internal/examples/showcases/wallet/dashboard
github.com/therecipe/qt/internal/examples/showcases/wallet/hosting
github.com/therecipe/qt/internal/examples/showcases/wallet/view/controller
github.com/therecipe/qt/internal/examples/showcases/wallet/controller
github.com/therecipe/qt/internal/examples/showcases/wallet/files/model
# github.com/therecipe/qt/internal/examples/showcases/wallet/controller
controller\controller.go:29:3: c.SetSynced undefined (type *controller has no field or method SetSynced)
controller\controller.go:30:3: c.SetLocked undefined (type *controller has no field or method SetLocked)
github.com/therecipe/qt/gui
github.com/therecipe/qt/qml
github.com/therecipe/qt/internal/examples/showcases/wallet/wallet/model
github.com/therecipe/qt/widgets
github.com/therecipe/qt/quick
github.com/therecipe/qt/internal/examples/showcases/wallet/view
# github.com/therecipe/qt/internal/examples/showcases/wallet/view
view\stack.go:9:15: undefined: stackTemplate_QmlRegisterType2
view\view.go:9:15: undefined: viewTemplate_QmlRegisterType2
# github.com/therecipe/qt/widgets
widgets-minimal.cpp: In function 'char QFileDialog_ResolveSymlinks(void*)':
widgets-minimal.cpp:992:57: warning: 'bool QFileDialog::resolveSymlinks() const' is deprecated: Use !testOption(DontResolveSymlinks) instead [-Wdeprecated-declarations]
  return static_cast<QFileDialog*>(ptr)->resolveSymlinks();
                                                         ^
In file included from C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/QFileDialog:1:0,
                 from widgets-minimal.cpp:21:
C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/qfiledialog.h:164:10: note: declared here
     bool resolveSymlinks() const;
          ^~~~~~~~~~~~~~~
github.com/therecipe/qt/internal/examples/showcases/wallet/theme/controller
# github.com/therecipe/qt/internal/examples/showcases/wallet/theme/controller
theme\controller\colorPicker.go:44:13: Controller.Hide undefined (type *ThemeController has no field or method Hide)
theme\controller\colorPicker.go:57:14: Controller.SetAccent undefined (type *ThemeController has no field or method SetAccent)
theme\controller\colorPicker.go:60:14: Controller.SetNextAccent undefined (type *ThemeController has no field or method
SetNextAccent)
theme\controller\colorPicker.go:63:14: Controller.SetBackground undefined (type *ThemeController has no field or method
SetBackground)
theme\controller\colorPicker.go:66:14: Controller.SetDarkBackground undefined (type *ThemeController has no field or method SetDarkBackground)
theme\controller\colorPicker.go:69:14: Controller.SetWalletTableHeader undefined (type *ThemeController has no field or
method SetWalletTableHeader)
theme\controller\colorPicker.go:72:14: Controller.SetWalletTableAlternate undefined (type *ThemeController has no field
or method SetWalletTableAlternate)
theme\controller\colorPicker.go:75:14: Controller.SetWalletTableHighlight undefined (type *ThemeController has no field
or method SetWalletTableHighlight)
theme\controller\colorPicker.go:78:14: Controller.SetInputFieldBackground undefined (type *ThemeController has no field
or method SetInputFieldBackground)
theme\controller\colorPicker.go:81:14: Controller.SetFont undefined (type *ThemeController has no field or method SetFont)
theme\controller\colorPicker.go:81:14: too many errors

exit status 1

C:\>
ManPython commented 5 years ago
  1. By this log as upper don't know that setup was with sucess or not.

  2. There is no dir as deploy\windows\wallet.exe time="2019-08-15T16:45:51+02:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 2 -v -ldflags=all=\"-s\" \"-w\" -o C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\showcases\\wallet\\**deploy\\windows\\wallet.exe** -tags=\"minimal\"" dir="C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\showcases\\wallet" env="COMPUTERNAME=XXX PROCESSOR_REVISION=0f0d windir=C:\\Windows QT_DIR=C:\\Go\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513 Q a) this sholud exist normaly or created aftter deploy? b) failed to run command.. minds that setup was failed by this example?

  3. Should we care with wallet example? a) eg. if errors? Specially like in code?

  4. I try think that setup, generate/install was ok. a) but.. after run other example.. like by VSC examples-master\examples-master\basic\widgets\main.go

    # github.com/therecipe/qt/core
    core.cpp:9:30: fatal error: QAbstractAnimation: No such file or directory
    compilation terminated.
    exit status 2
    Process exiting with code: 1

    b) in console

    go run "c:\qt\examples-master\examples-master\basic\widgets\main.go"
    exit status 3221225781
ManPython commented 5 years ago
  1. Other event that can be related maybe.. a) In VSC calling gopls
Installing 1 tool at C:\path\go\src\github.com\therecipe\qt\cmd\qtsetup \bin
  gopls

Installing golang.org/x/tools/cmd/gopls FAILED

1 tools failed to install.

gopls:
Error: Command failed: C:\Go\bin\go.exe get -u -v golang.org/x/tools/cmd/gopls
Fetching https://golang.org/x/tools/cmd/gopls?go-get=1
Parsing meta tags from https://golang.org/x/tools/cmd/gopls?go-get=1 (status code 200)
get "golang.org/x/tools/cmd/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/cmd/gopls?go-get=1
get "golang.org/x/tools/cmd/gopls": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools?go-get=1
Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200)
golang.org/x/tools (download)
package golang.org/x/tools/cmd/gopls: mkdir C:\path\go\src\github.com\therecipe\qt\cmd\qtsetup \src: The system cannot find the path specified.
Fetching https://golang.org/x/tools/cmd/gopls?go-get=1
Parsing meta tags from https://golang.org/x/tools/cmd/gopls?go-get=1 (status code 200)
get "golang.org/x/tools/cmd/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/cmd/gopls?go-get=1
get "golang.org/x/tools/cmd/gopls": verifying non-authoritative meta tag
Fetching https://golang.org/x/tools?go-get=1
Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200)
golang.org/x/tools (download)
package golang.org/x/tools/cmd/gopls: mkdir C:\path\go\src\github.com\therecipe\qt\cmd\qtsetup \src: The system cannot find the path specified.

C:\qt\examples-master\examples-master\basic\widgets>Finished running tool: C:\path\go\bin\golint.exe

b) but I install this by cmd C:\>go get -u -v golang.org/x/tools/cmd/gopls Fetching https://golang.org/x/tools/cmd/gopls?go-get=1 Parsing meta tags from https://golang.org/x/tools/cmd/gopls?go-get=1 (status code 200) get "golang.org/x/tools/cmd/gopls": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/cmd/gopls?go-get=1 get "golang.org/x/tools/cmd/gopls": verifying non-authoritative meta tag Fetching https://golang.org/x/tools?go-get=1 Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200) golang.org/x/tools (download) Fetching https://golang.org/x/tools/internal/lsp/cmd?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/cmd?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/cmd": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/cmd?go-get=1 get "golang.org/x/tools/internal/lsp/cmd": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/cmd/guru/serial?go-get=1 Parsing meta tags from https://golang.org/x/tools/cmd/guru/serial?go-get=1 (status code 200) get "golang.org/x/tools/cmd/guru/serial": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/cmd/guru/serial?go-get=1 get "golang.org/x/tools/cmd/guru/serial": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/jsonrpc2?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/jsonrpc2?go-get=1 (status code 200) get "golang.org/x/tools/internal/jsonrpc2": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/jsonrpc2?go-get=1 get "golang.org/x/tools/internal/jsonrpc2": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp?go-get=1 get "golang.org/x/tools/internal/lsp": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/imports?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/imports?go-get=1 (status code 200) get "golang.org/x/tools/internal/imports": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/imports?go-get=1 get "golang.org/x/tools/internal/imports": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/ast/astutil?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/ast/astutil?go-get=1 (status code 200) get "golang.org/x/tools/go/ast/astutil": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/ast/astutil?go-get=1 get "golang.org/x/tools/go/ast/astutil": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/packages?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/packages?go-get=1 (status code 200) get "golang.org/x/tools/go/packages": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/packages?go-get=1 get "golang.org/x/tools/go/packages": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/gcexportdata?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/gcexportdata?go-get=1 (status code 200) get "golang.org/x/tools/go/gcexportdata": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/gcexportdata?go-get=1 get "golang.org/x/tools/go/gcexportdata": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/internal/gcimporter?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/internal/gcimporter?go-get=1 (status code 200) get "golang.org/x/tools/go/internal/gcimporter": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/internal/gcimporter?go-get=1 get "golang.org/x/tools/go/internal/gcimporter": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/internal/packagesdriver?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/internal/packagesdriver?go-get=1 (status code 200) get "golang.org/x/tools/go/internal/packagesdriver": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/internal/packagesdriver?go-get=1 get "golang.org/x/tools/go/internal/packagesdriver": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/gopathwalk?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/gopathwalk?go-get=1 (status code 200) get "golang.org/x/tools/internal/gopathwalk": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/gopathwalk?go-get=1 get "golang.org/x/tools/internal/gopathwalk": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/fastwalk?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/fastwalk?go-get=1 (status code 200) get "golang.org/x/tools/internal/fastwalk": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/fastwalk?go-get=1 get "golang.org/x/tools/internal/fastwalk": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/semver?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/semver?go-get=1 (status code 200) get "golang.org/x/tools/internal/semver": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/semver?go-get=1 get "golang.org/x/tools/internal/semver": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/module?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/module?go-get=1 (status code 200) get "golang.org/x/tools/internal/module": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/module?go-get=1 get "golang.org/x/tools/internal/module": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/debug?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/debug?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/debug": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/debug?go-get=1 get "golang.org/x/tools/internal/lsp/debug": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/stats?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/stats?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/stats": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/stats?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/stats": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/tag?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/tag?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/tag": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/tag?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/tag": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/worker?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/worker?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/worker": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/worker?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/worker": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/log?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/log?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/log": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/log?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/log": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/metric?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/metric?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/metric": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/metric?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/metric": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/trace?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/trace?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/trace": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/trace?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/trace": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/span?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/span?go-get=1 (status code 200) get "golang.org/x/tools/internal/span": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/span?go-get=1 get "golang.org/x/tools/internal/span": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/protocol?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/protocol?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/protocol": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/protocol?go-get=1 get "golang.org/x/tools/internal/lsp/protocol": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/xcontext?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/xcontext?go-get=1 (status code 200) get "golang.org/x/tools/internal/xcontext": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/xcontext?go-get=1 get "golang.org/x/tools/internal/xcontext": verifying non-authoritative meta tag Fetching https://golang.org/x/xerrors?go-get=1 Parsing meta tags from https://golang.org/x/xerrors?go-get=1 (status code 200) get "golang.org/x/xerrors": found meta tag get.metaImport{Prefix:"golang.org/x/xerrors", VCS:"git", RepoRoot:"https://go.googlesource.com/xerrors"} at https://golang.org/x/xerrors?go-get=1 golang.org/x/xerrors (download) package golang.org/x/xerrors: mkdir C:\path\go\src\github.com\therecipe\qt\cmd\qtsetup \src: The system cannot find the path specified. Fetching https://golang.org/x/tools/internal/lsp/source?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/source?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/source": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/source?go-get=1 get "golang.org/x/tools/internal/lsp/source": verifying non-authoritative meta tag Fetching https://golang.org/x/sync/errgroup?go-get=1 Parsing meta tags from https://golang.org/x/sync/errgroup?go-get=1 (status code 200) get "golang.org/x/sync/errgroup": found meta tag get.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at https://golang.org/x/sync/errgroup?go-get=1 get "golang.org/x/sync/errgroup": verifying non-authoritative meta tag Fetching https://golang.org/x/sync?go-get=1 Parsing meta tags from https://golang.org/x/sync?go-get=1 (status code 200) golang.org/x/sync (download) package golang.org/x/sync/errgroup: mkdir C:\path\go\src\github.com\therecipe\qt\cmd\qtsetup \src: The system cannot find the path specified. Fetching https://golang.org/x/tools/go/analysis?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis?go-get=1 get "golang.org/x/tools/go/analysis": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/asmdecl?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/asmdecl?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/asmdecl": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/asmdecl?go-get=1 get "golang.org/x/tools/go/analysis/passes/asmdecl": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/internal/analysisutil?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/internal/analysisutil?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/internal/analysisutil": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/internal/analysisutil?go-get=1 get "golang.org/x/tools/go/analysis/passes/internal/analysisutil": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/assign?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/assign?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/assign": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/assign?go-get=1 get "golang.org/x/tools/go/analysis/passes/assign": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/inspect?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/inspect?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/inspect": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/inspect?go-get=1 get "golang.org/x/tools/go/analysis/passes/inspect": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/ast/inspector?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/ast/inspector?go-get=1 (status code 200) get "golang.org/x/tools/go/ast/inspector": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/ast/inspector?go-get=1 get "golang.org/x/tools/go/ast/inspector": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/atomic?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/atomic?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/atomic": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/atomic?go-get=1 get "golang.org/x/tools/go/analysis/passes/atomic": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/atomicalign?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/atomicalign?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/atomicalign": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/atomicalign?go-get=1 get "golang.org/x/tools/go/analysis/passes/atomicalign": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/bools?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/bools?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/bools": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/bools?go-get=1 get "golang.org/x/tools/go/analysis/passes/bools": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/buildtag?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/buildtag?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/buildtag": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/buildtag?go-get=1 get "golang.org/x/tools/go/analysis/passes/buildtag": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/cgocall?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/cgocall?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/cgocall": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/cgocall?go-get=1 get "golang.org/x/tools/go/analysis/passes/cgocall": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/composite?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/composite?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/composite": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/composite?go-get=1 get "golang.org/x/tools/go/analysis/passes/composite": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/copylock?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/copylock?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/copylock": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/copylock?go-get=1 get "golang.org/x/tools/go/analysis/passes/copylock": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/httpresponse?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/httpresponse?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/httpresponse": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/httpresponse?go-get=1 get "golang.org/x/tools/go/analysis/passes/httpresponse": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/loopclosure?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/loopclosure?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/loopclosure": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/loopclosure?go-get=1 get "golang.org/x/tools/go/analysis/passes/loopclosure": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/lostcancel?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/lostcancel?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/lostcancel": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/lostcancel?go-get=1 get "golang.org/x/tools/go/analysis/passes/lostcancel": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/ctrlflow?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/ctrlflow?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/ctrlflow": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/ctrlflow?go-get=1 get "golang.org/x/tools/go/analysis/passes/ctrlflow": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/cfg?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/cfg?go-get=1 (status code 200) get "golang.org/x/tools/go/cfg": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/cfg?go-get=1 get "golang.org/x/tools/go/cfg": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/types/typeutil?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/types/typeutil?go-get=1 (status code 200) get "golang.org/x/tools/go/types/typeutil": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/types/typeutil?go-get=1 get "golang.org/x/tools/go/types/typeutil": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/nilfunc?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/nilfunc?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/nilfunc": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/nilfunc?go-get=1 get "golang.org/x/tools/go/analysis/passes/nilfunc": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/printf?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/printf?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/printf": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/printf?go-get=1 get "golang.org/x/tools/go/analysis/passes/printf": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/shift?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/shift?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/shift": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/shift?go-get=1 get "golang.org/x/tools/go/analysis/passes/shift": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/stdmethods?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/stdmethods?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/stdmethods": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/stdmethods?go-get=1 get "golang.org/x/tools/go/analysis/passes/stdmethods": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/structtag?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/structtag?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/structtag": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/structtag?go-get=1 get "golang.org/x/tools/go/analysis/passes/structtag": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/tests?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/tests?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/tests": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/tests?go-get=1 get "golang.org/x/tools/go/analysis/passes/tests": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/unmarshal?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/unmarshal?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/unmarshal": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/unmarshal?go-get=1 get "golang.org/x/tools/go/analysis/passes/unmarshal": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/unreachable?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/unreachable?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/unreachable": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/unreachable?go-get=1 get "golang.org/x/tools/go/analysis/passes/unreachable": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/unsafeptr?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/unsafeptr?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/unsafeptr": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/unsafeptr?go-get=1 get "golang.org/x/tools/go/analysis/passes/unsafeptr": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/go/analysis/passes/unusedresult?go-get=1 Parsing meta tags from https://golang.org/x/tools/go/analysis/passes/unusedresult?go-get=1 (status code 200) get "golang.org/x/tools/go/analysis/passes/unusedresult": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/go/analysis/passes/unusedresult?go-get=1 get "golang.org/x/tools/go/analysis/passes/unusedresult": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/diff?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/diff?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/diff": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/diff?go-get=1 get "golang.org/x/tools/internal/lsp/diff": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/fuzzy?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/fuzzy?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/fuzzy": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/fuzzy?go-get=1 get "golang.org/x/tools/internal/lsp/fuzzy": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/snippet?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/snippet?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/snippet": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/snippet?go-get=1 get "golang.org/x/tools/internal/lsp/snippet": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/refactor/satisfy?go-get=1 Parsing meta tags from https://golang.org/x/tools/refactor/satisfy?go-get=1 (status code 200) get "golang.org/x/tools/refactor/satisfy": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/refactor/satisfy?go-get=1 get "golang.org/x/tools/refactor/satisfy": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/browser?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/browser?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/browser": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/browser?go-get=1 get "golang.org/x/tools/internal/lsp/browser": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/cache?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/cache?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/cache": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/cache?go-get=1 get "golang.org/x/tools/internal/lsp/cache": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/memoize?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/memoize?go-get=1 (status code 200) get "golang.org/x/tools/internal/memoize": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/memoize?go-get=1 get "golang.org/x/tools/internal/memoize": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/ocagent?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/ocagent?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/ocagent": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/ocagent?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/ocagent": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/lsp/telemetry/ocagent/wire?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/lsp/telemetry/ocagent/wire?go-get=1 (status code 200) get "golang.org/x/tools/internal/lsp/telemetry/ocagent/wire": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/lsp/telemetry/ocagent/wire?go-get=1 get "golang.org/x/tools/internal/lsp/telemetry/ocagent/wire": verifying non-authoritative meta tag Fetching https://golang.org/x/tools/internal/tool?go-get=1 Parsing meta tags from https://golang.org/x/tools/internal/tool?go-get=1 (status code 200) get "golang.org/x/tools/internal/tool": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools/internal/tool?go-get=1 get "golang.org/x/tools/internal/tool": verifying non-authoritative meta tag

ManPython commented 5 years ago
  1. Following by https://github.com/therecipe/qt/wiki/Deploying-Application qtedploy is not discovered in cmd as internal instrucion and unknow comand for GO

  2. Can symlink impacting in this situation so high?

    C:\>go get -u -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup -test=false
    warning: ignoring symlink C:\Go\src\github.com
    package github.com/therecipe/qt/cmd/env: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\env"
    is not using a known version control system
    package github.com/therecipe/qt/cmd/qtdeploy: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\qtdeploy" is not using a known version control system
    package github.com/therecipe/qt/cmd/qtminimal: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\qtminimal" is not using a known version control system
    package github.com/therecipe/qt/cmd/qtmoc: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\qtmoc" is not using a known version control system
    package github.com/therecipe/qt/cmd/qtrcc: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\qtrcc" is not using a known version control system
    package github.com/therecipe/qt/cmd/qtsetup: directory "C:\\Go\\src\\github.com\\therecipe\\qt\\cmd\\qtsetup" is not using a known version control system
ManPython commented 5 years ago
  1. Due to fight with compilation I think that we need separate "generate" from "install" as 2 separated process for safe time, and maybe option to "generate" and "install" just small part of QT.

//few days after I mett this: https://github.com/therecipe/qt/wiki/Common-Issues

ManPython commented 5 years ago
  1. Regarding the post https://github.com/therecipe/qt/issues/931#issuecomment-521677293 with installation attempts I have some progress (no speciall changes just again qsetup was runed after OS restart).. the test was passed with a) "testing qml\gallery" b) "testing quick\calc"
    time="2019-08-16T18:55:12+02:00" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]"
    time="2019-08-16T18:56:09+02:00" level=info msg="generating full qt/core"
    time="2019-08-16T18:56:56+02:00" level=info msg="generating full qt/androidextras"
    time="2019-08-16T18:56:58+02:00" level=info msg="generating full qt/gui"
    time="2019-08-16T18:57:48+02:00" level=info msg="generating full qt/network"
    time="2019-08-16T18:58:02+02:00" level=info msg="generating full qt/xml"
    time="2019-08-16T18:58:07+02:00" level=info msg="generating full qt/dbus"
    time="2019-08-16T18:58:12+02:00" level=info msg="generating full qt/nfc"
    time="2019-08-16T18:58:15+02:00" level=info msg="generating full qt/script"
    time="2019-08-16T18:58:19+02:00" level=info msg="generating full qt/sensors"
    time="2019-08-16T18:58:36+02:00" level=info msg="generating full qt/positioning"
    time="2019-08-16T18:58:42+02:00" level=info msg="generating full qt/widgets"
    time="2019-08-16T19:01:22+02:00" level=info msg="generating full qt/sql"
    time="2019-08-16T19:01:32+02:00" level=info msg="generating full qt/qml"
    time="2019-08-16T19:01:39+02:00" level=info msg="generating full qt/websockets"
    time="2019-08-16T19:01:43+02:00" level=info msg="generating full qt/xmlpatterns"
    time="2019-08-16T19:01:46+02:00" level=info msg="generating full qt/bluetooth"
    time="2019-08-16T19:01:56+02:00" level=info msg="generating full qt/webchannel"
    time="2019-08-16T19:01:58+02:00" level=info msg="generating full qt/svg"
    time="2019-08-16T19:02:04+02:00" level=info msg="generating full qt/multimedia"
    time="2019-08-16T19:03:08+02:00" level=info msg="generating full qt/quick"
    time="2019-08-16T19:03:39+02:00" level=info msg="generating full qt/help"
    time="2019-08-16T19:04:02+02:00" level=info msg="generating full qt/location"
    time="2019-08-16T19:04:11+02:00" level=info msg="generating full qt/scripttools"
    time="2019-08-16T19:04:13+02:00" level=info msg="generating full qt/uitools"
    time="2019-08-16T19:04:15+02:00" level=info msg="generating full qt/winextras"
    time="2019-08-16T19:04:19+02:00" level=info msg="generating full qt/testlib"
    time="2019-08-16T19:04:21+02:00" level=info msg="generating full qt/serialport"
    time="2019-08-16T19:04:23+02:00" level=info msg="generating full qt/serialbus"
    time="2019-08-16T19:04:29+02:00" level=info msg="generating full qt/printsupport"
    time="2019-08-16T19:04:39+02:00" level=info msg="generating full qt/designer"
    time="2019-08-16T19:04:58+02:00" level=info msg="generating full qt/scxml"
    time="2019-08-16T19:05:04+02:00" level=info msg="generating full qt/gamepad"
    time="2019-08-16T19:05:09+02:00" level=info msg="generating full qt/purchasing"
    time="2019-08-16T19:05:11+02:00" level=info msg="generating full qt/datavisualization    [GPLv3]"
    time="2019-08-16T19:05:28+02:00" level=info msg="generating full qt/charts               [GPLv3]"
    time="2019-08-16T19:06:08+02:00" level=info msg="generating full qt/virtualkeyboard      [GPLv3]"
    time="2019-08-16T19:06:14+02:00" level=info msg="generating full qt/speech"
    time="2019-08-16T19:06:16+02:00" level=info msg="generating full qt/quickcontrols2"
    time="2019-08-16T19:06:17+02:00" level=info msg="generating full qt/sailfish"
    time="2019-08-16T19:06:18+02:00" level=info msg="generating full qt/remoteobjects"
    time="2019-08-16T19:06:24+02:00" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]"
    time="2019-08-16T19:06:24+02:00" level=info msg="installing full qt/core"
    time="2019-08-16T19:07:14+02:00" level=info msg="installing full qt/androidextras"
    time="2019-08-16T19:07:15+02:00" level=info msg="installing full qt/gui"
    time="2019-08-16T19:07:16+02:00" level=info msg="installing full qt/network"
    time="2019-08-16T19:07:17+02:00" level=info msg="installing full qt/xml"
    time="2019-08-16T19:07:17+02:00" level=info msg="installing full qt/dbus"
    time="2019-08-16T19:07:18+02:00" level=info msg="installing full qt/nfc"
    time="2019-08-16T19:07:19+02:00" level=info msg="installing full qt/script"
    time="2019-08-16T19:07:20+02:00" level=info msg="installing full qt/sensors"
    time="2019-08-16T19:07:21+02:00" level=info msg="installing full qt/positioning"
    time="2019-08-16T19:07:22+02:00" level=info msg="installing full qt/widgets"
    time="2019-08-16T19:07:24+02:00" level=info msg="installing full qt/sql"
    time="2019-08-16T19:07:25+02:00" level=info msg="installing full qt/qml"
    time="2019-08-16T19:07:25+02:00" level=info msg="installing full qt/websockets"
    time="2019-08-16T19:07:26+02:00" level=info msg="installing full qt/xmlpatterns"
    time="2019-08-16T19:07:27+02:00" level=info msg="installing full qt/bluetooth"
    time="2019-08-16T19:07:28+02:00" level=info msg="installing full qt/webchannel"
    time="2019-08-16T19:07:28+02:00" level=info msg="installing full qt/svg"
    time="2019-08-16T19:07:29+02:00" level=info msg="installing full qt/multimedia"
    time="2019-08-16T19:07:31+02:00" level=info msg="installing full qt/quick"
    time="2019-08-16T19:07:31+02:00" level=info msg="installing full qt/help"
    time="2019-08-16T19:07:32+02:00" level=info msg="installing full qt/location"
    time="2019-08-16T19:07:33+02:00" level=info msg="installing full qt/scripttools"
    time="2019-08-16T19:07:34+02:00" level=info msg="installing full qt/uitools"
    time="2019-08-16T19:07:35+02:00" level=info msg="installing full qt/winextras"
    time="2019-08-16T19:07:35+02:00" level=info msg="installing full qt/testlib"
    time="2019-08-16T19:07:36+02:00" level=info msg="installing full qt/serialport"
    time="2019-08-16T19:07:37+02:00" level=info msg="installing full qt/serialbus"
    time="2019-08-16T19:07:37+02:00" level=info msg="installing full qt/printsupport"
    time="2019-08-16T19:07:38+02:00" level=info msg="installing full qt/designer"
    time="2019-08-16T19:07:39+02:00" level=info msg="installing full qt/scxml"
    time="2019-08-16T19:07:40+02:00" level=info msg="installing full qt/gamepad"
    time="2019-08-16T19:07:40+02:00" level=info msg="installing full qt/purchasing"
    time="2019-08-16T19:07:41+02:00" level=info msg="installing full qt/datavisualization    [GPLv3]"
    time="2019-08-16T19:07:42+02:00" level=info msg="installing full qt/charts               [GPLv3]"
    time="2019-08-16T19:07:43+02:00" level=info msg="installing full qt/virtualkeyboard      [GPLv3]"
    time="2019-08-16T19:07:43+02:00" level=info msg="installing full qt/speech"
    time="2019-08-16T19:07:44+02:00" level=info msg="installing full qt/quickcontrols2"
    time="2019-08-16T19:07:45+02:00" level=info msg="installing full qt/sailfish"
    time="2019-08-16T19:07:46+02:00" level=info msg="installing full qt/remoteobjects"
    time="2019-08-16T19:07:46+02:00" level=info msg="running: 'qtsetup test windows' [docker=false] [vagrant=false]"
    time="2019-08-16T19:07:46+02:00" level=info msg="testing qml\\gallery"
    time="2019-08-16T19:10:29+02:00" level=info msg="testing quick\\calc"
    time="2019-08-16T19:14:17+02:00" level=info msg="testing widgets\\textedit"

    c) next test failed as "testing widgets\textedit" - don't know why

    time="2019-08-16T19:14:17+02:00" level=info msg="testing widgets\\textedit"
    time="2019-08-16T19:19:38+02:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 2 -v -ldflags=all=\"-s\" \"-w\" -o 
    C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\widgets\\textedit\\deploy\\windows\\textedit.exe -tags=\"minimal\"" 
    dir="C:\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\widgets\\textedit" env="QT_API=5.13.0 SESSIONNAME=Console 
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC =ExitCode=00000002 ALLUSERSPROFILE=C:\\ProgramData HOMEDRIVE=C: 
    PROCESSOR_LEVEL=6 USERDOMAIN=xxx-Comp TMP=C:\\Users\\xxx\\AppData\\Local\\Temp ComSpec=C:\\Windows\\system32\\cmd.exe 
    GOROOT =c:\\Go\\ 
    OS=Windows_NT ProgramData=C:\\ProgramData PUBLIC=C:\\Users\\Public 
    windir=C:\\Windows TEMP=C:\\Users\\xxx\\AppData\\Local\\Temp asl.log=Destination=file PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_REVISION=0f0d 
    QT_DIR=C:\\GO\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513 
    FP_NO_HOST_CHECK=NO HOMEPATH=\\Users\\xxx LOCALAPPDATA=C:\\Users\\xxx\\AppData\\Local QT_DEBUG_CONSOLE=true SystemDrive=C: 
    USERPROFILE=C:\\Users\\xxx LOGONSERVER=\\\\xxx-COMP PSModulePath=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\ 
    SystemRoot=C:\\Windows CLASSPATH=.;C:\\Program Files (x86)\\QuickTime\\QTSystem\\QTJava.zip 
    GO111MODULE=off NUMBER_OF_PROCESSORS=2 CommonProgramW6432=C:\\Program Files\\Common Files 
    PROMPT=$P$G CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files 
    GOPATH=C:\\gopath\\go\\ 
    AMDAPPSDKROOT=C:\\Program Files (x86)\\AMD APP\\ PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 13, GenuineIntel
    USERNAME=xxx APPDATA=C:\\Users\\xxx\\AppData\\Roaming CGO_ENABLED=1 
    PATH=C:\\Go\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513\\Tools\\mingw730_64\\bin;
    C:\\Users\\Public\\env_windows_amd64\\5.13.0\\mingw73_64\\bin;
    C:/Users/Public/env_windows_amd64_Tools/mingw730_64\\bin;
    .... 
    error="exit status 2" name="build for windows on windows"

    d) rest of log

GOOS=windows" error=="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/widgets
# github.com/therecipe/qt/widgets
widgets-minimal.cpp: In function 'void* QDesktopWidget_AvailableGeometry(void*, int)':
widgets-minimal.cpp:1509:88: warning: 'const QRect QDesktopWidget::availableGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
  return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
                                                                                        ^
In file included from C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/QDesktopWidget:1:0,
                 from widgets-minimal.cpp:21:
C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/qdesktopwidget.h:88:67: note: declared here
     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
                                                                   ^~~~~~~~~~~~~~~~~
github.com/therecipe/qt/printsupport
github.com/therecipe/qt/internal/examples/widgets/textedit
# github.com/therecipe/qt/internal/examples/widgets/textedit
.\textedit.go:55:13: undefined: NewTextEdit

exit status 1

e) on VSC compile qt\examples-master\examples-master\basic\widgets\main.go core.cpp:9:30: fatal error: QAbstractAnimation: No such file or directory f) on cmd

C:\>go run "c:\qt\examples-master\examples-master\basic\widgets\main.go"
exit status 3221225781

Soo.. I'm here https://github.com/therecipe/qt/issues/812

g) why the list of test have difrent examples for test? Following point a) the first was "wallet" and here gallery..

ManPython commented 5 years ago
  1. Regarding first post a) and contnet on https://github.com/therecipe/qt/wiki/Available-Tools I. I'm not sure.. that the tools should be like .exe in Go\bin dir ?

    qtsetup qtdeploy qtrcc qtmoc qtminimal

II. Sounds sense that should be .exe but in install process nothing about (in wiki) III. So regarding previous post that qml and quick examples working there is missunderstanding betwen widgets and qt-tools like in point I. (which examples requires what type of tools or part of this binding stuff).

b) by the example on https://github.com/therecipe/qt/wiki/Getting-Started I. looks no sense for:

C:\>go test -v "c:\qt\examples-master\examples-master\basic\widgets\main.go"
?       command-line-arguments  [no test files]
ManPython commented 5 years ago
  1. I fill losed.. a) all installation attempts was realised by C:\>go run "C:\Go\src\github.com\therecipe\qt\cmd\qtsetup\main.go" b) now I don't know what source is of \Go\bin\qtsetup.exe but I used this with no sucess again C:\>"C:\Go\bin\qtsetup.exe"
time="2019-08-16T23:58:06+02:00" level=info msg="installing full qt/remoteobjects"
time="2019-08-16T23:58:07+02:00" level=info msg="running: 'qtsetup test windows' [docker=false] [vagrant=false]"
time="2019-08-16T23:58:07+02:00" level=info msg="testing showcases\\wallet"
time="2019-08-16T23:59:20+02:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 2 -v -ldflags=all=\"-s\" \"-w\" -o
C:\\\\Go\\src\\github.com\\therecipe\\qt\\internal\\examples\\showcases\\wallet\\deploy\\windows\\wallet.exe -tags=\"minimal\"" 
..
github.com/therecipe/qt/internal/examples/showcases/wallet/controller
# github.com/therecipe/qt/widgets
widgets-minimal.cpp: In function 'char QFileDialog_ResolveSymlinks(void*)':
widgets-minimal.cpp:992:57: warning: 'bool QFileDialog::resolveSymlinks() const' is deprecated: Use !testOption(DontResolveSymlinks) instead [-Wdeprecated-declarations]
  return static_cast<QFileDialog*>(ptr)->resolveSymlinks();
                                                         ^
In file included from C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/QFileDialog:1:0,
                 from widgets-minimal.cpp:21:
C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/qfiledialog.h:164:10: note: declared here
     bool resolveSymlinks() const;
          ^~~~~~~~~~~~~~~
# github.com/therecipe/qt/internal/examples/showcases/wallet/controller
controller\controller.go:29:3: c.SetSynced undefined (type *controller has no field or method SetSynced)
controller\controller.go:30:3: c.SetLocked undefined (type *controller has no field or method SetLocked)
github.com/therecipe/qt/internal/examples/showcases/wallet/theme/controller
github.com/therecipe/qt/internal/examples/showcases/wallet/view
# github.com/therecipe/qt/internal/examples/showcases/wallet/theme/controller
theme\controller\colorPicker.go:44:13: Controller.Hide undefined (type *ThemeController has no field or method Hide)
theme\controller\colorPicker.go:57:14: Controller.SetAccent undefined (type *ThemeController has no field or method SetAccent)
theme\controller\colorPicker.go:60:14: Controller.SetNextAccent undefined (type *ThemeController has no field or method SetNextAccent)
theme\controller\colorPicker.go:63:14: Controller.SetBackground undefined (type *ThemeController has no field or method SetBackground)
theme\controller\colorPicker.go:66:14: Controller.SetDarkBackground undefined (type *ThemeController has no field or method SetDarkBackground)
theme\controller\colorPicker.go:69:14: Controller.SetWalletTableHeader undefined (type *ThemeController has no field or method SetWalletTableHeader)
theme\controller\colorPicker.go:72:14: Controller.SetWalletTableAlternate undefined (type *ThemeController has no field or method SetWalletTableAlternate)
theme\controller\colorPicker.go:75:14: Controller.SetWalletTableHighlight undefined (type *ThemeController has no field or method SetWalletTableHighlight)
theme\controller\colorPicker.go:78:14: Controller.SetInputFieldBackground undefined (type *ThemeController has no field or method SetInputFieldBackground)
theme\controller\colorPicker.go:81:14: Controller.SetFont undefined (type *ThemeController has no field or method SetFont)
theme\controller\colorPicker.go:81:14: too many errors
# github.com/therecipe/qt/internal/examples/showcases/wallet/view
view\stack.go:9:15: undefined: stackTemplate_QmlRegisterType2
view\view.go:9:15: undefined: viewTemplate_QmlRegisterType2
ManPython commented 5 years ago
  1. Again missunderstanding.. a) I downloaded manualy C:\projects\examples-master\basic and trying depoloy
    C:\projects\examples-master\ C:\Go\bin\qtdeploy test desktop ./basic/quick
    time="2019-08-17T01:39:34+02:00" level=error msg="invalid api version provided: '5.13.0'"
    valid api versions are:

    I. Should exist information valid api versions are: eg as '5.13.0' or empty?

b) The default downloaded C:\examples\basic (1,12 GB ! ) deploy working ! I. The "special env" for this C:\examples\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\bin looks this same as in second post and point 1 in as c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513

II. The copy C:\projects\examples-master\basic to C:\example\basic_ - working

c) what is difference betwen a) and b) ? Don't know.. I. Why deploy creating dir empty windows when realese files are in deploy?

ManPython commented 5 years ago
  1. Some deploy attempts - FAILED a) advancedclock C:\>gopath\go\bin\qtdeploy test desktop c:\Go\src\github.com\therecipe\qt\internal\examples\gui\advancedclock
    github.com/therecipe/qt/core
    github.com/therecipe/qt/gui
    github.com/therecipe/qt/widgets
    github.com/therecipe/qt/internal/examples/gui/advancedclock
    # github.com/therecipe/qt/internal/examples/gui/advancedclock
    .\main.go:31:15: undefined: NewAnalogClockQwdgt
    .\main.go:45:3: w.ConnectRenderLater undefined (type *AnalogClockQwdgt has no field or method ConnectRenderLater)
    .\main.go:85:19: undefined: gui.NewQPolygon4
    .\main.go:200:19: ev.MouseState undefined (type *gui.QMouseEvent has no field or method MouseState)
    .\main.go:211:19: ev.MouseState undefined (type *gui.QMouseEvent has no field or method MouseState)
    .\main.go:257:3: w.RenderLater undefined (type *AnalogClockQwdgt has no field or method RenderLater, but does have renderLater)

    b)analogclock

    github.com/therecipe/qt/core
    github.com/therecipe/qt/gui
    github.com/therecipe/qt/internal/examples/gui/analogclock
    # github.com/therecipe/qt/internal/examples/gui/analogclock
    .\analogclock.go:47:19: undefined: gui.NewQPolygon4
    .\analogclock.go:106:14: undefined: NewAnalogClockWindow
    .\rasterwindow.go:28:3: w.ConnectRenderLater undefined (type *RasterWindow has no field or method ConnectRenderLater)
    .\rasterwindow.go:31:3: w.ConnectRenderNow undefined (type *RasterWindow has no field or method ConnectRenderNow)
    .\rasterwindow.go:38:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
    .\rasterwindow.go:51:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
    .\rasterwindow.go:57:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
    .\rasterwindow.go:81:19: not enough arguments in call to painter.DrawText5
        have (*core.QRectF, int, string, *core.QRectF)
        want (int, int, int, int, int, string, core.QRect_ITF)

c)openglwindow

github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/internal/examples/gui/openglwindow
# github.com/therecipe/qt/internal/examples/gui/openglwindow
.\main.go:96:12: undefined: NewTriangleWindow

d) rasterwindow C:\>gopath\go\bin\qtdeploy test desktop c:\Go\src\github.com\therecipe\qt\internal\examples\gui\rasterwindow

github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/internal/examples/gui/rasterwindow
# github.com/therecipe/qt/internal/examples/gui/rasterwindow
.\main.go:14:15: undefined: NewRasterWindow
.\rasterwindow.go:26:3: w.ConnectRenderLater undefined (type *RasterWindow has no field or method ConnectRenderLater)
.\rasterwindow.go:29:3: w.ConnectRenderNow undefined (type *RasterWindow has no field or method ConnectRenderNow)
.\rasterwindow.go:34:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:47:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:53:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:77:19: not enough arguments in call to painter.DrawText5
        have (*core.QRectF, int, string, *core.QRectF)
        want (int, int, int, int, int, string, core.QRect_ITF)
ManPython commented 5 years ago
  1. Strange.. a) I'm able to deploy simple qt widgets (not only qml or quick) like in code bellow,
 package main

 import (
         "fmt"
         "github.com/therecipe/qt/core"
         "github.com/therecipe/qt/widgets"
         "os"
         "time"
 )

 var (
         mainApp        *widgets.QApplication
         progressDialog *widgets.QProgressDialog
         mainLayout     *widgets.QWidget
 )

 func delaySecond(n time.Duration) {
         time.Sleep(n * time.Second)
 }

 func populate() *widgets.QWidget {

         mainLayout = widgets.NewQWidget(nil, 0)
         button := widgets.NewQPushButton2("Show Progress Dialog", nil)
         button.ConnectClicked(func(flag bool) {

                 jobs := 100
                 progressDialog := widgets.NewQProgressDialog(mainLayout, core.Qt__Widget)
                 progressDialog.SetWindowModality(core.Qt__NonModal)
                 progressDialog.SetWindowTitle("Progress bar progressing...")
                 progressDialog.SetMinimum(0)
                 progressDialog.SetMaximum(jobs)
                 progressDialog.Show()

                 for i := 1; i < jobs; i++ {
                         progressDialog.SetValue(i)

                         // see http://stackoverflow.com/questions/8399349/simple-example-using-qprogressdialog-any-ideas-why-this-doesnt-work-properly
                         // on the QApplication::processEvents()

                         // somehow ExcludeUserInputEvents will prevent us from clicking the Cancel button!
                         //core.QCoreApplication_ProcessEvents(core.QEventLoop__ExcludeUserInputEvents)

                         // without this line, the progress bar or UI elements will not be updated!!
                         core.QCoreApplication_ProcessEvents(core.QEventLoop__AllEvents)

                         // too fast! introduce some delay to let you see the progression
                         delaySecond(time.Duration(1))

                         if progressDialog.WasCanceled() {
                                 fmt.Printf("\r")
                                 fmt.Printf("\rAborted at %d/%d", i, jobs)
                                 break
                         }

                         // too lazy to add text label in the widget
                         // so, we use https://www.socketloop.com/tutorials/golang-overwrite-previous-output-with-count-down-timer
                         fmt.Printf("\rProgressing %d/%d", progressDialog.Value(), jobs)
                 }
                 progressDialog.SetValue(jobs)

         })

         layout := widgets.NewQVBoxLayout()
         layout.AddWidget(button, 0, core.Qt__AlignCenter)
         mainLayout.SetLayout(layout)
         return mainLayout
 }

 func main() {

         mainApp = widgets.NewQApplication(len(os.Args), os.Args)

         populate().Show()

         mainApp.Exec()
 }

b) but not any of ready QT example as internal github.com\therecipe\qt\internal\examples\widgets\textedit

error="exit status 2" name="build for windows on windows"
# github.com/therecipe/qt/widgets
widgets-minimal.cpp: In function 'void* QDesktopWidget_AvailableGeometry(void*, int)':
widgets-minimal.cpp:1509:88: warning: 'const QRect QDesktopWidget::availableGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
  return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
                                                                                        ^
In file included from C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/QDesktopWidget:1:0,
                 from widgets-minimal.cpp:21:
C:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\5.13.0\mingw73_64\include\QtWidgets/qdesktopwidget.h:88:67: note: declared here
     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
                                                                   ^~~~~~~~~~~~~~~~~
github.com/therecipe/qt/internal/examples/widgets/textedit
# github.com/therecipe/qt/internal/examples/widgets/textedit
.\textedit.go:55:13: undefined: NewTextEdit
therecipe commented 4 years ago

Hey

I have here env_windows_amd64_513 is this correct? go\src\github.com\therecipe\env_windows_amd64_513

Yes, the "env" dir should be located in $GOPATH/src/github.com/therecipe/env_$GOOS_amd64_513

Why the error show: c:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513 ..and duplicated github.com and rest? The env_windows_amd64_513 must be in vendor dir following the log? Or why vendor not exist?

I'm not sure why the env dir got vendored in $GOPATH/src/github.com/therecipe/qt, but you will probably need to remove the therecipe/qt/vendor dir to make it work. (as I'm not sure if vendoring the "env" dir works outside of the go "module" mode at all)

The problem is related again with #511 In my opinion the qt\cmd and the install process shloud be more explained (the real steps to use QT with GO and some qt-go example) or simplified. For example following the instruction: https://github.com/therecipe/qt/wiki/Installation there is no information about qtsetup, env_windows_amd64_513, and other tools of cmd/

You can find some infos about the tooling here, but yes things like how the "env_$GOOS_amd64_513" works aren't really explained at all.

I might need to rework the instructions to clarify this, but basically you can either install the binding in the "old" GOPATH mode and share one installation across several projects. Or install the binding on a per project basis using the "new" go module mode.

On windows you will just need to run this:

go get -u -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup -test=false

to install the binding in the old GOPATH mode

or running this:

go get -u -v github.com/therecipe/qt/cmd/qtsetup && go get -u -v github.com/therecipe/qt/cmd/... && go mod vendor && git clone https://github.com/therecipe/env_windows_amd64_513.git vendor/github.com/therecipe/env_windows_amd64_513 && for /f %v in ('go env GOPATH') do %v\bin\qtsetup -test=false

inside a go module'd project, to install the binding in the go "module" mode.


b) The 'qtsetup generate windows' is clear, but what doing 'qtsetup install windows' ?

The install stage basically just runs something like go install for each sub-package of the qt binding (core, gui, widgets, ...) this will speedup the compilation later if you use qtdeploy -fast or go build/run to compile your projects.

Is this mind that when we using env_windows_amd64_513 then we don't need to install official QT setup (10GB)?

Yes, if you use the "Fast track" installation from above, then you won't need to install the official Qt version.

a) I was sure that QT_DIR = C:\Qt\Tools\QtCreator\bin\ is this corect? b) by log QT_DIR is env_windows_amd64_513

It's usually C:\Qt, C:\Qt\Qt5.13.0 or $GOPATH/src/github.com/therecipe/env_windows_amd64_513 and also should be detected automatically if you install Qt in the default location. (Using the official Qt installation or the "Fast track" installation mode)

c) so we have 3 options to compile QT apps? I. as in a) by official QT env II. as in b) by env_windows_amd64_513 III. as prepared in docker IV. other?

Yes, and on windows you could also use the msys2 versions, on linux you could use the Qt version of your distros package manager and on macOS you could use the Qt version of Homebrew (and also from MacPorts, NixOS and Felgo)

Is possible to use and work with some compiled/installed version of go-qt by therecipe? I have idea to ommit all process as "installing full qt/..." ? a) Any option to have some "precompiled/installed" this stuff?

That's sadly no longer possible, because the Go team decided to drop binary only packages: https://tip.golang.org/doc/go1.12#binary-only

But if you just want to deploy your application (in CI/CD processes or something), then you usually won't need to run the full setup and you can most of the time just run something like

go get -u -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtdeploy test desktop github.com/therecipe/examples/basic/widgets

to build and deploy your application


Why this process of generate and install (specially) consuming so huge time (more than 6h - it was not finished due to unknow time)? Is this normal?

The generation process should usually take only a few minutes, and can probably be heavily optimized in the future. The installation process on the other hand is slow because there has to be a lot of cgo stuff compiled and unlike pure go code this can take quite a while.

After last row of log around 019-08-14T20:16:30+02:00 there is no changes to next day : ) a) is this normal? b) what I should to see in log after end of setup and whole job? c) Is this normal that compile.exe consuming 95% of physical memory, 5% of CPUs? d) This situation is regarding to question of point 4 in previous post

No, this is not normal and since the process stopped when installing the "widgets" module I suspect that you are probably running the setup on some machine with 4GB ram or something? It can happend that the setups slows down a lot, if there is not enough ram left to work with. Usually if the setup completes successfully you should see 4 Qt examples pop up. About the 95% physical memory and 5% of CPUs utilisation, this can happen either if you are running low on ram, or due this issue https://github.com/therecipe/env_windows_amd64_513/blob/master/init.sh#L14

Can you maybe try to run go get -v -d github.com/therecipe/env_windows_amd64_512 and then run the qtsetup again with QT_VERSION=5.12.0 and QT_API=5.12.0 beeing set? Because I actually did work around this issue when buildling the env_windows_amd64_512 by using gcc 6.4.0, which compiles cgo code a lot faster and the gcc 7.3.0 version used in env_windows_amd64_513. If this speeds-up your setup significantly, then I will patch the env_windows_amd64_513 as well to contain gcc 6.4.0


Dam.. 6h work with this and..

Mh, I can't see what went wrong from the log, but maybe try to run

qtdeploy test desktop github.com/therecipe/qt/internal/examples/showcases/wallet

By this log as upper don't know that setup was with sucess or not.

The installation step was sucessfull, I'm not sure why the test step failed though.

a) this sholud exist normaly or created aftter deploy? b) failed to run command.. minds that setup was failed by this example?

This just means that the "go build" process failed to create the wallet.exe, and yes the setup "failed" because the example couldn't be build. But you should probably be able to build other examples with qtdeploy

I try think that setup, generate/install was ok. a) but.. after run other example.. like by VSC examples-master\examples-master\basic\widgets\main.go b) in console

You will probably need to use the qtenv.bat or qtdeploy to build qt code. (alternativly you can also look into the qtenv.bat and export the PATH)


Other event that can be related maybe..

I'm not familiar with gopls, sorry. I will try to look into this though.

Due to fight with compilation I think that we need separate "generate" from "install" as 2 separated process for safe time, and maybe option to "generate" and "install" just small part of QT.

You can run qtsetup generate and qtsetup install to just either generate the binding or install it without running the re-generation step. About the partial installation, you can theoretically just run qtsetup generate and then go build your project, this way you could skip the qtsetup install step as well.

c) next test failed as "testing widgets\textedit" - don't know why

This is probably due to .\textedit.go:55:13: undefined: NewTextEdit, which seems like qtmoc somehow didn't run. (This is probably the same issue as with the "wallet" example)

g) why the list of test have difrent examples for test? Following point a) the first was "wallet" and here gallery..

The examples [calc, gallery, textedit, wallet] build during the test step are unordered, the next example after the textedit example would have been the wallet example again.


I'm not sure.. that the tools should be like .exe in Go\bin dir ?

Yes, these 5 application should have been installed when running go get -v github.com/therecipe/qt/cmd/..., you can also re-install them at some point later by running go install -v github.com/therecipe/qt/cmd/...


github.com/therecipe/qt/internal/examples/showcases/wallet/view

view\stack.go:9:15: undefined: stackTemplate_QmlRegisterType2 view\view.go:9:15: undefined: viewTemplate_QmlRegisterType2

This seems to be the same issue as before


I. Should exist information valid api versions are: eg as '5.13.0' or empty?

You can usually just keep it empty, but if you use the go "module" mode, then you will need to download these apis with something like go get -v -d github.com/therecipe/qt/internal/binding/files/docs/5.13.0 first.

c) what is difference betwen a) and b) ? Don't know..

Maybe windows is not happy with - in the path or something, it should work on macOS and linux though.

I. Why deploy creating dir empty windows when realese files are in deploy?

The windows folder created in the root folder of your project can be used for bundling assets: https://github.com/therecipe/qt/wiki/Bundling-Assets#bundling-assets-alongside-your-binary-using-deployment-folders


Some deploy attempts - FAILED

Yeah, these gui/opengl examples were somewhat broken But I fixed some of these issues now with: https://github.com/therecipe/qt/commit/22075336a24ed0b605b3338d9d0ae0c025eac876

.\main.go:96:12: undefined: NewTriangleWindow

This issue is something different though, and seems to be the same qtmoc issue I talked about earlier.

Strange.. a) I'm able to deploy simple qt widgets (not only qml or quick) like in code bellow, b) but not any of ready QT example as internal

It could be that having the env vendored under the therecipe/qt dir

time="2019-08-15T12:16:01+02:00" level=info msg="QT_DIR:                   *  'C:\\Go\\src\\github.com\\therecipe\\qt\\vendor\\github.com\\therecipe\\env_windows_amd64_513'"

breaks these examples for some reason, maybe try to rename the vendor dir, so that the go tools will use the env in C:\\Go\\src\\github.com\\therecipe\\env_windows_amd64_513 instead and then run qtdeploy on these examples again. (there should be no need to re-run the setup just for deploying these examples) Or maybe just copy the examples into a different place and test them there.

therecipe commented 4 years ago

@ManPython I think https://github.com/therecipe/qt/commit/9e361992b5ed846ce9d71389aa59de522b39c48d#diff-70e9f4fa56e04a0853961938905c5d08 might fix the failing tests. I wasn't able to reproduce it yet, but chances are good that this was the issue.

ManPython commented 4 years ago

@therecipe First of all thx for review problems. Take this issues with vendors as typical probably for new users that want use this binding library and inspiration to solve some of other problmes.

Long time to generate and install files is related with VSC cmd/terminal. In pure cmd is more short and acceptable.

I cloned repo qt again. Need start with this all again from begin.

  1. I want sugest to predict some new issues due to usage of variable vendors and new versions of QT. a) I try to use env_windows_amd64_512 in alternate to env_windows_amd64_513 but I. JUNCTION is env_windows_amd64_Tools in some case of changes we must operate on symlinks https://github.com/therecipe/qt/issues/940
    <JUNCTION>     env_windows_amd64_Tools [e:\Go\src\github.com\therecipe\qt\vendor\github.com\therecipe\env_windows_amd64_513\Tools]

    II. eg. of problem: gcc: error: C:\Users\Public\env_windows_amd64\Tools\mingw730_64\x86_64-w64-mingw32\lib\libmsvcrt.a: No such file or directory - this true no file and worst.. no dir for gcc It's more comfy to operate with this by global vars

package env where is

import _ "github.com/therecipe/env_windows_amd64_512"

should be more uniwersal. b) Let we imagine some update of QT libs or therecipe in some project.. we need test new env in deployment. Maybe more for future is to buld special repo therecipe/qt512 therecipe/qt513 to stay with some stable versions? I. This sugesting for some isolated tools and result of working this all. II. Maybe some like this generations dirs and v1, v2 as qt from therecipe. III. Don't what with installs.

c) Other noticed problem with deployment is that some .exe based on qml puting all files QT next to .exe and duplicate all stuff of QT.. (consuming disc drive, and other regarding to the project version) I. This is not comfy if we wroking with many projects with QT and versions of this. II. Should exist some deployments where this can be like "uniwersal dir" with QT libs, don't know what about "single .exe file" in this deployment staff. III. Similar for deployed project should exist QTlibs dir for cleanup software (hvr not any sucess here and experience with this.. but observing some examples I discovering many things that must solve to move my projects from Python to Go)

ManPython commented 4 years ago

I think that should exist some setup.bat or install.bat in github.com\therecipe\qt and unistall.bat. I spent many time before I discover that need run github.com\therecipe\qt\cmd\qtsetup\main.go

ManPython commented 4 years ago

Some changes regarding post https://github.com/therecipe/qt/issues/931#issuecomment-522185870 but still no sucess. Soo.. if in test process after instalation is failed, thats mind qtmoc has problems or qtdeploy? Should I work with qtmoc in these examples as bellow?

error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/widgets
github.com/therecipe/qt/internal/examples/gui/advancedclock
# github.com/therecipe/qt/internal/examples/gui/advancedclock
.\main.go:31:15: undefined: NewAnalogClockQwdgt
.\main.go:45:3: w.ConnectRenderLater undefined (type *AnalogClockQwdgt has no field or method ConnectRenderLater)
.\main.go:257:3: w.RenderLater undefined (type *AnalogClockQwdgt has no field or method RenderLater, but does have renderLater)
---
error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/internal/examples/gui/analogclock
# github.com/therecipe/qt/internal/examples/gui/analogclock
.\analogclock.go:106:14: undefined: NewAnalogClockWindow
.\rasterwindow.go:28:3: w.ConnectRenderLater undefined (type *RasterWindow has no field or method ConnectRenderLater)
.\rasterwindow.go:31:3: w.ConnectRenderNow undefined (type *RasterWindow has no field or method ConnectRenderNow)
.\rasterwindow.go:38:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:51:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:57:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
---
error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/internal/examples/gui/openglwindow
# github.com/therecipe/qt/internal/examples/gui/openglwindow
.\main.go:96:12: undefined: NewTriangleWindow
---
error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/internal/examples/gui/rasterwindow
# github.com/therecipe/qt/internal/examples/gui/rasterwindow
.\main.go:14:15: undefined: NewRasterWindow
.\rasterwindow.go:26:3: w.ConnectRenderLater undefined (type *RasterWindow has no field or method ConnectRenderLater)
.\rasterwindow.go:29:3: w.ConnectRenderNow undefined (type *RasterWindow has no field or method ConnectRenderNow)
.\rasterwindow.go:34:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:47:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
.\rasterwindow.go:53:4: w.RenderNow undefined (type *RasterWindow has no field or method RenderNow, but does have renderNow)
---
error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
github.com/therecipe/qt/widgets
# github.com/therecipe/qt/widgets
widgets-minimal.cpp: In function 'void* QDesktopWidget_AvailableGeometry(void*, int)':
widgets-minimal.cpp:1509:88: warning: 'const QRect QDesktopWidget::availableGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
  return ({ QRect tmpValue = static_cast<QDesktopWidget*>(ptr)->availableGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); });
                                                                                        ^
In file included from C:/gopath/go/src/github.com/therecipe/env_windows_amd64_513/5.13.0/mingw73_64/include/QtWidgets/QDesktopWidget:1:0,
                 from widgets-minimal.cpp:21:
C:/gopath/go/src/github.com/therecipe/env_windows_amd64_513/5.13.0/mingw73_64/include/QtWidgets/qdesktopwidget.h:88:67: note: declared here
     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
                                                                   ^~~~~~~~~~~~~~~~~
github.com/therecipe/qt/printsupport
github.com/therecipe/qt/internal/examples/widgets/textedit
# github.com/therecipe/qt/internal/examples/widgets/textedit
.\textedit.go:55:13: undefined: NewTextEdit
---
 error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/internal/examples/uitools/calculator/ui
github.com/therecipe/qt/core
# github.com/therecipe/qt/internal/examples/uitools/calculator/ui
ui\calculatorform.go:5:10: undefined: CalculatorForm
github.com/therecipe/qt/gui
github.com/therecipe/qt/widgets