Skip to content

build go-qml failure #191

Open
Open
@tranhoaison

Description

@tranhoaison

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions