diff options
author | Eliot Lear <lear@cisco.com> | 2017-11-02 17:10:13 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2017-11-04 16:12:19 +0000 |
commit | fc318e6a1f2da11e3429e58cd9d2893899f547af (patch) | |
tree | ab30cccc431c56250b44dd5c1f741716ae10a992 /README.macos | |
parent | 1741b6b23c39d1f38956d005d70cbef2ee5e5f79 (diff) |
Better instructions on building with Qt on macOS.
Change-Id: I23bb91970dd7e3f59166310114cca84846d7164d
Reviewed-on: https://code.wireshark.org/review/24165
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'README.macos')
-rw-r--r-- | README.macos | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/README.macos b/README.macos index 4b013dbc82..7e533ca3f7 100644 --- a/README.macos +++ b/README.macos @@ -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 |