-The Ports Collection provides support for Qt 5 with `USES+=qt:5`.
+The Ports Collection provides support for Qt 5 and Qt 6 with `USES+=qt:5` and
+`USES+=qt:6` respectively.
Set `USE_QT` to the list of required Qt components (libraries, tools, plugins).
The Qt framework exports a number of variables which can be used by ports, some of them listed below:
@@ -2106,7 +2107,7 @@
Every component can be suffixed with `_build` or `_run`, the suffix indicating whether the dependency on the component is at buildtime or runtime.
If unsuffixed, the component will be depended on at both build- and runtime.
Usually, library components are specified unsuffixed, tool components are mostly specified with the `_build` suffix and plugin components are specified with the `_run` suffix.
-The most commonly used components are listed below (all available components are listed in `_USE_QT_ALL`, and `_USE_QT5_ONLY` in [.filename]#/usr/ports/Mk/Uses/qt.mk#):
+The most commonly used components are listed below (all available components are listed in `_USE_QT_ALL`, which is generated from `_USE_QT_COMMON` and `_USE_QT[56]_ONLY` in [.filename]#/usr/ports/Mk/Uses/qt.mk#):
[[using-qt-library-list]]
.Available Qt Library Components
@@ -2118,9 +2119,15 @@
|`3d`
|Qt3D module
+|`5compat`
+|Qt 5 compatibility module for Qt 6
+
|`assistant`
|Qt 5 documentation browser
+|`base`
+|Qt 6 base module
+
|`canvas3d`
|Qt canvas3d module
@@ -2172,12 +2179,18 @@
|`l10n`
|Qt localized messages
+|`languageserver`
+|Qt 6 Language Server Protocol implementation
+
|`linguist`
|Qt 5 translation tool
|`location`
|Qt location module
+|`lottie`
+|Qt 6 QML API for rendering graphics and animations
+
|`multimedia`
|Qt audio, video, radio and camera support module
@@ -2200,7 +2213,10 @@
|Qt 5 screen magnifier
|`plugininfo`
-|Qt5 plugin metadata dumper
+|Qt 5 plugin metadata dumper
+
+|`positioning`
+|Qt 6 positioning API from sources such as satellite, wifi or text files.
|`printsupport`
|Qt print support module
@@ -2230,7 +2246,7 @@
|Set of controls for building complete interfaces in Qt Quick
|`remoteobjects`
-|Qt5 SXCML module
+|Qt 5 SXCML module
|`script`
|Qt 4-compatible scripting module
@@ -2239,7 +2255,7 @@
|Qt Script additional components
|`scxml`
-|Qt5 SXCML module
+|Qt 5 SXCML module
|`sensors`
|Qt sensors module
@@ -2250,6 +2266,9 @@
|`serialport`
|Qt functions to access serial ports
+|`shadertools`
+|Qt 6 tools for the cross-platform Qt shader pipeline
+
|`speech`
|Accessibility features for Qt5
@@ -2283,6 +2302,12 @@
|`testlib`
|Qt unit testing module
+|`tools`
+|Qt 6 assorted tools
+
+|`translations`
+|Qt 6 translation module
+
|`uiplugin`
|Custom Qt widget plugin interface for Qt Designer
@@ -2293,7 +2318,7 @@
|Qt 5 Virtual Keyboard Module
|`wayland`
-|Qt5 wrapper for Wayland
+|Qt 5 wrapper for Wayland
|`webchannel`
|Qt 5 library for integration of C++/QML with HTML/js clients