[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[9cd2368] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[64c41e6] | 7 | <!ENTITY qt6-major "6.7">
|
---|
[9cd2368] | 8 | <!ENTITY qt6-url "https://download.qt.io/archive/qt/&qt6-major;/&qt6-version;/single">
|
---|
| 9 |
|
---|
| 10 | <!ENTITY qt6-download-http "&qt6-url;/qt-everywhere-src-&qt6-version;.tar.xz">
|
---|
| 11 | <!ENTITY qt6-download-ftp " ">
|
---|
[64c41e6] | 12 | <!ENTITY qt6-md5sum "4468b457adb3a96294947e601fc877ca">
|
---|
| 13 | <!ENTITY qt6-size "891 MB">
|
---|
| 14 | <!ENTITY qt6-buildsize "35 GB (358 MB installed)">
|
---|
| 15 | <!ENTITY qt6-time "17 SBU (using parallelism=8)">
|
---|
[9cd2368] | 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="qt6" xreflabel="Qt-&qt6-version;">
|
---|
| 19 | <?dbhtml filename="qt6.html" ?>
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | <title>Qt-&qt6-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="qt6">
|
---|
[d4919db] | 25 | <primary sortas="a-Qt6">Qt6</primary>
|
---|
[9cd2368] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Qt6</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>Qt6</application> is a cross-platform application framework
|
---|
| 33 | that is widely used for developing application software with a graphical
|
---|
| 34 | user interface (GUI) (in which cases <application>Qt6</application> is
|
---|
| 35 | classified as a widget toolkit), and also used for developing non-GUI
|
---|
| 36 | programs such as command-line tools and consoles for servers. <!--Two of the
|
---|
| 37 | major users of <application>Qt</application> are <application>KDE
|
---|
| 38 | Frameworks 5 (KF5)</application> and <application>LXQt</application>.-->
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[bd655b2c] | 41 | &lfs121_checked;
|
---|
[9cd2368] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&qt6-download-http;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&qt6-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download MD5 sum: &qt6-md5sum;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download size: &qt6-size;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated disk space required: &qt6-buildsize;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated build time: &qt6-time;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 | <!--
|
---|
| 77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 78 | <itemizedlist spacing="compact">
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>
|
---|
| 81 | Now that <application>Qt5</application> updates are restricted to
|
---|
| 82 | commercial customers, upstream patches for the various modules are
|
---|
| 83 | being curated at kde.
|
---|
| 84 | Patches for the modules required by packages in BLFS have been
|
---|
| 85 | aggregated for the non-modular Qt5 build we use.
|
---|
| 86 | </para>
|
---|
| 87 | <para>
|
---|
| 88 | Required patch:
|
---|
| 89 | <ulink url="&patch-root;/qt-everywhere-opensource-src-&qt6-version;-kf5-1.patch"/>
|
---|
| 90 | </para>
|
---|
| 91 | <para>
|
---|
| 92 | Details of the kde curation can be found at
|
---|
| 93 | <ulink url="https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection"/>
|
---|
| 94 | and <ulink url="https://community.kde.org/Qt5PatchCollection"/>.
|
---|
| 95 | </para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </itemizedlist>
|
---|
| 98 | -->
|
---|
| 99 | <bridgehead renderas="sect3">Qt6 Dependencies</bridgehead>
|
---|
| 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 102 | <para role="required">
|
---|
| 103 | <xref linkend="xorg7-lib"/>
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 107 | <para role="recommended">
|
---|
| 108 | <xref linkend="alsa-lib"/>,
|
---|
| 109 | <xref linkend="make-ca"/>,
|
---|
| 110 | <xref linkend="cups"/>,
|
---|
| 111 | <phrase revision='sysv'><xref linkend="dbus"/>,</phrase>
|
---|
| 112 | <xref linkend="double-conversion"/>,
|
---|
| 113 | <xref linkend="glib2"/>,
|
---|
| 114 | <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
|
---|
| 115 | <xref linkend="harfbuzz"/>,
|
---|
| 116 | <xref linkend="icu"/>,
|
---|
| 117 | <xref linkend="jasper"/>,
|
---|
| 118 | <xref linkend="libjpeg"/>,
|
---|
[8675152] | 119 | <xref linkend="libinput"/>,
|
---|
[9cd2368] | 120 | <xref linkend="libmng"/>,
|
---|
| 121 | <xref linkend="libpng"/>,
|
---|
| 122 | <xref linkend="libtiff"/>,
|
---|
| 123 | <xref linkend="libwebp"/>,
|
---|
| 124 | <xref linkend="libxkbcommon"/>,
|
---|
| 125 | <xref linkend="mesa"/>,
|
---|
| 126 | <xref linkend="mtdev"/>,
|
---|
| 127 | <xref linkend="pcre2"/>,
|
---|
| 128 | <xref linkend="sqlite"/>,
|
---|
| 129 | <xref linkend="wayland"/> (<application>Mesa</application>
|
---|
| 130 | must be built with <application>Wayland</application> EGL
|
---|
| 131 | backend),
|
---|
[d8ce086] | 132 | <xref linkend="xcb-util-cursor"/>,
|
---|
[9cd2368] | 133 | <xref linkend="xcb-util-image"/>,
|
---|
| 134 | <xref linkend="xcb-util-keysyms"/>,
|
---|
| 135 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
| 136 | <xref linkend="xcb-util-wm"/>
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 140 | <para role="optional">
|
---|
| 141 | <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
|
---|
| 142 | QtConnectivity module),
|
---|
| 143 | <xref linkend="gtk3"/>,
|
---|
| 144 | <xref linkend="ibus"/>,
|
---|
| 145 | <xref linkend="mariadb"/>
|
---|
| 146 | or <ulink url="https://www.mysql.com/">MySQL</ulink>,
|
---|
| 147 | <xref linkend="mitkrb"/>,
|
---|
| 148 | <xref linkend="pciutils"/>,
|
---|
| 149 | <xref linkend="postgresql"/>,
|
---|
| 150 | <xref linkend="pulseaudio"/>,
|
---|
| 151 | <xref linkend="sdl2"/>,
|
---|
| 152 | <xref linkend="unixodbc"/>,
|
---|
| 153 | <ulink url="https://www.assimp.org/">assimp</ulink>,
|
---|
| 154 | <ulink url="https://github.com/festvox/flite">Flite</ulink>,
|
---|
| 155 | <ulink url="https://www.firebirdsql.org/">Firebird</ulink>,
|
---|
| 156 | <ulink url="https://www.freetds.org/">FreeTDS</ulink>,
|
---|
| 157 | <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
|
---|
| 158 | <ulink url="https://openal.org/">OpenAL</ulink>,
|
---|
[ee66136] | 159 | <ulink url="https://freebsoft.org/speechd/">speech-dispatcher</ulink>, and
|
---|
[1d3650b7] | 160 | <ulink url="http://www.tslib.org/">tslib</ulink>
|
---|
[ee66136] | 161 | <!--<ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>-->
|
---|
[9cd2368] | 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <!-- Many of the dependencies in the qmake/configure output do not apply
|
---|
| 165 | to Linux-based platforms. I've selected the ones that do and put
|
---|
| 166 | them in as optional dependencies. Not checked yet for Qt6 -->
|
---|
[1859ee6] | 167 |
|
---|
[9cd2368] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="qt6-prefix">
|
---|
| 171 | <title>Setting the installation prefix</title>
|
---|
| 172 |
|
---|
| 173 | <bridgehead renderas="sect3">Installing in /opt/qt6</bridgehead>
|
---|
| 174 |
|
---|
| 175 | <para>
|
---|
| 176 | The BLFS editors recommend installing <application>Qt6</application> in a
|
---|
| 177 | directory other than <filename class="directory">/usr</filename>, ie
|
---|
| 178 | <filename class="directory">/opt/qt6</filename>. This is needed
|
---|
| 179 | to avoid conflicts with Qt5. To do this, set the
|
---|
| 180 | following environment variable:
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <screen><userinput>export QT6PREFIX=/opt/qt6</userinput></screen>
|
---|
| 184 |
|
---|
| 185 | <tip>
|
---|
| 186 | <para>
|
---|
[41640d4] | 187 | Sometimes the installation paths are hardcoded into installed files.
|
---|
[9cd2368] | 188 | This is the reason why <filename class="directory">/opt/qt6</filename>
|
---|
| 189 | is used as installation prefix instead of <filename
|
---|
| 190 | class="directory">/opt/qt-&qt6-version;</filename>. To create a
|
---|
[41640d4] | 191 | versioned <application>Qt6</application> directory,
|
---|
| 192 | you may rename the directory and create a symlink:
|
---|
[9cd2368] | 193 | </para>
|
---|
| 194 |
|
---|
| 195 | <screen role="root"><userinput>mkdir -pv /opt/qt-&qt6-version;
|
---|
| 196 | ln -sfnv qt-&qt6-version; /opt/qt6</userinput></screen>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | Later on, you may want to install other versions of
|
---|
[41640d4] | 200 | <application>Qt6</application>. To do that, just remove the symlink,
|
---|
| 201 | create the new versioned directory, and recreate the
|
---|
| 202 | <filename class="directory">/opt/qt6</filename> symlink again before
|
---|
| 203 | building the new version.
|
---|
| 204 | Which version of <application>Qt6</application> you
|
---|
[9cd2368] | 205 | use depends only on where the symlink points.
|
---|
| 206 | </para>
|
---|
| 207 | </tip>
|
---|
| 208 |
|
---|
| 209 | <!-- Not sure about this for Qt6
|
---|
| 210 | <note>
|
---|
| 211 | <para>
|
---|
| 212 | If <xref linkend="qca"/> has been installed and you are
|
---|
| 213 | reinstalling or updating this package, then
|
---|
| 214 | <application>qca</application> will need to be reinstalled.
|
---|
| 215 | </para>
|
---|
| 216 | </note>
|
---|
| 217 | -->
|
---|
| 218 | </sect2>
|
---|
| 219 |
|
---|
| 220 | <sect2 role="installation">
|
---|
| 221 | <title>Installation of Qt6</title>
|
---|
| 222 |
|
---|
| 223 | <warning>
|
---|
| 224 | <para>
|
---|
| 225 | If <application>Qt6</application> is being reinstalled into the
|
---|
| 226 | same directory as an existing instance, run the commands done by
|
---|
[64c41e6] | 227 | &root;, such as
|
---|
[9cd2368] | 228 | <command>make install</command>, from a console or non-Qt6 based
|
---|
| 229 | window manager. It overwrites <application>Qt6</application>
|
---|
| 230 | libraries that should not be in use during the install process.
|
---|
| 231 | </para>
|
---|
| 232 | </warning>
|
---|
| 233 |
|
---|
| 234 | <caution>
|
---|
| 235 | <para>
|
---|
| 236 | If you did not install some of the recommended dependencies, examine
|
---|
| 237 | <command>./configure --help</command> output to check how to disable
|
---|
| 238 | them or use internal versions bundled in the source tarball.
|
---|
| 239 | </para>
|
---|
| 240 | </caution>
|
---|
| 241 |
|
---|
| 242 | <note>
|
---|
| 243 | <para>
|
---|
| 244 | The build time and space required for the full
|
---|
| 245 | <application>Qt6</application> is quite long. The instructions below
|
---|
| 246 | do not build the tutorials and examples. Removing the
|
---|
| 247 | <parameter>-nomake</parameter> line will create additional resources..
|
---|
| 248 | </para>
|
---|
| 249 | </note>
|
---|
| 250 |
|
---|
| 251 | <note>
|
---|
| 252 | <para>
|
---|
| 253 | The BLFS editors do not recommend installing <application>Qt6</application>
|
---|
| 254 | into the /usr hierarchy because it becomes difficult to find
|
---|
| 255 | components and to update to a new version. There are also some programs
|
---|
| 256 | that conflict with those installed by Qt5.
|
---|
| 257 | <!--If you do want to install
|
---|
| 258 | <application>Qt5</application> in /usr, the directories need to
|
---|
| 259 | be specified explicitly. In this case, set QT5PREFIX=/usr and add
|
---|
| 260 | the following to the configure arguments below:
|
---|
| 261 | </para>
|
---|
| 262 |
|
---|
| 263 | <screen role="nodump"><userinput> -archdatadir /usr/lib/qt6 \
|
---|
| 264 | -bindir /usr/bin \
|
---|
| 265 | -plugindir /usr/lib/qt6/plugins \
|
---|
| 266 | -importdir /usr/lib/qt6/imports \
|
---|
| 267 | -headerdir /usr/include/qt6 \
|
---|
| 268 | -datadir /usr/share/qt6 \
|
---|
| 269 | -docdir /usr/share/doc/qt6 \
|
---|
| 270 | -translationdir /usr/share/qt6/translations \
|
---|
| 271 | -examplesdir /usr/share/doc/qt6/examples</userinput></screen>-->
|
---|
| 272 | </para>
|
---|
| 273 | </note>
|
---|
| 274 |
|
---|
[64c41e6] | 275 | <para>
|
---|
[16f05daf] | 276 | First make a correction identified upstream:
|
---|
[64c41e6] | 277 | </para>
|
---|
| 278 |
|
---|
| 279 | <screen><userinput>sed -i '/if __cpp_lib_span/s/if/ifdef/' qtbase/src/corelib/tools/qspan.h</userinput></screen>
|
---|
| 280 |
|
---|
[9cd2368] | 281 | <para>
|
---|
| 282 | Install <application>Qt6</application> by running the following commands:
|
---|
| 283 | </para>
|
---|
| 284 |
|
---|
[bc3438b] | 285 | <screen revision="sysv"><userinput>./configure -prefix $QT6PREFIX \
|
---|
| 286 | -sysconfdir /etc/xdg \
|
---|
| 287 | -dbus-linked \
|
---|
| 288 | -openssl-linked \
|
---|
| 289 | -system-sqlite \
|
---|
| 290 | -nomake examples \
|
---|
| 291 | -no-rpath \
|
---|
| 292 | -syslog \
|
---|
| 293 | -skip qt3d \
|
---|
| 294 | -skip qtquick3dphysics \
|
---|
| 295 | -skip qtwebengine \
|
---|
| 296 | -Wno-dev &&
|
---|
[9cd2368] | 297 | ninja</userinput></screen>
|
---|
| 298 |
|
---|
[bc3438b] | 299 | <screen revision="systemd"><userinput>./configure -prefix $QT6PREFIX \
|
---|
| 300 | -sysconfdir /etc/xdg \
|
---|
| 301 | -dbus-linked \
|
---|
| 302 | -openssl-linked \
|
---|
| 303 | -system-sqlite \
|
---|
| 304 | -nomake examples \
|
---|
| 305 | -no-rpath \
|
---|
| 306 | -journald \
|
---|
| 307 | -skip qt3d \
|
---|
| 308 | -skip qtquick3dphysics \
|
---|
| 309 | -skip qtwebengine \
|
---|
| 310 | -Wno-dev &&
|
---|
[9cd2368] | 311 | ninja</userinput></screen>
|
---|
| 312 |
|
---|
| 313 | <para>
|
---|
| 314 | This package does not come with a test suite.
|
---|
| 315 | </para>
|
---|
| 316 |
|
---|
| 317 | <para>
|
---|
| 318 | Now, as the &root; user:
|
---|
| 319 | </para>
|
---|
| 320 |
|
---|
| 321 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 322 |
|
---|
| 323 | <para>
|
---|
| 324 | Remove references to the build directory from installed library
|
---|
| 325 | dependency (prl) <!--and profile include (pri)--> files by running the following
|
---|
| 326 | command as the &root; user:
|
---|
| 327 | </para>
|
---|
| 328 |
|
---|
| 329 | <screen role="root"><userinput>find $QT6PREFIX/ -name \*.prl \
|
---|
| 330 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
| 331 |
|
---|
| 332 | <para>
|
---|
| 333 | Install images and create the menu entries for installed applications.
|
---|
| 334 | <!--The <envar>QT6BINDIR</envar> variable is used here to point to the
|
---|
| 335 | directory for the executable programs. If you have changed the bindir
|
---|
| 336 | above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
|
---|
| 337 | that the <envar>QT5BINDIR</envar> variable is defined in root's
|
---|
| 338 | environment and as the &root; user:-->
|
---|
[fded572] | 339 | Again as the &root; user:
|
---|
[9cd2368] | 340 | </para>
|
---|
| 341 |
|
---|
| 342 | <screen role="root"><userinput>pushd qttools/src &&
|
---|
| 343 |
|
---|
| 344 | install -v -Dm644 assistant/assistant/images/assistant-128.png \
|
---|
| 345 | /usr/share/pixmaps/assistant-qt6.png &&
|
---|
| 346 |
|
---|
| 347 | install -v -Dm644 designer/src/designer/images/designer.png \
|
---|
| 348 | /usr/share/pixmaps/designer-qt6.png &&
|
---|
| 349 |
|
---|
| 350 | install -v -Dm644 linguist/linguist/images/icons/linguist-128-32.png \
|
---|
| 351 | /usr/share/pixmaps/linguist-qt6.png &&
|
---|
| 352 |
|
---|
| 353 | install -v -Dm644 qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
---|
| 354 | /usr/share/pixmaps/qdbusviewer-qt6.png &&
|
---|
| 355 | popd &&
|
---|
| 356 |
|
---|
| 357 |
|
---|
| 358 | cat > /usr/share/applications/assistant-qt6.desktop << EOF
|
---|
| 359 | <literal>[Desktop Entry]
|
---|
| 360 | Name=Qt6 Assistant
|
---|
| 361 | Comment=Shows Qt6 documentation and examples
|
---|
| 362 | Exec=$QT6PREFIX/bin/assistant
|
---|
| 363 | Icon=assistant-qt6.png
|
---|
| 364 | Terminal=false
|
---|
| 365 | Encoding=UTF-8
|
---|
| 366 | Type=Application
|
---|
| 367 | Categories=Qt;Development;Documentation;</literal>
|
---|
| 368 | EOF
|
---|
| 369 |
|
---|
| 370 | cat > /usr/share/applications/designer-qt6.desktop << EOF
|
---|
| 371 | <literal>[Desktop Entry]
|
---|
| 372 | Name=Qt6 Designer
|
---|
| 373 | GenericName=Interface Designer
|
---|
| 374 | Comment=Design GUIs for Qt6 applications
|
---|
| 375 | Exec=$QT6PREFIX/bin/designer
|
---|
| 376 | Icon=designer-qt6.png
|
---|
| 377 | MimeType=application/x-designer;
|
---|
| 378 | Terminal=false
|
---|
| 379 | Encoding=UTF-8
|
---|
| 380 | Type=Application
|
---|
| 381 | Categories=Qt;Development;</literal>
|
---|
| 382 | EOF
|
---|
| 383 |
|
---|
| 384 | cat > /usr/share/applications/linguist-qt6.desktop << EOF
|
---|
| 385 | <literal>[Desktop Entry]
|
---|
| 386 | Name=Qt6 Linguist
|
---|
| 387 | Comment=Add translations to Qt6 applications
|
---|
| 388 | Exec=$QT6PREFIX/bin/linguist
|
---|
| 389 | Icon=linguist-qt6.png
|
---|
| 390 | MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
---|
| 391 | Terminal=false
|
---|
| 392 | Encoding=UTF-8
|
---|
| 393 | Type=Application
|
---|
| 394 | Categories=Qt;Development;</literal>
|
---|
| 395 | EOF
|
---|
| 396 |
|
---|
| 397 | cat > /usr/share/applications/qdbusviewer-qt6.desktop << EOF
|
---|
| 398 | <literal>[Desktop Entry]
|
---|
| 399 | Name=Qt6 QDbusViewer
|
---|
| 400 | GenericName=D-Bus Debugger
|
---|
| 401 | Comment=Debug D-Bus applications
|
---|
| 402 | Exec=$QT6PREFIX/bin/qdbusviewer
|
---|
| 403 | Icon=qdbusviewer-qt6.png
|
---|
| 404 | Terminal=false
|
---|
| 405 | Encoding=UTF-8
|
---|
| 406 | Type=Application
|
---|
| 407 | Categories=Qt;Development;Debugger;</literal>
|
---|
| 408 | EOF</userinput></screen>
|
---|
| 409 |
|
---|
| 410 | <!--
|
---|
| 411 | <para>
|
---|
| 412 | Some packages such as <xref linkend='vlc'/> look for certain
|
---|
| 413 | executables with a -qt6 suffix. Run the following command as the
|
---|
| 414 | <systemitem class="username">root</systemitem> user
|
---|
| 415 | to create the necessary symlinks:
|
---|
| 416 | </para>
|
---|
| 417 |
|
---|
| 418 | <screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
|
---|
| 419 | ln -sfvn $QT5BINDIR/$file /usr/bin/$file-qt6
|
---|
| 420 | done</userinput></screen>
|
---|
| 421 | -->
|
---|
| 422 | </sect2>
|
---|
| 423 |
|
---|
| 424 | <sect2 role="commands">
|
---|
| 425 | <title>Command Explanations</title>
|
---|
| 426 | <!--
|
---|
| 427 | <para>
|
---|
| 428 | <command>sed ...</command>: Allows using
|
---|
| 429 | <application>Python 3</application> instead of <application>Python
|
---|
| 430 | 2</application>. This command destroys the build for QtWebEngine, so do
|
---|
| 431 | not use it if you remove the <parameter>-skip qtwebengine</parameter>
|
---|
| 432 | switch.
|
---|
| 433 | </para>
|
---|
[1978830] | 434 |
|
---|
| 435 | Ignored
|
---|
[9cd2368] | 436 | <para>
|
---|
| 437 | <parameter>-confirm-license</parameter>: Accept license
|
---|
| 438 | without prompting user during configuration.
|
---|
| 439 | </para>
|
---|
| 440 |
|
---|
[1978830] | 441 | Ignored
|
---|
[9cd2368] | 442 | <para>
|
---|
| 443 | <parameter>-opensource</parameter>: Install the opensource
|
---|
| 444 | version of <application>Qt</application>.
|
---|
| 445 | </para>
|
---|
[1978830] | 446 | -->
|
---|
[9cd2368] | 447 | <para>
|
---|
| 448 | <parameter>-nomake examples</parameter>: This switch
|
---|
| 449 | disables building of the example programs included
|
---|
| 450 | in the source tarball. Remove it if you want to build
|
---|
| 451 | them.
|
---|
| 452 | </para>
|
---|
| 453 |
|
---|
| 454 | <para>
|
---|
[fded572] | 455 | <parameter>-skip qt3d</parameter>: This switch
|
---|
[9cd2368] | 456 | disables building qt3d support. There is a problem
|
---|
| 457 | building these files without an external library
|
---|
| 458 | and no packages in BLFS use qt3d.
|
---|
| 459 | </para>
|
---|
[fded572] | 460 | <!-- Auto: not for me [pierre 2023/11/20]-->
|
---|
[9cd2368] | 461 | <para>
|
---|
| 462 | <parameter>-system-sqlite</parameter>: This switch enables use
|
---|
| 463 | of the system version of <application>SQLite</application>.
|
---|
| 464 | </para>
|
---|
[fded572] | 465 |
|
---|
[9cd2368] | 466 | <para>
|
---|
[875b3b57] | 467 | <parameter>-dbus-linked</parameter>
|
---|
| 468 | <parameter>-openssl-linked</parameter>: These
|
---|
[9cd2368] | 469 | switches enable explicit linking of the
|
---|
| 470 | <application>D-Bus</application> and
|
---|
| 471 | <application>OpenSSL</application> libraries into
|
---|
[bd655b2c] | 472 | <application>Qt6</application> libraries instead of
|
---|
[9cd2368] | 473 | <command>dlopen()</command>-ing them.
|
---|
| 474 | </para>
|
---|
| 475 |
|
---|
| 476 | <para revision="sysv">
|
---|
| 477 | <parameter>-syslog</parameter>: This switch allows to send Qt messages
|
---|
| 478 | to the <command>syslog</command> logging system.
|
---|
| 479 | </para>
|
---|
| 480 |
|
---|
| 481 | <para revision="systemd">
|
---|
| 482 | <parameter>-journald</parameter>: This switch allows to send Qt messages
|
---|
| 483 | to the <command>journald</command> logging system.
|
---|
| 484 | </para>
|
---|
| 485 |
|
---|
| 486 | <para>
|
---|
| 487 | <parameter>-skip qtwebengine</parameter>: This switch disables building
|
---|
| 488 | the QtWebEngine. The BLFS editors have chosen to build <xref
|
---|
| 489 | linkend="qtwebengine"/> separately.
|
---|
| 490 | </para>
|
---|
[bc3438b] | 491 |
|
---|
| 492 | <para>
|
---|
[82b5b5b3] | 493 | <parameter>-skip qtquick3dphysics</parameter>: This switch disables
|
---|
| 494 | building the Qt Quick 3D Physics submodule. On 32-bit systems, this will
|
---|
| 495 | cause the build process to fail with an inlining error in Qt6's bundled
|
---|
| 496 | copy of the PhysX SDK.
|
---|
[bc3438b] | 497 | </para>
|
---|
| 498 |
|
---|
[1978830] | 499 | <!-- Auto
|
---|
[9cd2368] | 500 | <para>
|
---|
| 501 | <parameter>-system-harfbuzz</parameter>: This switch enables use
|
---|
| 502 | of the system version of <application>Harfbuzz</application>.
|
---|
| 503 | </para>
|
---|
[1978830] | 504 | -->
|
---|
[9cd2368] | 505 | </sect2>
|
---|
| 506 |
|
---|
| 507 | <sect2 role="configuration">
|
---|
| 508 | <title>Configuring Qt6</title>
|
---|
| 509 |
|
---|
| 510 | <sect3 id="qt6-config">
|
---|
| 511 | <title>Configuration Information</title>
|
---|
| 512 |
|
---|
| 513 | <para>
|
---|
| 514 | If <xref linkend="sudo"/> is installed, QT6DIR should be available to
|
---|
| 515 | the super user as well. Execute the following commands as the
|
---|
| 516 | &root; user:
|
---|
| 517 | </para>
|
---|
| 518 |
|
---|
| 519 | <screen role="root"><userinput>cat > /etc/sudoers.d/qt << "EOF"
|
---|
| 520 | <literal>Defaults env_keep += QT6DIR</literal>
|
---|
| 521 | EOF</userinput></screen>
|
---|
| 522 | <!--
|
---|
| 523 | <bridgehead renderas="sect4">If you installed Qt5 in /usr</bridgehead>
|
---|
| 524 |
|
---|
| 525 | <para>
|
---|
| 526 | If you installed <application>Qt5</application> in
|
---|
| 527 | <filename class="directory">/usr</filename>, create an
|
---|
| 528 | environment variable needed by certain packages.
|
---|
| 529 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 530 | </para>
|
---|
| 531 |
|
---|
| 532 | <screen role="nodump"><userinput>cat > /etc/profile.d/qt6.sh << "EOF"
|
---|
| 533 | <literal># Begin /etc/profile.d/qt6.sh
|
---|
| 534 |
|
---|
| 535 | QT5DIR=/usr
|
---|
| 536 | export QT5DIR
|
---|
| 537 |
|
---|
| 538 | # End /etc/profile.d/qt6.sh</literal>
|
---|
| 539 | EOF</userinput></screen>
|
---|
| 540 |
|
---|
| 541 | <bridgehead renderas="sect4">If you did not install Qt5 in /usr</bridgehead>
|
---|
| 542 | i-->
|
---|
| 543 | <para>
|
---|
| 544 | You now need to update the
|
---|
| 545 | following configuration files so that <application>Qt6</application> is
|
---|
| 546 | correctly found by other packages and system processes.
|
---|
| 547 | </para>
|
---|
| 548 |
|
---|
| 549 | <para>
|
---|
| 550 | As the &root; user, update
|
---|
| 551 | the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
|
---|
| 552 | run-time cache file:
|
---|
| 553 | </para>
|
---|
| 554 |
|
---|
| 555 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
| 556 | <literal># Begin Qt addition
|
---|
| 557 |
|
---|
| 558 | /opt/qt6/lib
|
---|
| 559 |
|
---|
| 560 | # End Qt addition</literal>
|
---|
| 561 | EOF
|
---|
| 562 |
|
---|
| 563 | ldconfig</userinput></screen>
|
---|
| 564 |
|
---|
| 565 | <indexterm zone="qt6 qt6-config">
|
---|
| 566 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 567 | </indexterm>
|
---|
| 568 |
|
---|
| 569 | <para>
|
---|
| 570 | As the &root; user, create
|
---|
| 571 | the <filename>/etc/profile.d/qt6.sh</filename> file:
|
---|
| 572 | </para>
|
---|
| 573 |
|
---|
| 574 | <screen role="root"><userinput>cat > /etc/profile.d/qt6.sh << "EOF"
|
---|
| 575 | <literal># Begin /etc/profile.d/qt6.sh
|
---|
| 576 |
|
---|
| 577 | QT6DIR=/opt/qt6
|
---|
| 578 |
|
---|
| 579 | pathappend $QT6DIR/bin PATH
|
---|
| 580 | pathappend $QT6DIR/lib/pkgconfig PKG_CONFIG_PATH
|
---|
| 581 |
|
---|
| 582 | export QT6DIR
|
---|
| 583 |
|
---|
| 584 | # End /etc/profile.d/qt6.sh</literal>
|
---|
| 585 | EOF</userinput></screen>
|
---|
| 586 |
|
---|
| 587 | </sect3>
|
---|
| 588 |
|
---|
| 589 | </sect2>
|
---|
| 590 |
|
---|
| 591 | <sect2 role="content">
|
---|
| 592 | <title>Contents</title>
|
---|
| 593 |
|
---|
| 594 | <segmentedlist>
|
---|
| 595 | <segtitle>Installed Programs</segtitle>
|
---|
| 596 | <segtitle>Installed Libraries</segtitle>
|
---|
| 597 | <segtitle>Installed Directories</segtitle>
|
---|
| 598 |
|
---|
| 599 | <seglistitem>
|
---|
| 600 | <seg>
|
---|
[1978830] | 601 | androiddeployqt (hard link to androiddeployqt6),
|
---|
| 602 | androiddeployqt6,
|
---|
| 603 | androidtestrunner,
|
---|
| 604 | assistant,
|
---|
| 605 | balsam,
|
---|
| 606 | balsamui,
|
---|
| 607 | canbusutil,
|
---|
| 608 | cooker,
|
---|
| 609 | designer,
|
---|
| 610 | instancer,
|
---|
| 611 | lconvert,
|
---|
| 612 | linguist,
|
---|
| 613 | lrelease,
|
---|
| 614 | lupdate,
|
---|
| 615 | materialeditor,
|
---|
| 616 | meshdebug,
|
---|
| 617 | pixeltool,
|
---|
| 618 | qdbus,
|
---|
| 619 | qdbuscpp2xml,
|
---|
| 620 | qdbusviewer,
|
---|
| 621 | qdbusxml2cpp,
|
---|
| 622 | qdistancefieldgenerator,
|
---|
| 623 | qdoc,
|
---|
| 624 | qmake (hard link to qmake6),
|
---|
| 625 | qmake6,
|
---|
| 626 | qml,
|
---|
| 627 | qmldom,
|
---|
| 628 | qmleasing,
|
---|
| 629 | qmlformat,
|
---|
| 630 | qmllint,
|
---|
| 631 | qmlls,
|
---|
| 632 | qmlplugindump,
|
---|
| 633 | qmlpreview,
|
---|
| 634 | qmlprofiler,
|
---|
| 635 | qmlscene,
|
---|
| 636 | qmltc,
|
---|
| 637 | qmltestrunner,
|
---|
| 638 | qmltime,
|
---|
| 639 | qqem,
|
---|
| 640 | qsb,
|
---|
| 641 | qtdiag (hard link to qtdiag6),
|
---|
| 642 | qtdiag6,
|
---|
| 643 | qtpaths (hard link to qtpaths6),
|
---|
| 644 | qtpaths6,
|
---|
| 645 | qtplugininfo,
|
---|
| 646 | qt-cmake,
|
---|
| 647 | qt-cmake-create,
|
---|
| 648 | qt-configure-module,
|
---|
| 649 | shadergen, and
|
---|
| 650 | shapegen
|
---|
| 651 |
|
---|
[9cd2368] | 652 | </seg>
|
---|
| 653 | <seg>
|
---|
[1978830] | 654 | libQt6Bluetooth.so,
|
---|
| 655 | libQt6Bodymovin.so,
|
---|
| 656 | libQt6BundledEmbree.a,
|
---|
| 657 | libQt6BundledPhysX.a,
|
---|
| 658 | libQt6BundledResonanceAudio.a,
|
---|
| 659 | libQt6Charts.so,
|
---|
| 660 | libQt6ChartsQml.so,
|
---|
| 661 | libQt6Coap.so,
|
---|
| 662 | libQt6Concurrent.so,
|
---|
| 663 | libQt6Core.so,
|
---|
| 664 | libQt6Core5Compat.so,
|
---|
| 665 | libQt6DBus.so,
|
---|
| 666 | libQt6DataVisualization.so,
|
---|
| 667 | libQt6DataVisualizationQml.so,
|
---|
| 668 | libQt6DeclarativeOpcua.so,
|
---|
| 669 | libQt6Designer.so,
|
---|
| 670 | libQt6DesignerComponents.so,
|
---|
| 671 | libQt6DeviceDiscoverySupport.a,
|
---|
| 672 | libQt6EglFSDeviceIntegration.so,
|
---|
| 673 | libQt6EglFsKmsGbmSupport.so,
|
---|
| 674 | libQt6EglFsKmsSupport.so,
|
---|
| 675 | libQt6ExampleIcons.a,
|
---|
| 676 | libQt6FbSupport.a,
|
---|
| 677 | libQt6Graphs.so,
|
---|
| 678 | libQt6Grpc.so,
|
---|
| 679 | libQt6Gui.so,
|
---|
| 680 | libQt6Help.so,
|
---|
| 681 | libQt6HttpServer.so,
|
---|
| 682 | libQt6InputSupport.a,
|
---|
| 683 | libQt6JsonRpc.so,
|
---|
| 684 | libQt6KmsSupport.a,
|
---|
| 685 | libQt6LabsAnimation.so,
|
---|
| 686 | libQt6LabsFolderListModel.so,
|
---|
| 687 | libQt6LabsQmlModels.so,
|
---|
| 688 | libQt6LabsSettings.so,
|
---|
| 689 | libQt6LabsSharedImage.so,
|
---|
| 690 | libQt6LabsWavefrontMesh.so,
|
---|
| 691 | libQt6LanguageServer.so,
|
---|
| 692 | libQt6Location.so,
|
---|
| 693 | libQt6Mqtt.so,
|
---|
| 694 | libQt6Multimedia.so,
|
---|
| 695 | libQt6MultimediaQuick.so,
|
---|
| 696 | libQt6MultimediaWidgets.so,
|
---|
| 697 | libQt6Network.so,
|
---|
| 698 | libQt6NetworkAuth.so,
|
---|
| 699 | libQt6Nfc.so,
|
---|
| 700 | libQt6OpcUa.so,
|
---|
| 701 | libQt6OpenGL.so,
|
---|
| 702 | libQt6OpenGLWidgets.so,
|
---|
| 703 | libQt6PacketProtocol.a,
|
---|
| 704 | libQt6Positioning.so,
|
---|
| 705 | libQt6PositioningQuick.so,
|
---|
| 706 | libQt6PrintSupport.so,
|
---|
| 707 | libQt6Protobuf.so,
|
---|
| 708 | libQt6Qml.so,
|
---|
| 709 | libQt6QmlCompiler.so,
|
---|
| 710 | libQt6QmlCore.so,
|
---|
| 711 | libQt6QmlDebug.a,
|
---|
| 712 | libQt6QmlDom.a,
|
---|
| 713 | libQt6QmlLocalStorage.so,
|
---|
| 714 | libQt6QmlLS.a,
|
---|
| 715 | libQt6QmlModels.so,
|
---|
| 716 | libQt6QmlToolingSettings.a,
|
---|
| 717 | libQt6QmlTypeRegistrar.a,
|
---|
| 718 | libQt6QmlWorkerScript.so,
|
---|
| 719 | libQt6QmlXmlListModel.so,
|
---|
| 720 | libQt6Quick.so,
|
---|
| 721 | libQt6Quick3D.so,
|
---|
| 722 | libQt6Quick3DAssetImport.so,
|
---|
| 723 | libQt6Quick3DAssetUtils.so,
|
---|
| 724 | libQt6Quick3DEffects.so,
|
---|
| 725 | libQt6Quick3DGlslParser.so,
|
---|
| 726 | libQt6Quick3DHelpers.so,
|
---|
| 727 | libQt6Quick3DHelpersImpl.so,
|
---|
| 728 | libQt6Quick3DIblBaker.so,
|
---|
| 729 | libQt6Quick3DParticleEffects.so,
|
---|
| 730 | libQt6Quick3DParticles.so,
|
---|
| 731 | libQt6Quick3DPhysics.so,
|
---|
| 732 | libQt6Quick3DPhysicsHelpers.so,
|
---|
| 733 | libQt6Quick3DRuntimeRender.so,
|
---|
| 734 | libQt6Quick3DSpatialAudio.so,
|
---|
| 735 | libQt6Quick3DUtils.so,
|
---|
| 736 | libQt6QuickControls2.so,
|
---|
| 737 | libQt6QuickControls2Impl.so,
|
---|
| 738 | libQt6QuickControlsTestUtils.a,
|
---|
| 739 | libQt6QuickDialogs2.so,
|
---|
| 740 | libQt6QuickDialogs2QuickImpl.so,
|
---|
| 741 | libQt6QuickDialogs2Utils.so,
|
---|
| 742 | libQt6QuickEffects.so,
|
---|
| 743 | libQt6QuickLayouts.so,
|
---|
| 744 | libQt6QuickParticles.so,
|
---|
| 745 | libQt6QuickShapes.so,
|
---|
| 746 | libQt6QuickTemplates2.so,
|
---|
| 747 | libQt6QuickTest.so,
|
---|
| 748 | libQt6QuickTestUtils.a,
|
---|
| 749 | libQt6QuickTimeline.so,
|
---|
| 750 | libQt6QuickWidgets.so,
|
---|
| 751 | libQt6RemoteObjects.so,
|
---|
| 752 | libQt6RemoteObjectsQml.so,
|
---|
| 753 | libQt6Scxml.so,
|
---|
| 754 | libQt6ScxmlQml.so,
|
---|
| 755 | libQt6Sensors.so,
|
---|
| 756 | libQt6SensorsQuick.so,
|
---|
| 757 | libQt6SerialBus.so,
|
---|
| 758 | libQt6SerialPort.so,
|
---|
| 759 | libQt6ShaderTools.so,
|
---|
| 760 | libQt6SpatialAudio.so,
|
---|
| 761 | libQt6Sql.so,
|
---|
| 762 | libQt6StateMachine.so,
|
---|
| 763 | libQt6StateMachineQml.so,
|
---|
| 764 | libQt6Svg.so,
|
---|
| 765 | libQt6SvgWidgets.so,
|
---|
| 766 | libQt6TextToSpeech.so,
|
---|
| 767 | libQt6UiTools.so,
|
---|
| 768 | libQt6VirtualKeyboard.so,
|
---|
| 769 | libQt6WaylandClient.so,
|
---|
| 770 | libQt6WaylandCompositor.so,
|
---|
| 771 | libQt6WaylandEglClientHwIntegration.so,
|
---|
| 772 | libQt6WaylandEglCompositorHwIntegration.so,
|
---|
| 773 | libQt6WebChannel.so,
|
---|
| 774 | libQt6WebChannelQuick.so,
|
---|
| 775 | libQt6WebSockets.so,
|
---|
| 776 | libQt6WebView.so,
|
---|
| 777 | libQt6WebViewQuick.so,
|
---|
| 778 | libQt6Widgets.so,
|
---|
| 779 | libQt6WlShellIntegration.so,
|
---|
| 780 | libQt6XcbQpa.so, and
|
---|
| 781 | libQt6Xml.so
|
---|
[9cd2368] | 782 | </seg>
|
---|
| 783 | <seg>
|
---|
| 784 | <!--/usr/include/qt6,
|
---|
| 785 | /usr/lib/qt6,
|
---|
| 786 | /usr/share/doc/qt6, and
|
---|
| 787 | /usr/share/qt6
|
---|
| 788 | OR-->
|
---|
| 789 | /opt/qt6 and
|
---|
| 790 | /opt/qt-&qt6-version;
|
---|
| 791 | </seg>
|
---|
| 792 | </seglistitem>
|
---|
| 793 | </segmentedlist>
|
---|
[1978830] | 794 |
|
---|
[9cd2368] | 795 | <variablelist id='qt6-descriptions' xreflabel="Qt6 Short Descriptions">
|
---|
| 796 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 797 | <?dbfo list-presentation="list"?>
|
---|
| 798 | <?dbhtml list-presentation="table"?>
|
---|
| 799 |
|
---|
| 800 | <varlistentry id="assistant-qt6">
|
---|
| 801 | <term><command>assistant</command></term>
|
---|
| 802 | <listitem>
|
---|
| 803 | <para>
|
---|
| 804 | is a tool for presenting on-line documentation
|
---|
| 805 | </para>
|
---|
| 806 | <indexterm zone="qt6 assistant-qt6">
|
---|
| 807 | <primary sortas="b-assistant-qt6">assistant</primary>
|
---|
| 808 | </indexterm>
|
---|
| 809 | </listitem>
|
---|
| 810 | </varlistentry>
|
---|
| 811 |
|
---|
[1978830] | 812 | <varlistentry id="balsam-qt6">
|
---|
[9cd2368] | 813 | <term><command>balsam</command></term>
|
---|
| 814 | <listitem>
|
---|
| 815 | <para>
|
---|
| 816 | is a tool to convert 3D scenes from various creation tools
|
---|
| 817 | to QML format, for use by the new QtQuick 3D library
|
---|
| 818 | </para>
|
---|
[1978830] | 819 | <indexterm zone="qt6 balsam-qt6">
|
---|
| 820 | <primary sortas="b-balsam-qt6">balsam</primary>
|
---|
[9cd2368] | 821 | </indexterm>
|
---|
| 822 | </listitem>
|
---|
| 823 | </varlistentry>
|
---|
| 824 |
|
---|
[1978830] | 825 | <varlistentry id="canbusutil-qt6">
|
---|
[9cd2368] | 826 | <term><command>canbustil</command></term>
|
---|
| 827 | <listitem>
|
---|
| 828 | <para>
|
---|
| 829 | is a tool to deal with arbitrary CAN bus frames.
|
---|
| 830 | A Controller Area Network (CAN) is a vehicle bus standard designed
|
---|
| 831 | to allow microcontrollers and devices to communicate with each other
|
---|
| 832 | in applications without a host computer
|
---|
| 833 | </para>
|
---|
[1978830] | 834 | <indexterm zone="qt6 canbusutil-qt6">
|
---|
| 835 | <primary sortas="b-canbusutil-qt6">canbusutil</primary>
|
---|
[9cd2368] | 836 | </indexterm>
|
---|
| 837 | </listitem>
|
---|
| 838 | </varlistentry>
|
---|
| 839 |
|
---|
| 840 | <varlistentry id="designer-qt6">
|
---|
| 841 | <term><command>designer</command></term>
|
---|
| 842 | <listitem>
|
---|
| 843 | <para>
|
---|
| 844 | is a full-fledged GUI builder. It includes
|
---|
| 845 | powerful features such as preview mode, automatic widget
|
---|
| 846 | layout, support for custom widgets, and an advanced
|
---|
| 847 | property editor
|
---|
| 848 | </para>
|
---|
| 849 | <indexterm zone="qt6 designer-qt6">
|
---|
| 850 | <primary sortas="b-designer-qt6">designer</primary>
|
---|
| 851 | </indexterm>
|
---|
| 852 | </listitem>
|
---|
| 853 | </varlistentry>
|
---|
| 854 |
|
---|
| 855 | <varlistentry id="lconvert-qt6">
|
---|
| 856 | <term><command>lconvert</command></term>
|
---|
| 857 | <listitem>
|
---|
| 858 | <para>
|
---|
[bd655b2c] | 859 | is part of Qt6's Linguist tool chain. It can be used as a
|
---|
[9cd2368] | 860 | standalone tool to convert and filter translation data files
|
---|
| 861 | </para>
|
---|
| 862 | <indexterm zone="qt6 lconvert-qt6">
|
---|
| 863 | <primary sortas="b-lconvert-qt6">lconvert</primary>
|
---|
| 864 | </indexterm>
|
---|
| 865 | </listitem>
|
---|
| 866 | </varlistentry>
|
---|
| 867 |
|
---|
| 868 | <varlistentry id="linguist-qt6">
|
---|
| 869 | <term><command>linguist</command></term>
|
---|
| 870 | <listitem>
|
---|
| 871 | <para>
|
---|
| 872 | provides support for translating applications into
|
---|
| 873 | local languages
|
---|
| 874 | </para>
|
---|
| 875 | <indexterm zone="qt6 linguist-qt6">
|
---|
| 876 | <primary sortas="b-linguist-qt6">linguist</primary>
|
---|
| 877 | </indexterm>
|
---|
| 878 | </listitem>
|
---|
| 879 | </varlistentry>
|
---|
| 880 |
|
---|
| 881 | <varlistentry id="lrelease-qt6">
|
---|
| 882 | <term><command>lrelease</command></term>
|
---|
| 883 | <listitem>
|
---|
| 884 | <para>
|
---|
| 885 | is a simple command line tool. It reads XML-based translation
|
---|
| 886 | file in TS format and produces message files used by the
|
---|
| 887 | application
|
---|
| 888 | </para>
|
---|
| 889 | <indexterm zone="qt6 lrelease-qt6">
|
---|
| 890 | <primary sortas="b-lrelease-qt6">lrelease</primary>
|
---|
| 891 | </indexterm>
|
---|
| 892 | </listitem>
|
---|
| 893 | </varlistentry>
|
---|
| 894 |
|
---|
| 895 | <varlistentry id="lupdate-qt6">
|
---|
| 896 | <term><command>lupdate</command></term>
|
---|
| 897 | <listitem>
|
---|
| 898 | <para>
|
---|
| 899 | finds the translatable
|
---|
| 900 | strings in the specified source, header and Qt Designer
|
---|
| 901 | interface files, and stores the extracted messages in
|
---|
| 902 | translation files to be processed by lrelease
|
---|
| 903 | </para>
|
---|
| 904 | <indexterm zone="qt6 lupdate-qt6">
|
---|
| 905 | <primary sortas="b-lupdate-qt6">lupdate</primary>
|
---|
| 906 | </indexterm>
|
---|
| 907 | </listitem>
|
---|
| 908 | </varlistentry>
|
---|
| 909 |
|
---|
[1978830] | 910 | <varlistentry id="meshdebug-qt6">
|
---|
[9cd2368] | 911 | <term><command>meshdebug</command></term>
|
---|
| 912 | <listitem>
|
---|
| 913 | <para>
|
---|
| 914 | displays information about qtquick-3d mesh files
|
---|
| 915 | </para>
|
---|
[1978830] | 916 | <indexterm zone="qt6 meshdebug-qt6">
|
---|
| 917 | <primary sortas="b-meshdebug-qt6">meshdebug</primary>
|
---|
[9cd2368] | 918 | </indexterm>
|
---|
| 919 | </listitem>
|
---|
| 920 | </varlistentry>
|
---|
| 921 |
|
---|
| 922 | <varlistentry id="pixeltool-qt6">
|
---|
| 923 | <term><command>pixeltool</command></term>
|
---|
| 924 | <listitem>
|
---|
| 925 | <para>
|
---|
| 926 | is a desktop magnifier and as you move your mouse around
|
---|
| 927 | the screen it will show the magnified contents in its window
|
---|
| 928 | </para>
|
---|
| 929 | <indexterm zone="qt6 pixeltool-qt6">
|
---|
| 930 | <primary sortas="b-pixeltool-qt6">pixeltool</primary>
|
---|
| 931 | </indexterm>
|
---|
| 932 | </listitem>
|
---|
| 933 | </varlistentry>
|
---|
| 934 |
|
---|
[1978830] | 935 | <varlistentry id="qdbus-qt6">
|
---|
| 936 | <term><command>qdbus</command></term>
|
---|
[9cd2368] | 937 | <listitem>
|
---|
| 938 | <para>
|
---|
[1978830] | 939 | lists available services, object paths, methods, signals, and
|
---|
| 940 | properties of objects on a bus
|
---|
[9cd2368] | 941 | </para>
|
---|
[1978830] | 942 | <indexterm zone="qt6 qdbus-qt6">
|
---|
| 943 | <primary sortas="b-qdbus-qt6">qdbus</primary>
|
---|
[9cd2368] | 944 | </indexterm>
|
---|
| 945 | </listitem>
|
---|
| 946 | </varlistentry>
|
---|
| 947 |
|
---|
| 948 | <varlistentry id="qdbuscpp2xml-qt6">
|
---|
| 949 | <term><command>qdbuscpp2xml</command></term>
|
---|
| 950 | <listitem>
|
---|
| 951 | <para>
|
---|
| 952 | takes a C++ source file and generates a D-Bus XML definition
|
---|
| 953 | of the interface
|
---|
| 954 | </para>
|
---|
| 955 | <indexterm zone="qt6 qdbuscpp2xml-qt6">
|
---|
| 956 | <primary sortas="b-qdbuscpp2xml-qt6">qdbuscpp2xml</primary>
|
---|
| 957 | </indexterm>
|
---|
| 958 | </listitem>
|
---|
| 959 | </varlistentry>
|
---|
| 960 |
|
---|
| 961 | <varlistentry id="qdbusviewer-qt6">
|
---|
| 962 | <term><command>qdbusviewer</command></term>
|
---|
| 963 | <listitem>
|
---|
| 964 | <para>
|
---|
| 965 | is a graphical D-Bus browser
|
---|
| 966 | </para>
|
---|
| 967 | <indexterm zone="qt6 qdbusviewer-qt6">
|
---|
| 968 | <primary sortas="b-qdbusviewer-qt6">qdbusviewer</primary>
|
---|
| 969 | </indexterm>
|
---|
| 970 | </listitem>
|
---|
| 971 | </varlistentry>
|
---|
| 972 |
|
---|
| 973 | <varlistentry id="qdbusxml2cpp-qt6">
|
---|
| 974 | <term><command>qdbusxml2cpp</command></term>
|
---|
| 975 | <listitem>
|
---|
| 976 | <para>
|
---|
| 977 | is a tool that can be used to parse interface descriptions
|
---|
| 978 | and produce static code representing those interfaces,
|
---|
| 979 | </para>
|
---|
| 980 | <indexterm zone="qt6 qdbusxml2cpp-qt6">
|
---|
| 981 | <primary sortas="b-qdbusxml2cpp-qt6">qdbusxml2cpp</primary>
|
---|
| 982 | </indexterm>
|
---|
| 983 | </listitem>
|
---|
| 984 | </varlistentry>
|
---|
| 985 |
|
---|
| 986 | <varlistentry id="qdistancefieldgenerator-qt6">
|
---|
| 987 | <term><command>qdistancefieldgenerator</command></term>
|
---|
| 988 | <listitem>
|
---|
| 989 | <para>
|
---|
| 990 | allows a font cache to be pregenerated for Text.QtRendering to speed
|
---|
| 991 | up an application's startup if the user interface has a lot of text,
|
---|
| 992 | or multiple fonts, or a large amount of distinct characters, e.g. in
|
---|
| 993 | CJK writing systems
|
---|
| 994 | </para>
|
---|
| 995 | <indexterm zone="qt6 qdistancefieldgenerator-qt6">
|
---|
| 996 | <primary sortas="b-qdistancefieldgenerator-qt6">qdistancefieldgenerator</primary>
|
---|
| 997 | </indexterm>
|
---|
| 998 | </listitem>
|
---|
| 999 | </varlistentry>
|
---|
| 1000 |
|
---|
| 1001 | <varlistentry id="qdoc-qt6">
|
---|
| 1002 | <term><command>qdoc</command></term>
|
---|
| 1003 | <listitem>
|
---|
| 1004 | <para>
|
---|
| 1005 | is a tool used by <application>Qt</application> Developers to
|
---|
| 1006 | generate documentation for software projects
|
---|
| 1007 | </para>
|
---|
| 1008 | <indexterm zone="qt6 qdoc-qt6">
|
---|
| 1009 | <primary sortas="b-qdoc-qt6">qdoc</primary>
|
---|
| 1010 | </indexterm>
|
---|
| 1011 | </listitem>
|
---|
| 1012 | </varlistentry>
|
---|
| 1013 |
|
---|
| 1014 | <varlistentry id="qmake-qt6">
|
---|
| 1015 | <term><command>qmake</command></term>
|
---|
| 1016 | <listitem>
|
---|
| 1017 | <para>
|
---|
| 1018 | uses information stored in project files to
|
---|
| 1019 | determine what should go in the makefiles it
|
---|
| 1020 | generates
|
---|
| 1021 | </para>
|
---|
| 1022 | <indexterm zone="qt6 qmake-qt6">
|
---|
| 1023 | <primary sortas="b-qmake-qt6">qmake</primary>
|
---|
| 1024 | </indexterm>
|
---|
| 1025 | </listitem>
|
---|
| 1026 | </varlistentry>
|
---|
| 1027 |
|
---|
[1978830] | 1028 | <varlistentry id="qml-qt6">
|
---|
[9cd2368] | 1029 | <term><command>qml</command></term>
|
---|
| 1030 | <listitem>
|
---|
| 1031 | <para>
|
---|
| 1032 | executes a QML file
|
---|
| 1033 | </para>
|
---|
[1978830] | 1034 | <indexterm zone="qt6 qml-qt6">
|
---|
| 1035 | <primary sortas="b-qml-qt6">qml</primary>
|
---|
[9cd2368] | 1036 | </indexterm>
|
---|
| 1037 | </listitem>
|
---|
| 1038 | </varlistentry>
|
---|
| 1039 |
|
---|
| 1040 | <varlistentry id="qmleasing-qt6">
|
---|
| 1041 | <term><command>qmleasing</command></term>
|
---|
| 1042 | <listitem>
|
---|
| 1043 | <para>
|
---|
| 1044 | is a tool used to define the easing curves using an
|
---|
| 1045 | interactive curve editor
|
---|
| 1046 | </para>
|
---|
| 1047 | <indexterm zone="qt6 qmleasing-qt6">
|
---|
| 1048 | <primary sortas="b-qmleasing-qt6">qmleasing</primary>
|
---|
| 1049 | </indexterm>
|
---|
| 1050 | </listitem>
|
---|
| 1051 | </varlistentry>
|
---|
| 1052 |
|
---|
| 1053 | <varlistentry id="qmlformat-qt6">
|
---|
| 1054 | <term><command>qmlformat</command></term>
|
---|
| 1055 | <listitem>
|
---|
| 1056 | <para>
|
---|
| 1057 | formats QML files according to the QML coding conventions
|
---|
| 1058 | </para>
|
---|
| 1059 | <indexterm zone="qt6 qmlformat-qt6">
|
---|
| 1060 | <primary sortas="b-qmlformat-qt6">qmlformat</primary>
|
---|
| 1061 | </indexterm>
|
---|
| 1062 | </listitem>
|
---|
| 1063 | </varlistentry>
|
---|
| 1064 |
|
---|
| 1065 | <varlistentry id="qmllint-qt6">
|
---|
| 1066 | <term><command>qmllint</command></term>
|
---|
| 1067 | <listitem>
|
---|
| 1068 | <para>
|
---|
| 1069 | is a syntax checker for QML files
|
---|
| 1070 | </para>
|
---|
| 1071 | <indexterm zone="qt6 qmllint-qt6">
|
---|
| 1072 | <primary sortas="b-qmllint-qt6">qmllint</primary>
|
---|
| 1073 | </indexterm>
|
---|
| 1074 | </listitem>
|
---|
| 1075 | </varlistentry>
|
---|
| 1076 |
|
---|
| 1077 | <varlistentry id="qmlplugindump-qt6">
|
---|
| 1078 | <term><command>qmlplugindump</command></term>
|
---|
| 1079 | <listitem>
|
---|
| 1080 | <para>
|
---|
| 1081 | is a tool to create a qmltypes file
|
---|
| 1082 | </para>
|
---|
| 1083 | <indexterm zone="qt6 qmlplugindump-qt6">
|
---|
| 1084 | <primary sortas="b-qmlplugindump-qt6">qmlplugindump</primary>
|
---|
| 1085 | </indexterm>
|
---|
| 1086 | </listitem>
|
---|
| 1087 | </varlistentry>
|
---|
| 1088 |
|
---|
| 1089 | <varlistentry id="qmlpreview-qt6">
|
---|
| 1090 | <term><command>qmlpreview</command></term>
|
---|
| 1091 | <listitem>
|
---|
| 1092 | <para>
|
---|
| 1093 | is a tool used to analyze QML applications
|
---|
| 1094 | </para>
|
---|
| 1095 | <indexterm zone="qt6 qmlpreview-qt6">
|
---|
| 1096 | <primary sortas="b-qmlpreviewr-qt6">qmlpreview</primary>
|
---|
| 1097 | </indexterm>
|
---|
| 1098 | </listitem>
|
---|
| 1099 | </varlistentry>
|
---|
| 1100 |
|
---|
| 1101 | <varlistentry id="qmlprofiler-qt6">
|
---|
| 1102 | <term><command>qmlprofiler</command></term>
|
---|
| 1103 | <listitem>
|
---|
| 1104 | <para>
|
---|
| 1105 | is a tool which watches QML and JavaScript files on disk and
|
---|
| 1106 | updates the application live with any changes
|
---|
| 1107 | </para>
|
---|
| 1108 | <indexterm zone="qt6 qmlprofiler-qt6">
|
---|
| 1109 | <primary sortas="b-qmlprofiler-qt6">qmlprofiler</primary>
|
---|
| 1110 | </indexterm>
|
---|
| 1111 | </listitem>
|
---|
| 1112 | </varlistentry>
|
---|
| 1113 |
|
---|
| 1114 | <varlistentry id="qmlscene-qt6">
|
---|
| 1115 | <term><command>qmlscene</command></term>
|
---|
| 1116 | <listitem>
|
---|
| 1117 | <para>
|
---|
| 1118 | is a utility that loads and displays QML documents even before
|
---|
| 1119 | the application is complete
|
---|
| 1120 | </para>
|
---|
| 1121 | <indexterm zone="qt6 qmlscene-qt6">
|
---|
| 1122 | <primary sortas="b-qmlscene-qt6">qmlscene</primary>
|
---|
| 1123 | </indexterm>
|
---|
| 1124 | </listitem>
|
---|
| 1125 | </varlistentry>
|
---|
| 1126 |
|
---|
| 1127 | <varlistentry id="qmltestrunner-qt6">
|
---|
| 1128 | <term><command>qmltestrunner</command></term>
|
---|
| 1129 | <listitem>
|
---|
| 1130 | <para>
|
---|
| 1131 | is a tool used to make tests
|
---|
| 1132 | </para>
|
---|
| 1133 | <indexterm zone="qt6 qmltestrunner-qt6">
|
---|
| 1134 | <primary sortas="b-qmltestrunner-qt6">qmltestrunner</primary>
|
---|
| 1135 | </indexterm>
|
---|
| 1136 | </listitem>
|
---|
| 1137 | </varlistentry>
|
---|
| 1138 |
|
---|
| 1139 | <varlistentry id="qtdiag-qt6">
|
---|
| 1140 | <term><command>qtdiag</command></term>
|
---|
| 1141 | <listitem>
|
---|
| 1142 | <para>
|
---|
| 1143 | is a tool for reporting diagnostic information about Qt and its
|
---|
| 1144 | environment
|
---|
| 1145 | </para>
|
---|
| 1146 | <indexterm zone="qt6 qtdiag-qt6">
|
---|
| 1147 | <primary sortas="b-qtdiag-qt6">qtdiag</primary>
|
---|
| 1148 | </indexterm>
|
---|
| 1149 | </listitem>
|
---|
| 1150 | </varlistentry>
|
---|
| 1151 |
|
---|
| 1152 | <varlistentry id="qtpaths-qt6">
|
---|
| 1153 | <term><command>qtpaths</command></term>
|
---|
| 1154 | <listitem>
|
---|
| 1155 | <para>
|
---|
| 1156 | is a tool to query Qt path information
|
---|
| 1157 | </para>
|
---|
| 1158 | <indexterm zone="qt6 qtpaths-qt6">
|
---|
| 1159 | <primary sortas="b-qtpaths-qt6">qtpaths</primary>
|
---|
| 1160 | </indexterm>
|
---|
| 1161 | </listitem>
|
---|
| 1162 | </varlistentry>
|
---|
| 1163 |
|
---|
[1978830] | 1164 | <varlistentry id="qtplugininfo-qt6">
|
---|
[9cd2368] | 1165 | <term><command>qtplugininfo</command></term>
|
---|
| 1166 | <listitem>
|
---|
| 1167 | <para>
|
---|
| 1168 | dumps meta-data about Qt plugins in JSON format
|
---|
| 1169 | </para>
|
---|
[1978830] | 1170 | <indexterm zone="qt6 qtplugininfo-qt6">
|
---|
| 1171 | <primary sortas="b-qtplugininfo-qt6">qtplugininfo</primary>
|
---|
[9cd2368] | 1172 | </indexterm>
|
---|
| 1173 | </listitem>
|
---|
| 1174 | </varlistentry>
|
---|
| 1175 |
|
---|
| 1176 | </variablelist>
|
---|
[1978830] | 1177 |
|
---|
[9cd2368] | 1178 | </sect2>
|
---|
| 1179 |
|
---|
| 1180 | </sect1>
|
---|