#
# One or more of the following libraries are required to build Wireshark.
#
-# To override the versions of QT and GTK call the script with some of the
+# To override the versions of Qt and GTK call the script with some of the
# variables set to the new values. Setting a variable to empty will disable
-# the toolkit, e.g.
-# "GTK_VERSION=3.5.2 QT_VERSION= ./macos-setup.sh"
-# will build with GTK3 and without QT.
+# building the toolkit and will un-install any version previously installed
+# by the script, e.g. "GTK_VERSION=3.5.2 QT_VERSION= ./macos-setup.sh"
+# will build and install with GTK+ 3.5.2 and will not install Qt (and,
+# if the script installed Qt earlier, will un-install that version of Qt).
#
# Note that Qt 5, prior to 5.5.0, mishandles context menus in ways that,
# for example, cause them not to work reliably in the packet detail or
#
QT_VERSION=${QT_VERSION-5.5.0}
GTK_VERSION=${GTK_VERSION-2.24.17}
-#GTK_VERSION=3.5.2
if [ "$GTK_VERSION" ]; then
#
# We'll be building GTK+, so we need some additional libraries.