Open mpiannucci opened 8 years ago
what version of Xcode are you using? OSX version?
I switched to go 1.4.2 and the problem is still there, so I don't think the problem is in go 1.5
Okay, so the problem is the pkg-config generated
$ pkg-config --libs Qt5Core
-F/usr/local/Cellar/qt5/HEAD/lib -framework\ QtCore
while it should be -framework QtCore
. It can be fixed by go to /usr/local/lib/pkgconfig
, edit QtCore.pc
, remove the quote around '-framework QtCore '
so it would be -framework QtCore
.
And do the same for all 6 files clang complains above. It'll compile
I'm used to Linux, on a Mac how do I get rights to edit them? I have tried sudo, creating root user, and adding my user to admin group. and no matter what when I vi into the file it is RO
This looks like it should fix it.. Its a little confusing what caused this because I had previously installed everything successfully with homebrew. It seems like the Qt 5.5 homebrew may be breaking the package config.
@dtoebe trying using any other editor, I also can't edit with vim, but using neovim or emacs with sudo work.
@ntcong , ha ha... So simple... Thanks that worked
Can confirm https://github.com/go-qml/qml/issues/157#issuecomment-133347954 fixes it.
Also confirming @ntcong 's comment worked for me :). Thanks!
I am rebuilding with Go 1.5 on OS X and I receiving the following error:
All of my other Qt apps compile fine. I am using Qt 5.5.