aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorRoland Knall <r.knall@moba.cc>2022-08-22 15:27:05 +0200
committerRoland Knall <rknall@gmail.com>2022-08-23 10:37:14 +0000
commit645b9ab7f4a9494cc385d478e7c79a3fe6146377 (patch)
treeea6cbab759662c984b19515d68e724ea81e6962c /docbook
parentd9e662bc5421b06f3402d3aa8e1d76bfdd60c868 (diff)
Qt6: Adapt various docs
Diffstat (limited to 'docbook')
-rw-r--r--docbook/developer-guide.adoc2
-rw-r--r--docbook/wsdg_src/WSDG_chapter_libraries.adoc15
-rw-r--r--docbook/wsdg_src/WSDG_chapter_quick_setup.adoc20
-rw-r--r--docbook/wsug_src/WSUG_chapter_introduction.adoc5
4 files changed, 23 insertions, 19 deletions
diff --git a/docbook/developer-guide.adoc b/docbook/developer-guide.adoc
index 882dde77e4..8cc8de7150 100644
--- a/docbook/developer-guide.adoc
+++ b/docbook/developer-guide.adoc
@@ -17,7 +17,7 @@ endif::[]
// XXX This should be surrounded by single quotes in the text. It’s
// currently surrounded by plus signs for AsciiDoc compatibility.
:dlt-glob: DLT_*
-:qt-lts-version: 5.15
+:qt-lts-version: 6.2.4
:source-highlighter: coderay
include::wsdg_src/WSDG_preface.adoc[]
diff --git a/docbook/wsdg_src/WSDG_chapter_libraries.adoc b/docbook/wsdg_src/WSDG_chapter_libraries.adoc
index 8033a71a46..6297ba0104 100644
--- a/docbook/wsdg_src/WSDG_chapter_libraries.adoc
+++ b/docbook/wsdg_src/WSDG_chapter_libraries.adoc
@@ -46,7 +46,9 @@ You may also set the library directory to a custom value with the environment va
=== Qt
The Qt library is used to build the UI for Wireshark and is used to provide a platform independent UI.
-Wireshark can be built with Qt 5.6 or later and has experimental support for Qt 6.
+Wireshark can be built with Qt 5.12 or later, but looks for Qt 6 as the default version.
+
+To enable builds with Qt 5.x, the command-line option `-DUSE_qt6=OFF` has to be set for cmake.
For more information on the Qt libraries, see <<ChUIQt>>.
@@ -57,8 +59,8 @@ For more information on the Qt libraries, see <<ChUIQt>>.
Most Linux distributions provide Qt and its development libraries as standard packages.
The required libraries and tools will likely be split across several packages. For example,
-building on Ubuntu requires _qttools5-dev_, _qttools5-dev-tools_, _libqt5svg5-dev_,
-_qtmultimedia5-dev_, and possibly others.
+building on Ubuntu requires _qt6-tools-dev_, _qt6-tools-dev-tools_, _libqt6svg6-dev_,
+_qt6-multimedia-dev_, and possibly others.
The Qt Project provides an installation tool for macOS, similar to Windows.
It is available at https://www.qt.io/download-open-source/#section-2[].
@@ -68,10 +70,9 @@ It is available at https://www.qt.io/download-open-source/#section-2[].
[discrete]
==== Windows
-Qt5 must be installed manually from the Qt installers page https://www.qt.io/download-open-source/#section-2[] using the version of Qt appropriate for your compiler.
-Note that separate installations (into different directories) of Qt are required for 32 bit and 64 bit builds.
-The environment variable `https://doc.qt.io/qt-5/cmake-get-started.html[CMAKE_PREFIX_PATH]` should be set to your Qt installation directory, e.g. _C:\Qt{backslash}{qt-lts-version}.2\msvc2019_64_.
-You can alternatively set QT5_BASE_DIR to your Qt installation path, but this is no longer recommended.
+Qt 6 must be installed manually from the Qt installers page https://www.qt.io/download-open-source/#section-2[] using the version of Qt appropriate for your compiler.
+
+The environment variable CMAKE_PREFIX_PATH (see `https://doc.qt.io/qt-6/cmake-get-started.html`) should be set to your Qt installation directory, e.g. _C:\Qt{backslash}{qt-lts-version}\msvc2019_64_.
[#ChLibsGLib]
diff --git a/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc b/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
index c80f947e3a..4cf05816fc 100644
--- a/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
+++ b/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
@@ -296,19 +296,20 @@ Qt, go to the https://www.qt.io/download[“Download Qt” page], select “Go
open source”, download the *Qt Online Installer for Windows* from the Qt
Project and select, for the desired Qt version, a component that matches
your target system and compiler. For example, at the time of this
-writing the Qt {qt-lts-version}.2 “msvc2019 64-bit” component is used to
+writing the Qt {qt-lts-version} “msvc2019 64-bit” component is used to
build the official 64-bit packages. The “Qt Debug Information Files”
component contains PDB files which can be used for debugging. You can
deselect all of the other the components such as “Qt Charts” or “Android
xxxx” as they aren’t required.
-Note that installation of separate Qt components are required for 64 bit and 32 bit builds, e.g. “msvc2019 64-bit” and “msvc2019 32-bit”.
-The components are forward compatible; you can build Wireshark using Qt’s “msvc2019 64-bit” and Visual {cpp} 2022.
-The environment variable `https://doc.qt.io/qt-5/cmake-get-started.html[CMAKE_PREFIX_PATH]` should be set as appropriate for your environment and should point to the Qt installation directory, e.g. _C:\Qt{backslash}{qt-lts-version}.2\msvc2019_64_
+Qt 6 needs the "Qt 5 Compatibility Module" to be installed as well. Additionally, the module
+"Qt Multimedia" may be installed, to support advanced controls for playing back streams in the
+RTP Player dialog.
-By default Wireshark uses Qt 6. If you would like to build Wireshark with Qt 5 you must pass `-DUSE_qt6=OFF` to cmake.
+The environment variable CMAKE_PREFIX_PATH (see `https://doc.qt.io/qt-6/cmake-get-started.html`) should be set as appropriate for your environment and should point to the Qt installation directory, e.g. _C:\Qt{backslash}{qt-lts-version}\msvc2019_64_
-The Qt maintenance tool (_C:\Qt\MaintenanceTool.exe_) can be used to upgrade Qt to newer versions.
+Qt 6 is the default option for building Wireshark, but Wireshark has support for Qt 5.12 and later. To enable Wireshark to build with Qt 5 pass `-DUSE_qt6=OFF`
+to cmake.
[#ChSetupPython]
@@ -541,7 +542,7 @@ Set the following environment variables, using paths and values suitable for you
> set WIRESHARK_BASE_DIR=C:\Development
> rem set WIRESHARK_LIB_DIR=c:\wireshark-win64-libs
> rem Set the Qt installation directory
-> set CMAKE_PREFIX_PATH=C:\Qt{backslash}{qt-lts-version}.2\msvc2019_64
+> set CMAKE_PREFIX_PATH=C:\Qt{backslash}{qt-lts-version}\msvc2019_64
> rem Append a custom string to the package version. Optional.
> set WIRESHARK_VERSION_EXTRA=-YourExtraVersionInfo
----
@@ -550,10 +551,9 @@ Setting these variables could be added to a batch file to be run after you open
the Visual Studio Tools Command Prompt.
[TIP]
-.Use Qt’s LTS branch
+.Use of Qt’s LTS branch
====
-We recommend using the most recent “long term support” branch of Qt5 to
-compile Wireshark on Windows. At the time of writing this is Qt
+It is generally recommended to use a LTS ("long term support") version for Qt. The current LTS version for Qt 6 is
{qt-lts-version}.
====
diff --git a/docbook/wsug_src/WSUG_chapter_introduction.adoc b/docbook/wsug_src/WSUG_chapter_introduction.adoc
index d419c595ff..6168c16868 100644
--- a/docbook/wsug_src/WSUG_chapter_introduction.adoc
+++ b/docbook/wsug_src/WSUG_chapter_introduction.adoc
@@ -208,14 +208,17 @@ release lifecycle] page for more details.
==== macOS
-Wireshark supports macOS 10.13 and later.
+Wireshark supports macOS 10.14 and later.
Similar to Windows, supported macOS versions depend on third party libraries and on Apple’s requirements.
+Apple Silicon hardware is supported natively starting with version 4.0
+// Wireshark 4.0 ships with Qt 6.2.4, which requires macOS 10.14 and later
// Wireshark 3.6 ships with Qt 5.15, which requires macOS 10.13 and later.
// Wireshark 3.4, 3.2 and 3.0 ship with Qt 5.12, which requires macOS 10.12 and later.
// Wireshark 2.6 ships with Qt 5.3, which was the last release to support 10.6: https://wiki.qt.io/New_Features_in_Qt_5.3
// "Mac OS 10.6 support is deprecated and scheduled for removal in Qt 5.4"
+* Wireshark 3.6 was the last release branch to support macOS 10.13.
* Wireshark 3.4 was the last release branch to support macOS 10.12.
* Wireshark 2.6 was the last release branch to support Mac OS X 10.6 and 10.7 and OS X 10.8 to 10.11.
* Wireshark 2.0 was the last release branch to support OS X on 32-bit Intel.