Open huiminghao opened 4 years ago
Hey
I will look into this. It could be that go modules aren't supported with msys2 atm, but I'm not really sure.
hi,
@huiminghao I work fine in the environment of Win10 + MSYS2. I think you would need to provide a little more information to solve this problem. For example, Qt version you using (official version or MSYS2 version), setup of various environment variables, s.t. GO111MODULE, QT_VERSION, QT_DIR, QT_MSYS2_ARCH, etc...
@akiyosi tell me please how you setup? i tried msys and official version of QT and no luck with only one error:
time="2020-03-21T02:09:08+03:00" level=info msg="installing full qt/core"
github.com/therecipe/qt/core
# github.com/therecipe/qt/core
core.cpp:10:3: error: #error ------------------------------------------------------------------
10 | #error ------------------------------------------------------------------
| ^~~~~
core.cpp:11:3: error: #error please run: '$(go env GOPATH)/bin/qtsetup'
11 | #error please run: '$(go env GOPATH)/bin/qtsetup'
| ^~~~~
core.cpp:12:3: error: #error more info here: https:
12 | #error more info here: https://github.com/therecipe/qt/wiki/Installation
| ^~~~~
core.cpp:13:3: error: #error ------------------------------------------------------------------
13 | #error ------------------------------------------------------------------
| ^~~~~
core.cpp:15:10: fatal error: QAbstractAnimation: No such file or directory
15 | #include <QAbstractAnimation>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
time="2020-03-21T02:12:30+03:00" level=error msg="failed to install 'core'; aborting setup"
Same error as @ergoz got here.
From the doc, it seems the msys2 version is not officially supported. BUT I really want it cloud work.
I used to use MinGW version of QT official relase, but found it hard to ship with 3rd party libraries. I think msys2 is the greatest dev env for win7/win10.
I found the docker labeled windows/msys2/shared, but I dont think its my way to use therecipe/qt, since the msys2 rolls every week and I need it to compile other src.
The
qtsetup
succeeds with warning:When I tried to deploy basic/qml, I gets:
Thanks for all your work.