forked from osmocom/wireshark
macOS: fixup qt_base_path in macos-setup.sh
Recent Qt installations include the entire 3-tuple version string (e.g. 5.9.7) for the parent folder name directly above the clang_64 folder. Use the entire version string when constructing the recommended build environment export statements. Change-Id: I779d487a3b794dde57214639a79727edb111835f Reviewed-on: https://code.wireshark.org/review/30983 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
d2d7da1f5c
commit
320bc80371
|
@ -2580,7 +2580,7 @@ echo ""
|
|||
#
|
||||
pkg_config_path=/usr/local/lib/pkgconfig
|
||||
if [ "$QT_VERSION" ]; then
|
||||
qt_base_path=$HOME/Qt$QT_VERSION/$QT_MAJOR_MINOR_VERSION/clang_64
|
||||
qt_base_path=$HOME/Qt$QT_VERSION/$QT_VERSION/clang_64
|
||||
pkg_config_path="$pkg_config_path":"$qt_base_path/lib/pkgconfig"
|
||||
CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH":"$qt_base_path/lib/cmake"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue