go-qml / qml

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

build go-qml failure #191

Open tranhoaison opened 5 years ago

tranhoaison commented 5 years ago

Hello,

i have follow the README, but when i try "go get gopkg.in/qml.v1", it show error below:

# gopkg.in/qml.v1
In file included from ../gopkg.in/qml.v1/cpp/private/qobject_p.h:2:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/5.9.5/QtCore/private/qmetaobject_p.h:58,
                 from ../gopkg.in/qml.v1/cpp/private/qmetaobject_p.h:2,
                 from cpp/govalue.h:7,
                 from cpp/capi.cpp:10,
                 from all.cpp:2:
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.9.5/QtCore/private/qobject_p.h:55:10: fatal error: QtCore/private/qglobal_p.h: No such file or directory
 #include <QtCore/private/qglobal_p.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

My OS: ubuntu 18.04 LTS.

do you any ideas to fix it? Thank you for reading

shayneoneill commented 4 years ago

Library is dead unfortunately. There is a a fork around somewhere if you look that updates it for 5.11 but I havent seen it working with anything later.