@@ -105,21 +105,25 @@ These commands depend on the following file, installed by setup.sh:
105
105
Requirements on Mac OS X
106
106
------------------------
107
107
108
- On Mac OS X you'll need gcc (not a symlinked clang, as it complains about ` -std=c++11 ` ), and
109
- must specify the ` CXX ` , ` PKG_CONFIG_PATH ` , and ` CGO_CPPFLAGS ` environment variables .
108
+ On Mac OS X you'll need QT5. It's easiest to install with Homebrew, a
109
+ third-party package management system for OS X .
110
110
111
- Something along these lines should be effective :
111
+ Installation instructions for Homebrew are here :
112
112
113
- $ brew tap homebrew/versions
114
- $ brew install gcc48 qt5
113
+ http://brew.sh/
115
114
116
- $ export PKG_CONFIG_PATH=`brew --prefix qt5`/lib/pkgconfig
117
- $ QT5VERSION=`pkg-config --modversion Qt5Core`
118
- $ CXX=g++-4.8 go get gopkg.in/qml.v0
115
+ Then, install the qt5 and pkg-config packages:
116
+
117
+ $ brew install qt5 pkg-config
118
+
119
+ Then, force brew to "link" qt5 (this makes it available under /usr/local):
120
+
121
+ $ brew link --force qt5
122
+
123
+ And finally, fetch and install go-qml:
124
+
125
+ $ go get gopkg.in/qml.v0
119
126
120
- For Mac OS X Mavericks you may need to use ` brew install qt5 --HEAD ` and check that QT5VERSION
121
- is something reasonable like ` 5.2.0 ` , ` ls /usr/local/Cellar/qt5/HEAD/include/QtCore/ | grep '^5' `
122
- should also work.
123
127
124
128
Requirements on Windows
125
129
-----------------------
0 commit comments