go-qml / qml

QML support for the Go language
Other
1.96k stars 186 forks source link

on Mac QT 5.13.0 + Go 1.12.7 installing error when did 'go get gopkg.in/qml.v1' #193

Open qinwanguk opened 5 years ago

qinwanguk commented 5 years ago

$ go get gopkg.in/qml.v1

gopkg.in/qml.v1

In file included from all.cpp:2: In file included from ../../go/src/gopkg.in/qml.v1/cpp/capi.cpp:10: In file included from ../../go/src/gopkg.in/qml.v1/cpp/govalue.h:7: In file included from ../../go/src/gopkg.in/qml.v1/cpp/private/qmetaobject_p.h:1: ../../go/src/gopkg.in/qml.v1/cpp/private/qtheader.h:39:2: error: Unupported Qt minor version. Please report. In file included from all.cpp:2: In file included from ../../go/src/gopkg.in/qml.v1/cpp/capi.cpp:10: In file included from ../../go/src/gopkg.in/qml.v1/cpp/govalue.h:7: ../../go/src/gopkg.in/qml.v1/cpp/private/qmetaobject_p.h:2:10: fatal error: 'QtCore/5.QT_MINOR.0/QtCore/private/qmetaobject_p.h' file not found ../../go/src/gopkg.in/qml.v1/cpp/private/qtheader.h:68:37: note: expanded from macro 'QT_PRIVATE_HEADER'

shayneoneill commented 5 years ago

As best as I can tell this library has been abandoned and isn't compatible with the latest QT. There is a fork around that as best as I can tell is compatible with 5.11