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