Skip to content

Commit f69709b

Browse files
committed
Merge pull request #5779 from danston/Installation-macos_guide_fix-danston
MacOS Qt5 Guide Update
2 parents b48b300 + 86730d9 commit f69709b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Documentation/doc/Documentation/Usage.txt

+9-4
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,17 @@ if no debugging is intended. Users should thus run:
166166
cd CGAL-\cgalReleaseNumber/examples/Triangulation_2
167167
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball
168168

169-
Note that the package Qt on brew is "keg-only", which means it cannot be "linked" with brew.
170-
You will have to specify the Qt5_DIR by hand to cmake, using something like
169+
The package Qt5 on brew is "keg-only", which means it is not "linked" with brew.
170+
In order to link against Qt5, you need to run:
171171

172-
-DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5
172+
brew link qt@5
173173

174-
where '/usr/local/` is actually your current brew installation directory.
174+
After that, you will have to specify the Qt5_DIR by hand to cmake, using something like
175+
176+
-DQt5_DIR=/usr/local/opt/qt5/lib/cmake/Qt5
177+
178+
where '/usr/local/` is actually your current brew installation directory. Check this directory
179+
to be sure where the Qt5 is placed on your machine.
175180

176181
\subsection usage_configuring_cmake_gui Specifying Missing Dependencies
177182

0 commit comments

Comments
 (0)