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.5k stars 748 forks source link

windows fail #1298

Open parsibox opened 2 months ago

parsibox commented 2 months ago

hi i want to build example on windows 11 64 bit i set set QT_VERSION=5.14.0 AND set QT_WEBKIT=true i really have this file C:\Qt\Qt5.14.0\5.14.0\mingw73_64\include\QtCore\QAbstractAnimation but it say core.cpp:15:10: fatal error: QAbstractAnimation: No such file or directory

please help me

D:\examples>C:\Users\parsibox\go/bin/qtsetup
time="2024-09-19T10:05:52+03:30" level=info msg="running: 'qtsetup prep'"
time="2024-09-19T10:05:52+03:30" level=info msg="successfully created qtrcc symlink in your PATH (C:\\Program Files\\Go\\bin\\qtrcc.exe)"
time="2024-09-19T10:05:52+03:30" level=info msg="successfully created qtmoc symlink in your PATH (C:\\Program Files\\Go\\bin\\qtmoc.exe)"
time="2024-09-19T10:05:52+03:30" level=info msg="successfully created qtminimal symlink in your PATH (C:\\Program Files\\Go\\bin\\qtminimal.exe)"
time="2024-09-19T10:05:52+03:30" level=info msg="successfully created qtdeploy symlink in your PATH (C:\\Program Files\\Go\\bin\\qtdeploy.exe)"
time="2024-09-19T10:05:52+03:30" level=info msg="running: 'qtsetup check windows' [docker=false] [vagrant=false]"
time="2024-09-19T10:05:52+03:30" level=info msg="GOOS:                        'windows'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOARCH:                      'amd64'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOVERSION:                   'go1.23.0'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOROOT:                      'C:\\Program Files\\Go'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOPATH:                   *  'C:\\Users\\parsibox\\go'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOBIN:                       'C:\\Users\\parsibox\\go\\bin'"
time="2024-09-19T10:05:52+03:30" level=info msg="GOMOD:                       'D:\\wamp64\\www\\product_golang\\config-encoder\\fanap_online_mci\\examples\\go.mod'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_HASH:                     'v0.0.0-20200904063919-c0c124a5770d'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_API:                      ''"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_VERSION:               *  '5.14.0'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_DIR:                      'C:\\Qt\\Qt5.14.0'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_STUB:                     'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_DEBUG:                    'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_QMAKE_DIR:                ''"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_WEBKIT:                *  'true'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_STATIC:                   'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_GEN_GO:                   'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_GEN_OPENGL:               'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_GEN_QUICK_EXTRAS:         'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_RESOURCES_BIG:            'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_NOT_CACHED:               'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_DEBUG_CONSOLE:            'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="QT_MSYS2:                    'false'"
time="2024-09-19T10:05:52+03:30" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]"
time="2024-09-19T10:05:57+03:30" level=info msg="generating full qt/core"
time="2024-09-19T10:06:13+03:30" level=info msg="generating full qt/androidextras"
time="2024-09-19T10:06:14+03:30" level=info msg="generating full qt/gui"
time="2024-09-19T10:06:32+03:30" level=info msg="generating full qt/network"
time="2024-09-19T10:06:37+03:30" level=info msg="generating full qt/xml"
time="2024-09-19T10:06:38+03:30" level=info msg="generating full qt/dbus"
time="2024-09-19T10:06:40+03:30" level=info msg="generating full qt/nfc"
time="2024-09-19T10:06:41+03:30" level=info msg="generating full qt/script"
time="2024-09-19T10:06:43+03:30" level=info msg="generating full qt/sensors"
time="2024-09-19T10:06:47+03:30" level=info msg="generating full qt/positioning"
time="2024-09-19T10:06:48+03:30" level=info msg="generating full qt/widgets"
time="2024-09-19T10:07:27+03:30" level=info msg="generating full qt/sql"
time="2024-09-19T10:07:30+03:30" level=info msg="generating full qt/qml"
time="2024-09-19T10:07:33+03:30" level=info msg="generating full qt/websockets"
time="2024-09-19T10:07:34+03:30" level=info msg="generating full qt/xmlpatterns"
time="2024-09-19T10:07:35+03:30" level=info msg="generating full qt/bluetooth"
time="2024-09-19T10:07:37+03:30" level=info msg="generating full qt/webchannel"
time="2024-09-19T10:07:38+03:30" level=info msg="generating full qt/svg"
time="2024-09-19T10:07:40+03:30" level=info msg="generating full qt/multimedia"
time="2024-09-19T10:07:51+03:30" level=info msg="generating full qt/quick"
time="2024-09-19T10:07:55+03:30" level=info msg="generating full qt/help"
time="2024-09-19T10:07:59+03:30" level=info msg="generating full qt/location"
time="2024-09-19T10:08:00+03:30" level=info msg="generating full qt/scripttools"
time="2024-09-19T10:08:01+03:30" level=info msg="generating full qt/uitools"
time="2024-09-19T10:08:01+03:30" level=info msg="generating full qt/winextras"
time="2024-09-19T10:08:03+03:30" level=info msg="generating full qt/testlib"
time="2024-09-19T10:08:03+03:30" level=info msg="generating full qt/serialport"
time="2024-09-19T10:08:04+03:30" level=info msg="generating full qt/serialbus"
time="2024-09-19T10:08:06+03:30" level=info msg="generating full qt/printsupport"
time="2024-09-19T10:08:08+03:30" level=info msg="generating full qt/designer"
time="2024-09-19T10:08:12+03:30" level=info msg="generating full qt/scxml"
time="2024-09-19T10:08:13+03:30" level=info msg="generating full qt/gamepad"
time="2024-09-19T10:08:14+03:30" level=info msg="generating full qt/purchasing"
time="2024-09-19T10:08:15+03:30" level=info msg="generating full qt/datavisualization    [GPLv3]"
time="2024-09-19T10:08:20+03:30" level=info msg="generating full qt/charts               [GPLv3]"
time="2024-09-19T10:08:28+03:30" level=info msg="generating full qt/virtualkeyboard      [GPLv3]"
time="2024-09-19T10:08:29+03:30" level=info msg="generating full qt/speech"
time="2024-09-19T10:08:30+03:30" level=info msg="generating full qt/quickcontrols2"
time="2024-09-19T10:08:30+03:30" level=info msg="generating full qt/sailfish"
time="2024-09-19T10:08:30+03:30" level=info msg="generating full qt/remoteobjects"
time="2024-09-19T10:08:32+03:30" level=info msg="generating full qt/webkit"
time="2024-09-19T10:08:34+03:30" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]"
time="2024-09-19T10:08:34+03:30" level=info msg="installing full qt/core"
runtime/cgo
github.com/therecipe/qt/core
# github.com/therecipe/qt/core
core.cpp:10:3: error: #error ------------------------------------------------------------------
  #error ------------------------------------------------------------------
   ^~~~~
core.cpp:11:3: error: #error please run: '$(go env GOPATH)/bin/qtsetup'
  #error please run: '$(go env GOPATH)/bin/qtsetup'
   ^~~~~
core.cpp:12:3: error: #error more info here: https:
  #error more info here: https://github.com/therecipe/qt/wiki/Installation
   ^~~~~
core.cpp:13:3: error: #error ------------------------------------------------------------------
  #error ------------------------------------------------------------------
   ^~~~~
core.cpp:15:10: fatal error: QAbstractAnimation: No such file or directory
 #include <QAbstractAnimation>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

time="2024-09-19T10:11:14+03:30" level=error msg="failed to install 'core'; aborting setup"

D:\examples>