Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error! #185

Open
QuestionPython opened this issue Mar 18, 2018 · 2 comments
Open

Error! #185

QuestionPython opened this issue Mar 18, 2018 · 2 comments

Comments

@QuestionPython
Copy link

QuestionPython commented Mar 18, 2018

$ go version

go version go1.10 linux/amd64

$ go get gopkg.in/qml.v1

# gopkg.in/qml.v1
In file included from go/src/gopkg.in/qml.v1/cpp/private/qobject_p.h:2:0,
                 from /usr/include/qt/QtCore/5.10.0/QtCore/private/qmetaobject_p.h:58,
                 from go/src/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/qt/QtCore/5.10.0/QtCore/private/qobject_p.h:55:38: fatal error: QtCore/private/qglobal_p.h: No such file or directory
 #include <QtCore/private/qglobal_p.h>
                                      ^
compilation terminated.

how fix?

@arsham
Copy link

arsham commented Apr 23, 2018

In my case (Arch linux) I fixed it by linking this way:

sudo ln -s /usr/include/qt/QtCore/5.10.1/QtCore /usr/include/

Thanks to @Bleser92 for the hint 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@arsham @QuestionPython and others