[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 |
|
---|
| 7 | <!ENTITY qt6-major "6.6">
|
---|
| 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 " ">
|
---|
[bd655b2c] | 12 | <!ENTITY qt6-md5sum "b92112e12298f4b27050ef7060658191">
|
---|
| 13 | <!ENTITY qt6-size "764 MB">
|
---|
| 14 | <!ENTITY qt6-buildsize "31 GB (354 MB installed)">
|
---|
| 15 | <!ENTITY qt6-time "16 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"/>,
|
---|
| 119 | <xref linkend="libmng"/>,
|
---|
| 120 | <xref linkend="libpng"/>,
|
---|
| 121 | <xref linkend="libtiff"/>,
|
---|
| 122 | <xref linkend="libwebp"/>,
|
---|
| 123 | <xref linkend="libxkbcommon"/>,
|
---|
| 124 | <xref linkend="mesa"/>,
|
---|
| 125 | <xref linkend="mtdev"/>,
|
---|
| 126 | <xref linkend="pcre2"/>,
|
---|
| 127 | <xref linkend="sqlite"/>,
|
---|
| 128 | <xref linkend="wayland"/> (<application>Mesa</application>
|
---|
| 129 | must be built with <application>Wayland</application> EGL
|
---|
| 130 | backend),
|
---|
[d8ce086] | 131 | <xref linkend="xcb-util-cursor"/>,
|
---|
[9cd2368] | 132 | <xref linkend="xcb-util-image"/>,
|
---|
| 133 | <xref linkend="xcb-util-keysyms"/>,
|
---|
| 134 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
| 135 | <xref linkend="xcb-util-wm"/>
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 139 | <para role="optional">
|
---|
| 140 | <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
|
---|
| 141 | QtConnectivity module),
|
---|
| 142 | <xref linkend="gtk3"/>,
|
---|
| 143 | <xref linkend="ibus"/>,
|
---|
| 144 | <xref linkend="libinput"/>,
|
---|
| 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
|
---|
| 160 | <ulink url="http:///www.tslib.org/">tslib</ulink>
|
---|
| 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
|
---|
| 227 | <systemitem class="username">root</systemitem>, such as
|
---|
| 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 |
|
---|
| 275 | <para>
|
---|
| 276 | Install <application>Qt6</application> by running the following commands:
|
---|
| 277 | </para>
|
---|
| 278 |
|
---|
[bc3438b] | 279 | <screen revision="sysv"><userinput>./configure -prefix $QT6PREFIX \
|
---|
| 280 | -sysconfdir /etc/xdg \
|
---|
| 281 | -dbus-linked \
|
---|
| 282 | -openssl-linked \
|
---|
| 283 | -system-sqlite \
|
---|
| 284 | -nomake examples \
|
---|
| 285 | -no-rpath \
|
---|
| 286 | -syslog \
|
---|
| 287 | -skip qt3d \
|
---|
| 288 | -skip qtquick3dphysics \
|
---|
| 289 | -skip qtwebengine \
|
---|
| 290 | -Wno-dev &&
|
---|
[9cd2368] | 291 | ninja</userinput></screen>
|
---|
| 292 |
|
---|
[bc3438b] | 293 | <screen revision="systemd"><userinput>./configure -prefix $QT6PREFIX \
|
---|
| 294 | -sysconfdir /etc/xdg \
|
---|
| 295 | -dbus-linked \
|
---|
| 296 | -openssl-linked \
|
---|
| 297 | -system-sqlite \
|
---|
| 298 | -nomake examples \
|
---|
| 299 | -no-rpath \
|
---|
| 300 | -journald \
|
---|
| 301 | -skip qt3d \
|
---|
| 302 | -skip qtquick3dphysics \
|
---|
| 303 | -skip qtwebengine \
|
---|
| 304 | -Wno-dev &&
|
---|
[9cd2368] | 305 | ninja</userinput></screen>
|
---|
| 306 |
|
---|
| 307 | <para>
|
---|
| 308 | This package does not come with a test suite.
|
---|
| 309 | </para>
|
---|
| 310 |
|
---|
| 311 | <para>
|
---|
| 312 | Now, as the &root; user:
|
---|
| 313 | </para>
|
---|
| 314 |
|
---|
| 315 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 316 |
|
---|
| 317 | <!-- Not sure this is correct for Qt6
|
---|
| 318 |
|
---|
| 319 | EDITORS NOTE: This package uses INSTALL_ROOT= instead of DESTDIR= for
|
---|
| 320 | installing in a temporary directory. -->
|
---|
| 321 |
|
---|
| 322 | <para>
|
---|
| 323 | Remove references to the build directory from installed library
|
---|
| 324 | dependency (prl) <!--and profile include (pri)--> files by running the following
|
---|
| 325 | command as the &root; user:
|
---|
| 326 | </para>
|
---|
| 327 |
|
---|
| 328 | <screen role="root"><userinput>find $QT6PREFIX/ -name \*.prl \
|
---|
| 329 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
| 330 |
|
---|
| 331 | <para>
|
---|
| 332 | Install images and create the menu entries for installed applications.
|
---|
| 333 | <!--The <envar>QT6BINDIR</envar> variable is used here to point to the
|
---|
| 334 | directory for the executable programs. If you have changed the bindir
|
---|
| 335 | above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
|
---|
| 336 | that the <envar>QT5BINDIR</envar> variable is defined in root's
|
---|
| 337 | environment and as the &root; user:-->
|
---|
[fded572] | 338 | Again as the &root; user:
|
---|
[9cd2368] | 339 | </para>
|
---|
| 340 |
|
---|
| 341 | <screen role="root"><userinput>pushd qttools/src &&
|
---|
| 342 |
|
---|
| 343 | install -v -Dm644 assistant/assistant/images/assistant-128.png \
|
---|
| 344 | /usr/share/pixmaps/assistant-qt6.png &&
|
---|
| 345 |
|
---|
| 346 | install -v -Dm644 designer/src/designer/images/designer.png \
|
---|
| 347 | /usr/share/pixmaps/designer-qt6.png &&
|
---|
| 348 |
|
---|
| 349 | install -v -Dm644 linguist/linguist/images/icons/linguist-128-32.png \
|
---|
| 350 | /usr/share/pixmaps/linguist-qt6.png &&
|
---|
| 351 |
|
---|
| 352 | install -v -Dm644 qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
---|
| 353 | /usr/share/pixmaps/qdbusviewer-qt6.png &&
|
---|
| 354 | popd &&
|
---|
| 355 |
|
---|
| 356 |
|
---|
| 357 | cat > /usr/share/applications/assistant-qt6.desktop << EOF
|
---|
| 358 | <literal>[Desktop Entry]
|
---|
| 359 | Name=Qt6 Assistant
|
---|
| 360 | Comment=Shows Qt6 documentation and examples
|
---|
| 361 | Exec=$QT6PREFIX/bin/assistant
|
---|
| 362 | Icon=assistant-qt6.png
|
---|
| 363 | Terminal=false
|
---|
| 364 | Encoding=UTF-8
|
---|
| 365 | Type=Application
|
---|
| 366 | Categories=Qt;Development;Documentation;</literal>
|
---|
| 367 | EOF
|
---|
| 368 |
|
---|
| 369 | cat > /usr/share/applications/designer-qt6.desktop << EOF
|
---|
| 370 | <literal>[Desktop Entry]
|
---|
| 371 | Name=Qt6 Designer
|
---|
| 372 | GenericName=Interface Designer
|
---|
| 373 | Comment=Design GUIs for Qt6 applications
|
---|
| 374 | Exec=$QT6PREFIX/bin/designer
|
---|
| 375 | Icon=designer-qt6.png
|
---|
| 376 | MimeType=application/x-designer;
|
---|
| 377 | Terminal=false
|
---|
| 378 | Encoding=UTF-8
|
---|
| 379 | Type=Application
|
---|
| 380 | Categories=Qt;Development;</literal>
|
---|
| 381 | EOF
|
---|
| 382 |
|
---|
| 383 | cat > /usr/share/applications/linguist-qt6.desktop << EOF
|
---|
| 384 | <literal>[Desktop Entry]
|
---|
| 385 | Name=Qt6 Linguist
|
---|
| 386 | Comment=Add translations to Qt6 applications
|
---|
| 387 | Exec=$QT6PREFIX/bin/linguist
|
---|
| 388 | Icon=linguist-qt6.png
|
---|
| 389 | MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
---|
| 390 | Terminal=false
|
---|
| 391 | Encoding=UTF-8
|
---|
| 392 | Type=Application
|
---|
| 393 | Categories=Qt;Development;</literal>
|
---|
| 394 | EOF
|
---|
| 395 |
|
---|
| 396 | cat > /usr/share/applications/qdbusviewer-qt6.desktop << EOF
|
---|
| 397 | <literal>[Desktop Entry]
|
---|
| 398 | Name=Qt6 QDbusViewer
|
---|
| 399 | GenericName=D-Bus Debugger
|
---|
| 400 | Comment=Debug D-Bus applications
|
---|
| 401 | Exec=$QT6PREFIX/bin/qdbusviewer
|
---|
| 402 | Icon=qdbusviewer-qt6.png
|
---|
| 403 | Terminal=false
|
---|
| 404 | Encoding=UTF-8
|
---|
| 405 | Type=Application
|
---|
| 406 | Categories=Qt;Development;Debugger;</literal>
|
---|
| 407 | EOF</userinput></screen>
|
---|
| 408 |
|
---|
| 409 | <!--
|
---|
| 410 | <para>
|
---|
| 411 | Some packages such as <xref linkend='vlc'/> look for certain
|
---|
| 412 | executables with a -qt6 suffix. Run the following command as the
|
---|
| 413 | <systemitem class="username">root</systemitem> user
|
---|
| 414 | to create the necessary symlinks:
|
---|
| 415 | </para>
|
---|
| 416 |
|
---|
| 417 | <screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
|
---|
| 418 | ln -sfvn $QT5BINDIR/$file /usr/bin/$file-qt6
|
---|
| 419 | done</userinput></screen>
|
---|
| 420 | -->
|
---|
| 421 | </sect2>
|
---|
| 422 |
|
---|
| 423 | <sect2 role="commands">
|
---|
| 424 | <title>Command Explanations</title>
|
---|
| 425 | <!--
|
---|
| 426 | <para>
|
---|
| 427 | <command>sed ...</command>: Allows using
|
---|
| 428 | <application>Python 3</application> instead of <application>Python
|
---|
| 429 | 2</application>. This command destroys the build for QtWebEngine, so do
|
---|
| 430 | not use it if you remove the <parameter>-skip qtwebengine</parameter>
|
---|
| 431 | switch.
|
---|
| 432 | </para>
|
---|
[1978830] | 433 |
|
---|
| 434 | Ignored
|
---|
[9cd2368] | 435 | <para>
|
---|
| 436 | <parameter>-confirm-license</parameter>: Accept license
|
---|
| 437 | without prompting user during configuration.
|
---|
| 438 | </para>
|
---|
| 439 |
|
---|
[1978830] | 440 | Ignored
|
---|
[9cd2368] | 441 | <para>
|
---|
| 442 | <parameter>-opensource</parameter>: Install the opensource
|
---|
| 443 | version of <application>Qt</application>.
|
---|
| 444 | </para>
|
---|
[1978830] | 445 | -->
|
---|
[9cd2368] | 446 | <para>
|
---|
| 447 | <parameter>-nomake examples</parameter>: This switch
|
---|
| 448 | disables building of the example programs included
|
---|
| 449 | in the source tarball. Remove it if you want to build
|
---|
| 450 | them.
|
---|
| 451 | </para>
|
---|
| 452 |
|
---|
| 453 | <para>
|
---|
[fded572] | 454 | <parameter>-skip qt3d</parameter>: This switch
|
---|
[9cd2368] | 455 | disables building qt3d support. There is a problem
|
---|
| 456 | building these files without an external library
|
---|
| 457 | and no packages in BLFS use qt3d.
|
---|
| 458 | </para>
|
---|
[fded572] | 459 | <!-- Auto: not for me [pierre 2023/11/20]-->
|
---|
[9cd2368] | 460 | <para>
|
---|
| 461 | <parameter>-system-sqlite</parameter>: This switch enables use
|
---|
| 462 | of the system version of <application>SQLite</application>.
|
---|
| 463 | </para>
|
---|
[fded572] | 464 |
|
---|
[9cd2368] | 465 | <para>
|
---|
[875b3b57] | 466 | <parameter>-dbus-linked</parameter>
|
---|
| 467 | <parameter>-openssl-linked</parameter>: These
|
---|
[9cd2368] | 468 | switches enable explicit linking of the
|
---|
| 469 | <application>D-Bus</application> and
|
---|
| 470 | <application>OpenSSL</application> libraries into
|
---|
[bd655b2c] | 471 | <application>Qt6</application> libraries instead of
|
---|
[9cd2368] | 472 | <command>dlopen()</command>-ing them.
|
---|
| 473 | </para>
|
---|
| 474 |
|
---|
| 475 | <para revision="sysv">
|
---|
| 476 | <parameter>-syslog</parameter>: This switch allows to send Qt messages
|
---|
| 477 | to the <command>syslog</command> logging system.
|
---|
| 478 | </para>
|
---|
| 479 |
|
---|
| 480 | <para revision="systemd">
|
---|
| 481 | <parameter>-journald</parameter>: This switch allows to send Qt messages
|
---|
| 482 | to the <command>journald</command> logging system.
|
---|
| 483 | </para>
|
---|
| 484 |
|
---|
| 485 | <para>
|
---|
| 486 | <parameter>-skip qtwebengine</parameter>: This switch disables building
|
---|
| 487 | the QtWebEngine. The BLFS editors have chosen to build <xref
|
---|
| 488 | linkend="qtwebengine"/> separately.
|
---|
| 489 | </para>
|
---|
[bc3438b] | 490 |
|
---|
| 491 | <para>
|
---|
[82b5b5b3] | 492 | <parameter>-skip qtquick3dphysics</parameter>: This switch disables
|
---|
| 493 | building the Qt Quick 3D Physics submodule. On 32-bit systems, this will
|
---|
| 494 | cause the build process to fail with an inlining error in Qt6's bundled
|
---|
| 495 | copy of the PhysX SDK.
|
---|
[bc3438b] | 496 | </para>
|
---|
| 497 |
|
---|
[1978830] | 498 | <!-- Auto
|
---|
[9cd2368] | 499 | <para>
|
---|
| 500 | <parameter>-system-harfbuzz</parameter>: This switch enables use
|
---|
| 501 | of the system version of <application>Harfbuzz</application>.
|
---|
| 502 | </para>
|
---|
[1978830] | 503 | -->
|
---|
[9cd2368] | 504 | </sect2>
|
---|
| 505 |
|
---|
| 506 | <sect2 role="configuration">
|
---|
| 507 | <title>Configuring Qt6</title>
|
---|
| 508 |
|
---|
| 509 | <sect3 id="qt6-config">
|
---|
| 510 | <title>Configuration Information</title>
|
---|
| 511 |
|
---|
| 512 | <para>
|
---|
| 513 | If <xref linkend="sudo"/> is installed, QT6DIR should be available to
|
---|
| 514 | the super user as well. Execute the following commands as the
|
---|
| 515 | &root; user:
|
---|
| 516 | </para>
|
---|
| 517 |
|
---|
| 518 | <screen role="root"><userinput>cat > /etc/sudoers.d/qt << "EOF"
|
---|
| 519 | <literal>Defaults env_keep += QT6DIR</literal>
|
---|
| 520 | EOF</userinput></screen>
|
---|
| 521 | <!--
|
---|
| 522 | <bridgehead renderas="sect4">If you installed Qt5 in /usr</bridgehead>
|
---|
| 523 |
|
---|
| 524 | <para>
|
---|
| 525 | If you installed <application>Qt5</application> in
|
---|
| 526 | <filename class="directory">/usr</filename>, create an
|
---|
| 527 | environment variable needed by certain packages.
|
---|
| 528 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 529 | </para>
|
---|
| 530 |
|
---|
| 531 | <screen role="nodump"><userinput>cat > /etc/profile.d/qt6.sh << "EOF"
|
---|
| 532 | <literal># Begin /etc/profile.d/qt6.sh
|
---|
| 533 |
|
---|
| 534 | QT5DIR=/usr
|
---|
| 535 | export QT5DIR
|
---|
| 536 |
|
---|
| 537 | # End /etc/profile.d/qt6.sh</literal>
|
---|
| 538 | EOF</userinput></screen>
|
---|
| 539 |
|
---|
| 540 | <bridgehead renderas="sect4">If you did not install Qt5 in /usr</bridgehead>
|
---|
| 541 | i-->
|
---|
| 542 | <para>
|
---|
| 543 | You now need to update the
|
---|
| 544 | following configuration files so that <application>Qt6</application> is
|
---|
| 545 | correctly found by other packages and system processes.
|
---|
| 546 | </para>
|
---|
| 547 |
|
---|
| 548 | <para>
|
---|
| 549 | As the &root; user, update
|
---|
| 550 | the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
|
---|
| 551 | run-time cache file:
|
---|
| 552 | </para>
|
---|
| 553 |
|
---|
| 554 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
| 555 | <literal># Begin Qt addition
|
---|
| 556 |
|
---|
| 557 | /opt/qt6/lib
|
---|
| 558 |
|
---|
| 559 | # End Qt addition</literal>
|
---|
| 560 | EOF
|
---|
| 561 |
|
---|
| 562 | ldconfig</userinput></screen>
|
---|
| 563 |
|
---|
| 564 | <indexterm zone="qt6 qt6-config">
|
---|
| 565 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 566 | </indexterm>
|
---|
| 567 |
|
---|
| 568 | <para>
|
---|
| 569 | As the &root; user, create
|
---|
| 570 | the <filename>/etc/profile.d/qt6.sh</filename> file:
|
---|
| 571 | </para>
|
---|
| 572 |
|
---|
| 573 | <screen role="root"><userinput>cat > /etc/profile.d/qt6.sh << "EOF"
|
---|
| 574 | <literal># Begin /etc/profile.d/qt6.sh
|
---|
| 575 |
|
---|
| 576 | QT6DIR=/opt/qt6
|
---|
| 577 |
|
---|
| 578 | pathappend $QT6DIR/bin PATH
|
---|
| 579 | pathappend $QT6DIR/lib/pkgconfig PKG_CONFIG_PATH
|
---|
| 580 |
|
---|
| 581 | export QT6DIR
|
---|
| 582 |
|
---|
| 583 | # End /etc/profile.d/qt6.sh</literal>
|
---|
| 584 | EOF</userinput></screen>
|
---|
| 585 |
|
---|
| 586 | </sect3>
|
---|
| 587 |
|
---|
| 588 | </sect2>
|
---|
| 589 |
|
---|
| 590 | <sect2 role="content">
|
---|
| 591 | <title>Contents</title>
|
---|
| 592 |
|
---|
| 593 | <segmentedlist>
|
---|
| 594 | <segtitle>Installed Programs</segtitle>
|
---|
| 595 | <segtitle>Installed Libraries</segtitle>
|
---|
| 596 | <segtitle>Installed Directories</segtitle>
|
---|
| 597 |
|
---|
| 598 | <seglistitem>
|
---|
| 599 | <seg>
|
---|
[1978830] | 600 | androiddeployqt (hard link to androiddeployqt6),
|
---|
| 601 | androiddeployqt6,
|
---|
| 602 | androidtestrunner,
|
---|
| 603 | assistant,
|
---|
| 604 | balsam,
|
---|
| 605 | balsamui,
|
---|
| 606 | canbusutil,
|
---|
| 607 | cooker,
|
---|
| 608 | designer,
|
---|
| 609 | instancer,
|
---|
| 610 | lconvert,
|
---|
| 611 | linguist,
|
---|
| 612 | lrelease,
|
---|
| 613 | lupdate,
|
---|
| 614 | materialeditor,
|
---|
| 615 | meshdebug,
|
---|
| 616 | pixeltool,
|
---|
| 617 | qdbus,
|
---|
| 618 | qdbuscpp2xml,
|
---|
| 619 | qdbusviewer,
|
---|
| 620 | qdbusxml2cpp,
|
---|
| 621 | qdistancefieldgenerator,
|
---|
| 622 | qdoc,
|
---|
| 623 | qmake (hard link to qmake6),
|
---|
| 624 | qmake6,
|
---|
| 625 | qml,
|
---|
| 626 | qmldom,
|
---|
| 627 | qmleasing,
|
---|
| 628 | qmlformat,
|
---|
| 629 | qmllint,
|
---|
| 630 | qmlls,
|
---|
| 631 | qmlplugindump,
|
---|
| 632 | qmlpreview,
|
---|
| 633 | qmlprofiler,
|
---|
| 634 | qmlscene,
|
---|
| 635 | qmltc,
|
---|
| 636 | qmltestrunner,
|
---|
| 637 | qmltime,
|
---|
| 638 | qqem,
|
---|
| 639 | qsb,
|
---|
| 640 | qtdiag (hard link to qtdiag6),
|
---|
| 641 | qtdiag6,
|
---|
| 642 | qtpaths (hard link to qtpaths6),
|
---|
| 643 | qtpaths6,
|
---|
| 644 | qtplugininfo,
|
---|
| 645 | qt-cmake,
|
---|
| 646 | qt-cmake-create,
|
---|
| 647 | qt-configure-module,
|
---|
| 648 | shadergen, and
|
---|
| 649 | shapegen
|
---|
| 650 |
|
---|
[9cd2368] | 651 | </seg>
|
---|
| 652 | <seg>
|
---|
[1978830] | 653 | libQt6Bluetooth.so,
|
---|
| 654 | libQt6Bodymovin.so,
|
---|
| 655 | libQt6BundledEmbree.a,
|
---|
| 656 | libQt6BundledPhysX.a,
|
---|
| 657 | libQt6BundledResonanceAudio.a,
|
---|
| 658 | libQt6Charts.so,
|
---|
| 659 | libQt6ChartsQml.so,
|
---|
| 660 | libQt6Coap.so,
|
---|
| 661 | libQt6Concurrent.so,
|
---|
| 662 | libQt6Core.so,
|
---|
| 663 | libQt6Core5Compat.so,
|
---|
| 664 | libQt6DBus.so,
|
---|
| 665 | libQt6DataVisualization.so,
|
---|
| 666 | libQt6DataVisualizationQml.so,
|
---|
| 667 | libQt6DeclarativeOpcua.so,
|
---|
| 668 | libQt6Designer.so,
|
---|
| 669 | libQt6DesignerComponents.so,
|
---|
| 670 | libQt6DeviceDiscoverySupport.a,
|
---|
| 671 | libQt6EglFSDeviceIntegration.so,
|
---|
| 672 | libQt6EglFsKmsGbmSupport.so,
|
---|
| 673 | libQt6EglFsKmsSupport.so,
|
---|
| 674 | libQt6ExampleIcons.a,
|
---|
| 675 | libQt6FbSupport.a,
|
---|
| 676 | libQt6Graphs.so,
|
---|
| 677 | libQt6Grpc.so,
|
---|
| 678 | libQt6Gui.so,
|
---|
| 679 | libQt6Help.so,
|
---|
| 680 | libQt6HttpServer.so,
|
---|
| 681 | libQt6InputSupport.a,
|
---|
| 682 | libQt6JsonRpc.so,
|
---|
| 683 | libQt6KmsSupport.a,
|
---|
| 684 | libQt6LabsAnimation.so,
|
---|
| 685 | libQt6LabsFolderListModel.so,
|
---|
| 686 | libQt6LabsQmlModels.so,
|
---|
| 687 | libQt6LabsSettings.so,
|
---|
| 688 | libQt6LabsSharedImage.so,
|
---|
| 689 | libQt6LabsWavefrontMesh.so,
|
---|
| 690 | libQt6LanguageServer.so,
|
---|
| 691 | libQt6Location.so,
|
---|
| 692 | libQt6Mqtt.so,
|
---|
| 693 | libQt6Multimedia.so,
|
---|
| 694 | libQt6MultimediaQuick.so,
|
---|
| 695 | libQt6MultimediaWidgets.so,
|
---|
| 696 | libQt6Network.so,
|
---|
| 697 | libQt6NetworkAuth.so,
|
---|
| 698 | libQt6Nfc.so,
|
---|
| 699 | libQt6OpcUa.so,
|
---|
| 700 | libQt6OpenGL.so,
|
---|
| 701 | libQt6OpenGLWidgets.so,
|
---|
| 702 | libQt6PacketProtocol.a,
|
---|
| 703 | libQt6Positioning.so,
|
---|
| 704 | libQt6PositioningQuick.so,
|
---|
| 705 | libQt6PrintSupport.so,
|
---|
| 706 | libQt6Protobuf.so,
|
---|
| 707 | libQt6Qml.so,
|
---|
| 708 | libQt6QmlCompiler.so,
|
---|
| 709 | libQt6QmlCore.so,
|
---|
| 710 | libQt6QmlDebug.a,
|
---|
| 711 | libQt6QmlDom.a,
|
---|
| 712 | libQt6QmlLocalStorage.so,
|
---|
| 713 | libQt6QmlLS.a,
|
---|
| 714 | libQt6QmlModels.so,
|
---|
| 715 | libQt6QmlToolingSettings.a,
|
---|
| 716 | libQt6QmlTypeRegistrar.a,
|
---|
| 717 | libQt6QmlWorkerScript.so,
|
---|
| 718 | libQt6QmlXmlListModel.so,
|
---|
| 719 | libQt6Quick.so,
|
---|
| 720 | libQt6Quick3D.so,
|
---|
| 721 | libQt6Quick3DAssetImport.so,
|
---|
| 722 | libQt6Quick3DAssetUtils.so,
|
---|
| 723 | libQt6Quick3DEffects.so,
|
---|
| 724 | libQt6Quick3DGlslParser.so,
|
---|
| 725 | libQt6Quick3DHelpers.so,
|
---|
| 726 | libQt6Quick3DHelpersImpl.so,
|
---|
| 727 | libQt6Quick3DIblBaker.so,
|
---|
| 728 | libQt6Quick3DParticleEffects.so,
|
---|
| 729 | libQt6Quick3DParticles.so,
|
---|
| 730 | libQt6Quick3DPhysics.so,
|
---|
| 731 | libQt6Quick3DPhysicsHelpers.so,
|
---|
| 732 | libQt6Quick3DRuntimeRender.so,
|
---|
| 733 | libQt6Quick3DSpatialAudio.so,
|
---|
| 734 | libQt6Quick3DUtils.so,
|
---|
| 735 | libQt6QuickControls2.so,
|
---|
| 736 | libQt6QuickControls2Impl.so,
|
---|
| 737 | libQt6QuickControlsTestUtils.a,
|
---|
| 738 | libQt6QuickDialogs2.so,
|
---|
| 739 | libQt6QuickDialogs2QuickImpl.so,
|
---|
| 740 | libQt6QuickDialogs2Utils.so,
|
---|
| 741 | libQt6QuickEffects.so,
|
---|
| 742 | libQt6QuickLayouts.so,
|
---|
| 743 | libQt6QuickParticles.so,
|
---|
| 744 | libQt6QuickShapes.so,
|
---|
| 745 | libQt6QuickTemplates2.so,
|
---|
| 746 | libQt6QuickTest.so,
|
---|
| 747 | libQt6QuickTestUtils.a,
|
---|
| 748 | libQt6QuickTimeline.so,
|
---|
| 749 | libQt6QuickWidgets.so,
|
---|
| 750 | libQt6RemoteObjects.so,
|
---|
| 751 | libQt6RemoteObjectsQml.so,
|
---|
| 752 | libQt6Scxml.so,
|
---|
| 753 | libQt6ScxmlQml.so,
|
---|
| 754 | libQt6Sensors.so,
|
---|
| 755 | libQt6SensorsQuick.so,
|
---|
| 756 | libQt6SerialBus.so,
|
---|
| 757 | libQt6SerialPort.so,
|
---|
| 758 | libQt6ShaderTools.so,
|
---|
| 759 | libQt6SpatialAudio.so,
|
---|
| 760 | libQt6Sql.so,
|
---|
| 761 | libQt6StateMachine.so,
|
---|
| 762 | libQt6StateMachineQml.so,
|
---|
| 763 | libQt6Svg.so,
|
---|
| 764 | libQt6SvgWidgets.so,
|
---|
| 765 | libQt6TextToSpeech.so,
|
---|
| 766 | libQt6UiTools.so,
|
---|
| 767 | libQt6VirtualKeyboard.so,
|
---|
| 768 | libQt6WaylandClient.so,
|
---|
| 769 | libQt6WaylandCompositor.so,
|
---|
| 770 | libQt6WaylandEglClientHwIntegration.so,
|
---|
| 771 | libQt6WaylandEglCompositorHwIntegration.so,
|
---|
| 772 | libQt6WebChannel.so,
|
---|
| 773 | libQt6WebChannelQuick.so,
|
---|
| 774 | libQt6WebSockets.so,
|
---|
| 775 | libQt6WebView.so,
|
---|
| 776 | libQt6WebViewQuick.so,
|
---|
| 777 | libQt6Widgets.so,
|
---|
| 778 | libQt6WlShellIntegration.so,
|
---|
| 779 | libQt6XcbQpa.so, and
|
---|
| 780 | libQt6Xml.so
|
---|
[9cd2368] | 781 | </seg>
|
---|
| 782 | <seg>
|
---|
| 783 | <!--/usr/include/qt6,
|
---|
| 784 | /usr/lib/qt6,
|
---|
| 785 | /usr/share/doc/qt6, and
|
---|
| 786 | /usr/share/qt6
|
---|
| 787 | OR-->
|
---|
| 788 | /opt/qt6 and
|
---|
| 789 | /opt/qt-&qt6-version;
|
---|
| 790 | </seg>
|
---|
| 791 | </seglistitem>
|
---|
| 792 | </segmentedlist>
|
---|
[1978830] | 793 |
|
---|
[9cd2368] | 794 | <variablelist id='qt6-descriptions' xreflabel="Qt6 Short Descriptions">
|
---|
| 795 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 796 | <?dbfo list-presentation="list"?>
|
---|
| 797 | <?dbhtml list-presentation="table"?>
|
---|
| 798 |
|
---|
| 799 | <varlistentry id="assistant-qt6">
|
---|
| 800 | <term><command>assistant</command></term>
|
---|
| 801 | <listitem>
|
---|
| 802 | <para>
|
---|
| 803 | is a tool for presenting on-line documentation
|
---|
| 804 | </para>
|
---|
| 805 | <indexterm zone="qt6 assistant-qt6">
|
---|
| 806 | <primary sortas="b-assistant-qt6">assistant</primary>
|
---|
| 807 | </indexterm>
|
---|
| 808 | </listitem>
|
---|
| 809 | </varlistentry>
|
---|
| 810 |
|
---|
[1978830] | 811 | <varlistentry id="balsam-qt6">
|
---|
[9cd2368] | 812 | <term><command>balsam</command></term>
|
---|
| 813 | <listitem>
|
---|
| 814 | <para>
|
---|
| 815 | is a tool to convert 3D scenes from various creation tools
|
---|
| 816 | to QML format, for use by the new QtQuick 3D library
|
---|
| 817 | </para>
|
---|
[1978830] | 818 | <indexterm zone="qt6 balsam-qt6">
|
---|
| 819 | <primary sortas="b-balsam-qt6">balsam</primary>
|
---|
[9cd2368] | 820 | </indexterm>
|
---|
| 821 | </listitem>
|
---|
| 822 | </varlistentry>
|
---|
| 823 |
|
---|
[1978830] | 824 | <varlistentry id="canbusutil-qt6">
|
---|
[9cd2368] | 825 | <term><command>canbustil</command></term>
|
---|
| 826 | <listitem>
|
---|
| 827 | <para>
|
---|
| 828 | is a tool to deal with arbitrary CAN bus frames.
|
---|
| 829 | A Controller Area Network (CAN) is a vehicle bus standard designed
|
---|
| 830 | to allow microcontrollers and devices to communicate with each other
|
---|
| 831 | in applications without a host computer
|
---|
| 832 | </para>
|
---|
[1978830] | 833 | <indexterm zone="qt6 canbusutil-qt6">
|
---|
| 834 | <primary sortas="b-canbusutil-qt6">canbusutil</primary>
|
---|
[9cd2368] | 835 | </indexterm>
|
---|
| 836 | </listitem>
|
---|
| 837 | </varlistentry>
|
---|
| 838 |
|
---|
| 839 | <varlistentry id="designer-qt6">
|
---|
| 840 | <term><command>designer</command></term>
|
---|
| 841 | <listitem>
|
---|
| 842 | <para>
|
---|
| 843 | is a full-fledged GUI builder. It includes
|
---|
| 844 | powerful features such as preview mode, automatic widget
|
---|
| 845 | layout, support for custom widgets, and an advanced
|
---|
| 846 | property editor
|
---|
| 847 | </para>
|
---|
| 848 | <indexterm zone="qt6 designer-qt6">
|
---|
| 849 | <primary sortas="b-designer-qt6">designer</primary>
|
---|
| 850 | </indexterm>
|
---|
| 851 | </listitem>
|
---|
| 852 | </varlistentry>
|
---|
| 853 |
|
---|
| 854 | <varlistentry id="lconvert-qt6">
|
---|
| 855 | <term><command>lconvert</command></term>
|
---|
| 856 | <listitem>
|
---|
| 857 | <para>
|
---|
[bd655b2c] | 858 | is part of Qt6's Linguist tool chain. It can be used as a
|
---|
[9cd2368] | 859 | standalone tool to convert and filter translation data files
|
---|
| 860 | </para>
|
---|
| 861 | <indexterm zone="qt6 lconvert-qt6">
|
---|
| 862 | <primary sortas="b-lconvert-qt6">lconvert</primary>
|
---|
| 863 | </indexterm>
|
---|
| 864 | </listitem>
|
---|
| 865 | </varlistentry>
|
---|
| 866 |
|
---|
| 867 | <varlistentry id="linguist-qt6">
|
---|
| 868 | <term><command>linguist</command></term>
|
---|
| 869 | <listitem>
|
---|
| 870 | <para>
|
---|
| 871 | provides support for translating applications into
|
---|
| 872 | local languages
|
---|
| 873 | </para>
|
---|
| 874 | <indexterm zone="qt6 linguist-qt6">
|
---|
| 875 | <primary sortas="b-linguist-qt6">linguist</primary>
|
---|
| 876 | </indexterm>
|
---|
| 877 | </listitem>
|
---|
| 878 | </varlistentry>
|
---|
| 879 |
|
---|
| 880 | <varlistentry id="lrelease-qt6">
|
---|
| 881 | <term><command>lrelease</command></term>
|
---|
| 882 | <listitem>
|
---|
| 883 | <para>
|
---|
| 884 | is a simple command line tool. It reads XML-based translation
|
---|
| 885 | file in TS format and produces message files used by the
|
---|
| 886 | application
|
---|
| 887 | </para>
|
---|
| 888 | <indexterm zone="qt6 lrelease-qt6">
|
---|
| 889 | <primary sortas="b-lrelease-qt6">lrelease</primary>
|
---|
| 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
| 894 | <varlistentry id="lupdate-qt6">
|
---|
| 895 | <term><command>lupdate</command></term>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para>
|
---|
| 898 | finds the translatable
|
---|
| 899 | strings in the specified source, header and Qt Designer
|
---|
| 900 | interface files, and stores the extracted messages in
|
---|
| 901 | translation files to be processed by lrelease
|
---|
| 902 | </para>
|
---|
| 903 | <indexterm zone="qt6 lupdate-qt6">
|
---|
| 904 | <primary sortas="b-lupdate-qt6">lupdate</primary>
|
---|
| 905 | </indexterm>
|
---|
| 906 | </listitem>
|
---|
| 907 | </varlistentry>
|
---|
| 908 |
|
---|
[1978830] | 909 | <varlistentry id="meshdebug-qt6">
|
---|
[9cd2368] | 910 | <term><command>meshdebug</command></term>
|
---|
| 911 | <listitem>
|
---|
| 912 | <para>
|
---|
| 913 | displays information about qtquick-3d mesh files
|
---|
| 914 | </para>
|
---|
[1978830] | 915 | <indexterm zone="qt6 meshdebug-qt6">
|
---|
| 916 | <primary sortas="b-meshdebug-qt6">meshdebug</primary>
|
---|
[9cd2368] | 917 | </indexterm>
|
---|
| 918 | </listitem>
|
---|
| 919 | </varlistentry>
|
---|
| 920 |
|
---|
| 921 | <varlistentry id="pixeltool-qt6">
|
---|
| 922 | <term><command>pixeltool</command></term>
|
---|
| 923 | <listitem>
|
---|
| 924 | <para>
|
---|
| 925 | is a desktop magnifier and as you move your mouse around
|
---|
| 926 | the screen it will show the magnified contents in its window
|
---|
| 927 | </para>
|
---|
| 928 | <indexterm zone="qt6 pixeltool-qt6">
|
---|
| 929 | <primary sortas="b-pixeltool-qt6">pixeltool</primary>
|
---|
| 930 | </indexterm>
|
---|
| 931 | </listitem>
|
---|
| 932 | </varlistentry>
|
---|
| 933 |
|
---|
[1978830] | 934 | <varlistentry id="qdbus-qt6">
|
---|
| 935 | <term><command>qdbus</command></term>
|
---|
[9cd2368] | 936 | <listitem>
|
---|
| 937 | <para>
|
---|
[1978830] | 938 | lists available services, object paths, methods, signals, and
|
---|
| 939 | properties of objects on a bus
|
---|
[9cd2368] | 940 | </para>
|
---|
[1978830] | 941 | <indexterm zone="qt6 qdbus-qt6">
|
---|
| 942 | <primary sortas="b-qdbus-qt6">qdbus</primary>
|
---|
[9cd2368] | 943 | </indexterm>
|
---|
| 944 | </listitem>
|
---|
| 945 | </varlistentry>
|
---|
| 946 |
|
---|
| 947 | <varlistentry id="qdbuscpp2xml-qt6">
|
---|
| 948 | <term><command>qdbuscpp2xml</command></term>
|
---|
| 949 | <listitem>
|
---|
| 950 | <para>
|
---|
| 951 | takes a C++ source file and generates a D-Bus XML definition
|
---|
| 952 | of the interface
|
---|
| 953 | </para>
|
---|
| 954 | <indexterm zone="qt6 qdbuscpp2xml-qt6">
|
---|
| 955 | <primary sortas="b-qdbuscpp2xml-qt6">qdbuscpp2xml</primary>
|
---|
| 956 | </indexterm>
|
---|
| 957 | </listitem>
|
---|
| 958 | </varlistentry>
|
---|
| 959 |
|
---|
| 960 | <varlistentry id="qdbusviewer-qt6">
|
---|
| 961 | <term><command>qdbusviewer</command></term>
|
---|
| 962 | <listitem>
|
---|
| 963 | <para>
|
---|
| 964 | is a graphical D-Bus browser
|
---|
| 965 | </para>
|
---|
| 966 | <indexterm zone="qt6 qdbusviewer-qt6">
|
---|
| 967 | <primary sortas="b-qdbusviewer-qt6">qdbusviewer</primary>
|
---|
| 968 | </indexterm>
|
---|
| 969 | </listitem>
|
---|
| 970 | </varlistentry>
|
---|
| 971 |
|
---|
| 972 | <varlistentry id="qdbusxml2cpp-qt6">
|
---|
| 973 | <term><command>qdbusxml2cpp</command></term>
|
---|
| 974 | <listitem>
|
---|
| 975 | <para>
|
---|
| 976 | is a tool that can be used to parse interface descriptions
|
---|
| 977 | and produce static code representing those interfaces,
|
---|
| 978 | </para>
|
---|
| 979 | <indexterm zone="qt6 qdbusxml2cpp-qt6">
|
---|
| 980 | <primary sortas="b-qdbusxml2cpp-qt6">qdbusxml2cpp</primary>
|
---|
| 981 | </indexterm>
|
---|
| 982 | </listitem>
|
---|
| 983 | </varlistentry>
|
---|
| 984 |
|
---|
| 985 | <varlistentry id="qdistancefieldgenerator-qt6">
|
---|
| 986 | <term><command>qdistancefieldgenerator</command></term>
|
---|
| 987 | <listitem>
|
---|
| 988 | <para>
|
---|
| 989 | allows a font cache to be pregenerated for Text.QtRendering to speed
|
---|
| 990 | up an application's startup if the user interface has a lot of text,
|
---|
| 991 | or multiple fonts, or a large amount of distinct characters, e.g. in
|
---|
| 992 | CJK writing systems
|
---|
| 993 | </para>
|
---|
| 994 | <indexterm zone="qt6 qdistancefieldgenerator-qt6">
|
---|
| 995 | <primary sortas="b-qdistancefieldgenerator-qt6">qdistancefieldgenerator</primary>
|
---|
| 996 | </indexterm>
|
---|
| 997 | </listitem>
|
---|
| 998 | </varlistentry>
|
---|
| 999 |
|
---|
| 1000 | <varlistentry id="qdoc-qt6">
|
---|
| 1001 | <term><command>qdoc</command></term>
|
---|
| 1002 | <listitem>
|
---|
| 1003 | <para>
|
---|
| 1004 | is a tool used by <application>Qt</application> Developers to
|
---|
| 1005 | generate documentation for software projects
|
---|
| 1006 | </para>
|
---|
| 1007 | <indexterm zone="qt6 qdoc-qt6">
|
---|
| 1008 | <primary sortas="b-qdoc-qt6">qdoc</primary>
|
---|
| 1009 | </indexterm>
|
---|
| 1010 | </listitem>
|
---|
| 1011 | </varlistentry>
|
---|
| 1012 |
|
---|
| 1013 | <varlistentry id="qmake-qt6">
|
---|
| 1014 | <term><command>qmake</command></term>
|
---|
| 1015 | <listitem>
|
---|
| 1016 | <para>
|
---|
| 1017 | uses information stored in project files to
|
---|
| 1018 | determine what should go in the makefiles it
|
---|
| 1019 | generates
|
---|
| 1020 | </para>
|
---|
| 1021 | <indexterm zone="qt6 qmake-qt6">
|
---|
| 1022 | <primary sortas="b-qmake-qt6">qmake</primary>
|
---|
| 1023 | </indexterm>
|
---|
| 1024 | </listitem>
|
---|
| 1025 | </varlistentry>
|
---|
| 1026 |
|
---|
[1978830] | 1027 | <varlistentry id="qml-qt6">
|
---|
[9cd2368] | 1028 | <term><command>qml</command></term>
|
---|
| 1029 | <listitem>
|
---|
| 1030 | <para>
|
---|
| 1031 | executes a QML file
|
---|
| 1032 | </para>
|
---|
[1978830] | 1033 | <indexterm zone="qt6 qml-qt6">
|
---|
| 1034 | <primary sortas="b-qml-qt6">qml</primary>
|
---|
[9cd2368] | 1035 | </indexterm>
|
---|
| 1036 | </listitem>
|
---|
| 1037 | </varlistentry>
|
---|
| 1038 |
|
---|
| 1039 | <varlistentry id="qmleasing-qt6">
|
---|
| 1040 | <term><command>qmleasing</command></term>
|
---|
| 1041 | <listitem>
|
---|
| 1042 | <para>
|
---|
| 1043 | is a tool used to define the easing curves using an
|
---|
| 1044 | interactive curve editor
|
---|
| 1045 | </para>
|
---|
| 1046 | <indexterm zone="qt6 qmleasing-qt6">
|
---|
| 1047 | <primary sortas="b-qmleasing-qt6">qmleasing</primary>
|
---|
| 1048 | </indexterm>
|
---|
| 1049 | </listitem>
|
---|
| 1050 | </varlistentry>
|
---|
| 1051 |
|
---|
| 1052 | <varlistentry id="qmlformat-qt6">
|
---|
| 1053 | <term><command>qmlformat</command></term>
|
---|
| 1054 | <listitem>
|
---|
| 1055 | <para>
|
---|
| 1056 | formats QML files according to the QML coding conventions
|
---|
| 1057 | </para>
|
---|
| 1058 | <indexterm zone="qt6 qmlformat-qt6">
|
---|
| 1059 | <primary sortas="b-qmlformat-qt6">qmlformat</primary>
|
---|
| 1060 | </indexterm>
|
---|
| 1061 | </listitem>
|
---|
| 1062 | </varlistentry>
|
---|
| 1063 |
|
---|
| 1064 | <varlistentry id="qmllint-qt6">
|
---|
| 1065 | <term><command>qmllint</command></term>
|
---|
| 1066 | <listitem>
|
---|
| 1067 | <para>
|
---|
| 1068 | is a syntax checker for QML files
|
---|
| 1069 | </para>
|
---|
| 1070 | <indexterm zone="qt6 qmllint-qt6">
|
---|
| 1071 | <primary sortas="b-qmllint-qt6">qmllint</primary>
|
---|
| 1072 | </indexterm>
|
---|
| 1073 | </listitem>
|
---|
| 1074 | </varlistentry>
|
---|
| 1075 |
|
---|
| 1076 | <varlistentry id="qmlplugindump-qt6">
|
---|
| 1077 | <term><command>qmlplugindump</command></term>
|
---|
| 1078 | <listitem>
|
---|
| 1079 | <para>
|
---|
| 1080 | is a tool to create a qmltypes file
|
---|
| 1081 | </para>
|
---|
| 1082 | <indexterm zone="qt6 qmlplugindump-qt6">
|
---|
| 1083 | <primary sortas="b-qmlplugindump-qt6">qmlplugindump</primary>
|
---|
| 1084 | </indexterm>
|
---|
| 1085 | </listitem>
|
---|
| 1086 | </varlistentry>
|
---|
| 1087 |
|
---|
| 1088 | <varlistentry id="qmlpreview-qt6">
|
---|
| 1089 | <term><command>qmlpreview</command></term>
|
---|
| 1090 | <listitem>
|
---|
| 1091 | <para>
|
---|
| 1092 | is a tool used to analyze QML applications
|
---|
| 1093 | </para>
|
---|
| 1094 | <indexterm zone="qt6 qmlpreview-qt6">
|
---|
| 1095 | <primary sortas="b-qmlpreviewr-qt6">qmlpreview</primary>
|
---|
| 1096 | </indexterm>
|
---|
| 1097 | </listitem>
|
---|
| 1098 | </varlistentry>
|
---|
| 1099 |
|
---|
| 1100 | <varlistentry id="qmlprofiler-qt6">
|
---|
| 1101 | <term><command>qmlprofiler</command></term>
|
---|
| 1102 | <listitem>
|
---|
| 1103 | <para>
|
---|
| 1104 | is a tool which watches QML and JavaScript files on disk and
|
---|
| 1105 | updates the application live with any changes
|
---|
| 1106 | </para>
|
---|
| 1107 | <indexterm zone="qt6 qmlprofiler-qt6">
|
---|
| 1108 | <primary sortas="b-qmlprofiler-qt6">qmlprofiler</primary>
|
---|
| 1109 | </indexterm>
|
---|
| 1110 | </listitem>
|
---|
| 1111 | </varlistentry>
|
---|
| 1112 |
|
---|
| 1113 | <varlistentry id="qmlscene-qt6">
|
---|
| 1114 | <term><command>qmlscene</command></term>
|
---|
| 1115 | <listitem>
|
---|
| 1116 | <para>
|
---|
| 1117 | is a utility that loads and displays QML documents even before
|
---|
| 1118 | the application is complete
|
---|
| 1119 | </para>
|
---|
| 1120 | <indexterm zone="qt6 qmlscene-qt6">
|
---|
| 1121 | <primary sortas="b-qmlscene-qt6">qmlscene</primary>
|
---|
| 1122 | </indexterm>
|
---|
| 1123 | </listitem>
|
---|
| 1124 | </varlistentry>
|
---|
| 1125 |
|
---|
| 1126 | <varlistentry id="qmltestrunner-qt6">
|
---|
| 1127 | <term><command>qmltestrunner</command></term>
|
---|
| 1128 | <listitem>
|
---|
| 1129 | <para>
|
---|
| 1130 | is a tool used to make tests
|
---|
| 1131 | </para>
|
---|
| 1132 | <indexterm zone="qt6 qmltestrunner-qt6">
|
---|
| 1133 | <primary sortas="b-qmltestrunner-qt6">qmltestrunner</primary>
|
---|
| 1134 | </indexterm>
|
---|
| 1135 | </listitem>
|
---|
| 1136 | </varlistentry>
|
---|
| 1137 |
|
---|
| 1138 | <varlistentry id="qtdiag-qt6">
|
---|
| 1139 | <term><command>qtdiag</command></term>
|
---|
| 1140 | <listitem>
|
---|
| 1141 | <para>
|
---|
| 1142 | is a tool for reporting diagnostic information about Qt and its
|
---|
| 1143 | environment
|
---|
| 1144 | </para>
|
---|
| 1145 | <indexterm zone="qt6 qtdiag-qt6">
|
---|
| 1146 | <primary sortas="b-qtdiag-qt6">qtdiag</primary>
|
---|
| 1147 | </indexterm>
|
---|
| 1148 | </listitem>
|
---|
| 1149 | </varlistentry>
|
---|
| 1150 |
|
---|
| 1151 | <varlistentry id="qtpaths-qt6">
|
---|
| 1152 | <term><command>qtpaths</command></term>
|
---|
| 1153 | <listitem>
|
---|
| 1154 | <para>
|
---|
| 1155 | is a tool to query Qt path information
|
---|
| 1156 | </para>
|
---|
| 1157 | <indexterm zone="qt6 qtpaths-qt6">
|
---|
| 1158 | <primary sortas="b-qtpaths-qt6">qtpaths</primary>
|
---|
| 1159 | </indexterm>
|
---|
| 1160 | </listitem>
|
---|
| 1161 | </varlistentry>
|
---|
| 1162 |
|
---|
[1978830] | 1163 | <varlistentry id="qtplugininfo-qt6">
|
---|
[9cd2368] | 1164 | <term><command>qtplugininfo</command></term>
|
---|
| 1165 | <listitem>
|
---|
| 1166 | <para>
|
---|
| 1167 | dumps meta-data about Qt plugins in JSON format
|
---|
| 1168 | </para>
|
---|
[1978830] | 1169 | <indexterm zone="qt6 qtplugininfo-qt6">
|
---|
| 1170 | <primary sortas="b-qtplugininfo-qt6">qtplugininfo</primary>
|
---|
[9cd2368] | 1171 | </indexterm>
|
---|
| 1172 | </listitem>
|
---|
| 1173 | </varlistentry>
|
---|
| 1174 |
|
---|
| 1175 | </variablelist>
|
---|
[1978830] | 1176 |
|
---|
[9cd2368] | 1177 | </sect2>
|
---|
| 1178 |
|
---|
| 1179 | </sect1>
|
---|