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'
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
$ 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'