kitech/qt.go

OSX compile error: "call to 'qHash' is ambiguous"

JackMordaunt opened this issue · 1 comments

After installing all the dependencies (with homebrew) and running the steps in the readme, the make compilation returns this error:

In file included from /Users/jack/Code/src/github.com/kitech/qt.inline/src/core/qfunctions.cxx:2:
In file included from /usr/local/opt/qt/lib/QtCore.framework/Headers/QtCore:5:
In file included from /usr/local/opt/qt/lib/QtCore.framework/Headers/qabstractanimation.h:43:
In file included from /usr/local/opt/qt/lib/QtCore.framework/Headers/qobject.h:49:
In file included from /usr/local/opt/qt/lib/QtCore.framework/Headers/qlist.h:47:
/usr/local/opt/qt/lib/QtCore.framework/Headers/qhashfunctions.h:112:35: error: call to 'qHash' is ambiguous
    Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))

I am not familiar with C++ and it's tooling, so if you need more information please do ask.