|author||Eliot Lear <firstname.lastname@example.org>||2017-11-02 17:10:13 +0100|
|committer||Gerald Combs <email@example.com>||2017-11-04 16:12:19 +0000|
Better instructions on building with Qt on macOS.
Change-Id: I23bb91970dd7e3f59166310114cca84846d7164d Reviewed-on: https://code.wireshark.org/review/24165 Reviewed-by: Gerald Combs <firstname.lastname@example.org>
Diffstat (limited to 'README.macos')
1 files changed, 16 insertions, 3 deletions
diff --git a/README.macos b/README.macos
index 4b013dbc82..7e533ca3f7 100644
@@ -59,14 +59,27 @@ elsewhere, such as
After you have installed those libraries:
- make a directory in which Wireshark is to be built, separate
+ 1. If you have installed Qt into some non-standard place, as is
+ distinctly possible with the build included with
+ macos-setup.sh, you must inform cmake by either including its
+ "bin" directory as part of the PATH environment variable or
+ setting CMAKE_PREFIX_PATH to the directory above Qt's "lib"
+ directory. For Qt 5.8 installed into one's home directory,
+ for instance:
+ % export CMAKE_PREFIX_PATH=~/Qt5.8.0/5.8/clang_64
+ This step is unnecessary if you've used a recent version of
+ Homebrew, as the CMake build scripts will find Qt.
+ 2. Make a directory in which Wireshark is to be built, separate
from the top-level source directory for Wireshark - it can be a
subdirectory of that top-level source directory;
- cd to that directory, and run CMake, with an argument that is a
+ 3. cd to that directory, and run CMake, with an argument that is a
path to the top-level source directory;
- when CMake finishes, run make to build Wireshark.
+ 4. When CMake finishes, run make to build Wireshark.
For example, to build Wireshark in a subdirectory of the top-level
source directory, named "build", do, from the top-level source