[104b5bf] | 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 |
|
---|
[55a55f1] | 7 | <!ENTITY qt5-major "5.12">
|
---|
[8dfc5c3] | 8 | <!ENTITY qt5-url "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
|
---|
[104b5bf] | 9 |
|
---|
[08f2ed34] | 10 | <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-src-&qt5-version;.tar.xz">
|
---|
[104b5bf] | 11 | <!ENTITY qt5-download-ftp " ">
|
---|
[55a55f1] | 12 | <!ENTITY qt5-md5sum "af569de3eb42da4457b0897e5759dc91">
|
---|
| 13 | <!ENTITY qt5-size "487 MB">
|
---|
| 14 | <!ENTITY qt5-buildsize "12 GB (260 MB installed)">
|
---|
| 15 | <!ENTITY qt5-time "31 SBU (using parallelism=4)">
|
---|
[104b5bf] | 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="qt5" xreflabel="Qt-&qt5-version;">
|
---|
| 19 | <?dbhtml filename="qt5.html" ?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
| 24 | </sect1info>
|
---|
| 25 |
|
---|
| 26 | <title>Qt-&qt5-version;</title>
|
---|
| 27 |
|
---|
| 28 | <indexterm zone="qt5">
|
---|
| 29 | <primary sortas="a-Qt">Qt</primary>
|
---|
| 30 | </indexterm>
|
---|
| 31 |
|
---|
| 32 | <sect2 role="package">
|
---|
[0173357f] | 33 | <title>Introduction to Qt5</title>
|
---|
[104b5bf] | 34 |
|
---|
| 35 | <para>
|
---|
[1b0d0188] | 36 | <application>Qt5</application> is a cross-platform application framework
|
---|
| 37 | that is widely used for developing application software with a graphical
|
---|
| 38 | user interface (GUI) (in which cases <application>Qt5</application> is
|
---|
| 39 | classified as a widget toolkit), and also used for developing non-GUI
|
---|
| 40 | programs such as command-line tools and consoles for servers. One of the
|
---|
| 41 | major users of <application>Qt</application> is <application>KDE
|
---|
| 42 | Frameworks 5 (KF5)</application>.
|
---|
[104b5bf] | 43 | </para>
|
---|
| 44 |
|
---|
[82066b8] | 45 | &lfs83_checked;
|
---|
[104b5bf] | 46 |
|
---|
| 47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing="compact">
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (HTTP): <ulink url="&qt5-download-http;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download (FTP): <ulink url="&qt5-download-ftp;"/>
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download MD5 sum: &qt5-md5sum;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Download size: &qt5-size;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated disk space required: &qt5-buildsize;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Estimated build time: &qt5-time;
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[94486d9c] | 80 | <!--
|
---|
[6c21b63d] | 81 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 82 | <itemizedlist spacing='compact'>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>Required Patch: <ulink
|
---|
[d46fc5b] | 85 | url="&patch-root;/qt-&qt5-version;-glibc228-1.patch"/></para>
|
---|
[6c21b63d] | 86 | </listitem>
|
---|
| 87 | </itemizedlist>
|
---|
[94486d9c] | 88 | -->
|
---|
[0173357f] | 89 | <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
|
---|
[104b5bf] | 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 92 | <para role="required">
|
---|
[3686a25] | 93 | <xref linkend="xorg7-lib"/>
|
---|
[104b5bf] | 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 97 | <para role="recommended">
|
---|
[9a6cd410] | 98 | <xref linkend="alsa-lib"/>,
|
---|
[2198a32] | 99 | <xref linkend="make-ca"/>,
|
---|
[104b5bf] | 100 | <xref linkend="cups"/>,
|
---|
| 101 | <xref linkend="glib2"/>,
|
---|
[272858d] | 102 | <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
|
---|
[7830c481] | 103 | <xref linkend="harfbuzz"/>,
|
---|
[272858d] | 104 | <xref linkend="icu"/>,
|
---|
[d3ad2113] | 105 | <xref linkend="jasper"/>,
|
---|
[104b5bf] | 106 | <xref linkend="libjpeg"/>,
|
---|
[834937d] | 107 | <xref linkend="libmng"/>,
|
---|
[104b5bf] | 108 | <xref linkend="libpng"/>,
|
---|
| 109 | <xref linkend="libtiff"/>,
|
---|
[39e41cb2] | 110 | <xref linkend="libxkbcommon"/>,
|
---|
[7a395d1] | 111 | <xref linkend="mesa"/>,
|
---|
[79904cf] | 112 | <xref linkend="mtdev"/>,
|
---|
[9e37252] | 113 | <xref linkend="pcre2"/>,
|
---|
[9a6cd410] | 114 | <xref linkend="sqlite"/>,
|
---|
[272858d] | 115 | <xref linkend="wayland"/> (<application>Mesa</application>
|
---|
| 116 | must be built with <application>Wayland</application> EGL
|
---|
| 117 | backend),
|
---|
[9a6cd410] | 118 | <xref linkend="xcb-util-image"/>,
|
---|
| 119 | <xref linkend="xcb-util-keysyms"/>,
|
---|
| 120 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
| 121 | <xref linkend="xcb-util-wm"/>
|
---|
[104b5bf] | 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 125 | <para role="optional">
|
---|
[55a55f1] | 126 | <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
|
---|
| 127 | QtConnectivity module),
|
---|
[7b1bc743] | 128 | <xref linkend="ibus"/>,
|
---|
[272858d] | 129 | <xref linkend="libinput"/>, <!-- needs -libinput switch -->
|
---|
[5e0662d] | 130 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[93dde853] | 131 | <xref linkend="pciutils"/> (required for QtWebEngine),
|
---|
[104b5bf] | 132 | <xref linkend="postgresql"/>,
|
---|
[98c79da] | 133 | <xref linkend="pulseaudio"/>,
|
---|
[7b1bc743] | 134 | <xref linkend="unixodbc"/>, and
|
---|
[cbd8ed8] | 135 | <ulink url="http://www.firebirdsql.org/">Firebird</ulink>
|
---|
[0173357f] | 136 | </para>
|
---|
| 137 |
|
---|
[104b5bf] | 138 | <para condition="html" role="usernotes">User Notes:
|
---|
| 139 | <ulink url="&blfs-wiki;/qt5"/>
|
---|
| 140 | </para>
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
[0dd2bc6] | 143 | <sect2 role="qt5-prefix">
|
---|
| 144 | <title>Setting the installation prefix</title>
|
---|
| 145 |
|
---|
| 146 | <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
[1b0d0188] | 149 | The BLFS editors recommend installing <application>Qt5</application> in a
|
---|
| 150 | directory other than <filename class="directory">/usr</filename>, ie
|
---|
[f3429309] | 151 | <filename class="directory">/opt/qt5</filename>. To do this, set the
|
---|
[1b0d0188] | 152 | following environment variable:
|
---|
[0dd2bc6] | 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <screen><userinput>export QT5PREFIX=/opt/qt5</userinput></screen>
|
---|
| 156 |
|
---|
| 157 | <tip>
|
---|
| 158 | <para>
|
---|
| 159 | Sometimes, the installation paths are hardcoded into installed files.
|
---|
| 160 | This is the reason why <filename class="directory">/opt/qt5</filename>
|
---|
| 161 | is used as installation prefix instead of <filename
|
---|
| 162 | class="directory">/opt/qt-&qt5-version;</filename>. To create a
|
---|
| 163 | versioned <application>Qt5</application> directory, you may rename
|
---|
| 164 | the directory and create a symlink:
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <screen role="root"><userinput>mkdir /opt/qt-&qt5-version;
|
---|
| 168 | ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
|
---|
| 169 |
|
---|
| 170 | <para>
|
---|
| 171 | Later on, you may want to install other versions of
|
---|
[1b0d0188] | 172 | <application>Qt5</application>. To do that, just remove the symlink
|
---|
[0dd2bc6] | 173 | and use <filename class="directory">/opt/qt5</filename> as the
|
---|
| 174 | prefix again. Which version of <application>Qt5</application> you
|
---|
| 175 | use depends only on where the symlink points.
|
---|
| 176 | </para>
|
---|
| 177 | </tip>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
[104b5bf] | 181 | <sect2 role="installation">
|
---|
[0173357f] | 182 | <title>Installation of Qt5</title>
|
---|
[104b5bf] | 183 |
|
---|
[fb28b3b] | 184 | <warning>
|
---|
| 185 | <para>
|
---|
[cb48da2] | 186 | If <application>Qt5</application> is being reinstalled into the
|
---|
[775fbafd] | 187 | same directory as an existing instance, run the commands done by
|
---|
| 188 | <systemitem class="username">root</systemitem>, such as
|
---|
[cb48da2] | 189 | <command>make install</command>, from a console or non-Qt5 based
|
---|
| 190 | window manager. It overwrites <application>Qt5</application>
|
---|
[775fbafd] | 191 | libraries that should not be in use during the install process.
|
---|
[fb28b3b] | 192 | </para>
|
---|
[104b5bf] | 193 | </warning>
|
---|
[adf64fa0] | 194 |
|
---|
[1b0d0188] | 195 | <caution>
|
---|
| 196 | <para>
|
---|
| 197 | If you did not install some of the recommended dependencies, examine
|
---|
| 198 | <command>./configure --help</command> output to check how to disable
|
---|
| 199 | them or use internal versions bundled in the source tarball.
|
---|
| 200 | </para>
|
---|
| 201 | </caution>
|
---|
[94486d9c] | 202 | <!--
|
---|
[6c21b63d] | 203 | <para>
|
---|
| 204 | If your system is using glibc-2.28, apply the patch to exclude certain
|
---|
| 205 | system headers and to avoid redefining two functions which are now in
|
---|
| 206 | glibc :
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
[82066b8] | 209 | <screen><userinput>patch -Np1 -i ../qt-&qt5-version;-glibc228-1.patch</userinput></screen>
|
---|
[94486d9c] | 210 | -->
|
---|
[1b0d0188] | 211 | <note>
|
---|
| 212 | <para>
|
---|
| 213 | The build time and space required for the full
|
---|
| 214 | <application>Qt5</application> is quite long. The instructions below
|
---|
| 215 | do not build the tutorials and examples. Removing the
|
---|
| 216 | <parameter>-nomake</parameter> line will create a complete build.
|
---|
| 217 | </para>
|
---|
| 218 | </note>
|
---|
| 219 |
|
---|
| 220 | <note>
|
---|
| 221 | <para>
|
---|
| 222 | The BLFS editors do not recommend installing <application>Qt5</application>
|
---|
| 223 | into the /usr hierarchy because it becomes difficult to find
|
---|
| 224 | components and to update to a new version. If you do want to install
|
---|
| 225 | <application>Qt5</application> in /usr, the directories need to
|
---|
| 226 | be specified explicitly. In this case, set QT5PREFIX=/usr and add
|
---|
[bc1fb5d] | 227 | the following to the configure arguments below:
|
---|
| 228 | </para>
|
---|
[1b0d0188] | 229 |
|
---|
[a4f37269] | 230 | <screen role="nodump"><userinput> -archdatadir /usr/lib/qt5 \
|
---|
[1509ba46] | 231 | -bindir /usr/bin \
|
---|
[a4f37269] | 232 | -plugindir /usr/lib/qt5/plugins \
|
---|
| 233 | -importdir /usr/lib/qt5/imports \
|
---|
| 234 | -headerdir /usr/include/qt5 \
|
---|
| 235 | -datadir /usr/share/qt5 \
|
---|
| 236 | -docdir /usr/share/doc/qt5 \
|
---|
| 237 | -translationdir /usr/share/qt5/translations \
|
---|
| 238 | -examplesdir /usr/share/doc/qt5/examples</userinput></screen>
|
---|
[1b0d0188] | 239 | </note>
|
---|
| 240 |
|
---|
[fec0d01] | 241 | <!-- Not needed with mariadb-10.2.8, but a symlink for mysql_version.h
|
---|
| 242 | on the mariadb page, is needed.
|
---|
| 243 |
|
---|
[f20fbb7] | 244 | <para>
|
---|
| 245 | If you have <xref linkend="mariadb"/> installed, fix a build issue with
|
---|
| 246 | with <application>MySQL</application> compatibility:
|
---|
| 247 | </para>
|
---|
| 248 |
|
---|
| 249 | <screen><userinput>sed '/qsqlresult_p.h>/a#include <mysql/mysql_version.h>' \
|
---|
| 250 | -i qtbase/src/plugins/sqldrivers/mysql/qsql_mysql.cpp</userinput></screen>
|
---|
[fec0d01] | 251 | -->
|
---|
[f20fbb7] | 252 |
|
---|
[104b5bf] | 253 | <para>
|
---|
[1b0d0188] | 254 | Install <application>Qt5</application> by running the following commands:
|
---|
[104b5bf] | 255 | </para>
|
---|
| 256 |
|
---|
[08f2ed34] | 257 | <screen><userinput>./configure -prefix $QT5PREFIX \
|
---|
[a4f37269] | 258 | -sysconfdir /etc/xdg \
|
---|
| 259 | -confirm-license \
|
---|
| 260 | -opensource \
|
---|
| 261 | -dbus-linked \
|
---|
| 262 | -openssl-linked \
|
---|
| 263 | -system-harfbuzz \
|
---|
| 264 | -system-sqlite \
|
---|
| 265 | -nomake examples \
|
---|
| 266 | -no-rpath \
|
---|
| 267 | -skip qtwebengine &&
|
---|
[104b5bf] | 268 | make</userinput></screen>
|
---|
| 269 |
|
---|
[ec7940be] | 270 | <para>
|
---|
| 271 | This package does not come with a test suite.
|
---|
| 272 | </para>
|
---|
| 273 |
|
---|
[104b5bf] | 274 | <para>
|
---|
[1b0d0188] | 275 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[104b5bf] | 276 | </para>
|
---|
| 277 |
|
---|
[1b0d0188] | 278 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[0c9592da] | 279 |
|
---|
[104b5bf] | 280 | <para>
|
---|
[21c0f032] | 281 | Remove references to the build directory from installed library
|
---|
[640f4c21] | 282 | dependency (prl) <!--and profile include (pri)--> files by running the following
|
---|
| 283 | command as the <systemitem class="username">root</systemitem> user:
|
---|
[104b5bf] | 284 | </para>
|
---|
| 285 |
|
---|
[640f4c21] | 286 | <screen role="root"><userinput>find $QT5PREFIX/ -name \*.prl \
|
---|
[21c0f032] | 287 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
[104b5bf] | 288 |
|
---|
[ec7940be] | 289 | <para>
|
---|
[1b0d0188] | 290 | Install images and create the menu entries for installed applications.
|
---|
[e9cdbc56] | 291 | The <envar>QT5BINDIR</envar> variable is used here to point to the
|
---|
[1b0d0188] | 292 | directory for the executable programs. If you have changed the bindir
|
---|
[e9cdbc56] | 293 | above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
|
---|
[1b0d0188] | 294 | that the <envar>QT5BINDIR</envar> variable is defined in root's
|
---|
| 295 | environment and as the <systemitem class="username">root</systemitem>
|
---|
| 296 | user:
|
---|
[ec7940be] | 297 | </para>
|
---|
| 298 |
|
---|
[1b0d0188] | 299 | <screen role="root"><userinput>QT5BINDIR=$QT5PREFIX/bin
|
---|
| 300 |
|
---|
| 301 | install -v -dm755 /usr/share/pixmaps/ &&
|
---|
[ec7940be] | 302 |
|
---|
| 303 | install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
|
---|
| 304 | /usr/share/pixmaps/assistant-qt5.png &&
|
---|
| 305 |
|
---|
| 306 | install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
|
---|
| 307 | /usr/share/pixmaps/designer-qt5.png &&
|
---|
| 308 |
|
---|
| 309 | install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
|
---|
| 310 | /usr/share/pixmaps/linguist-qt5.png &&
|
---|
| 311 |
|
---|
| 312 | install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
---|
| 313 | /usr/share/pixmaps/qdbusviewer-qt5.png &&
|
---|
| 314 |
|
---|
| 315 | install -dm755 /usr/share/applications &&
|
---|
| 316 |
|
---|
| 317 | cat > /usr/share/applications/assistant-qt5.desktop << EOF
|
---|
| 318 | <literal>[Desktop Entry]
|
---|
[f3429309] | 319 | Name=Qt5 Assistant
|
---|
[ec7940be] | 320 | Comment=Shows Qt5 documentation and examples
|
---|
[1b0d0188] | 321 | Exec=$QT5BINDIR/assistant
|
---|
[ec7940be] | 322 | Icon=assistant-qt5.png
|
---|
| 323 | Terminal=false
|
---|
| 324 | Encoding=UTF-8
|
---|
| 325 | Type=Application
|
---|
| 326 | Categories=Qt;Development;Documentation;</literal>
|
---|
| 327 | EOF
|
---|
| 328 |
|
---|
| 329 | cat > /usr/share/applications/designer-qt5.desktop << EOF
|
---|
| 330 | <literal>[Desktop Entry]
|
---|
| 331 | Name=Qt5 Designer
|
---|
| 332 | GenericName=Interface Designer
|
---|
| 333 | Comment=Design GUIs for Qt5 applications
|
---|
[1b0d0188] | 334 | Exec=$QT5BINDIR/designer
|
---|
[ec7940be] | 335 | Icon=designer-qt5.png
|
---|
| 336 | MimeType=application/x-designer;
|
---|
| 337 | Terminal=false
|
---|
| 338 | Encoding=UTF-8
|
---|
| 339 | Type=Application
|
---|
| 340 | Categories=Qt;Development;</literal>
|
---|
| 341 | EOF
|
---|
| 342 |
|
---|
| 343 | cat > /usr/share/applications/linguist-qt5.desktop << EOF
|
---|
| 344 | <literal>[Desktop Entry]
|
---|
| 345 | Name=Qt5 Linguist
|
---|
| 346 | Comment=Add translations to Qt5 applications
|
---|
[e9cdbc56] | 347 | Exec=$QT5BINDIR/linguist
|
---|
[ec7940be] | 348 | Icon=linguist-qt5.png
|
---|
| 349 | MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
---|
| 350 | Terminal=false
|
---|
| 351 | Encoding=UTF-8
|
---|
| 352 | Type=Application
|
---|
| 353 | Categories=Qt;Development;</literal>
|
---|
| 354 | EOF
|
---|
| 355 |
|
---|
| 356 | cat > /usr/share/applications/qdbusviewer-qt5.desktop << EOF
|
---|
| 357 | <literal>[Desktop Entry]
|
---|
[f3429309] | 358 | Name=Qt5 QDbusViewer
|
---|
[ec7940be] | 359 | GenericName=D-Bus Debugger
|
---|
| 360 | Comment=Debug D-Bus applications
|
---|
[1b0d0188] | 361 | Exec=$QT5BINDIR/qdbusviewer
|
---|
[ec7940be] | 362 | Icon=qdbusviewer-qt5.png
|
---|
| 363 | Terminal=false
|
---|
| 364 | Encoding=UTF-8
|
---|
| 365 | Type=Application
|
---|
| 366 | Categories=Qt;Development;Debugger;</literal>
|
---|
| 367 | EOF</userinput></screen>
|
---|
[74d76938] | 368 |
|
---|
[05060e13] | 369 | <para>
|
---|
| 370 | Some packages such as <xref linkend='vlc'/> look for certain
|
---|
| 371 | executables with a -qt5 suffix. Run the following command as the
|
---|
| 372 | <systemitem class="username">root</systemitem> user
|
---|
| 373 | to create the necessary symlinks:
|
---|
| 374 | </para>
|
---|
[1b0d0188] | 375 |
|
---|
| 376 | <screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
|
---|
| 377 | ln -sfrvn $QT5BINDIR/$file /usr/bin/$file-qt5
|
---|
| 378 | done</userinput></screen>
|
---|
| 379 |
|
---|
[74d76938] | 380 | </sect2>
|
---|
| 381 |
|
---|
[104b5bf] | 382 | <sect2 role="commands">
|
---|
| 383 | <title>Command Explanations</title>
|
---|
| 384 |
|
---|
| 385 | <para>
|
---|
| 386 | <parameter>-confirm-license</parameter>: Accept license
|
---|
| 387 | without prompting user during configuration.
|
---|
| 388 | </para>
|
---|
| 389 |
|
---|
| 390 | <para>
|
---|
| 391 | <parameter>-opensource</parameter>: Install the opensource
|
---|
| 392 | version of <application>Qt</application>.
|
---|
| 393 | </para>
|
---|
| 394 |
|
---|
| 395 | <para>
|
---|
[c32e0380] | 396 | <parameter>-nomake examples</parameter>: This switch
|
---|
| 397 | disables building of the example programs included
|
---|
| 398 | in the source tarball. Remove it if you want to build
|
---|
| 399 | them.
|
---|
[104b5bf] | 400 | </para>
|
---|
| 401 |
|
---|
| 402 | <para>
|
---|
| 403 | <parameter>-system-sqlite</parameter>: This switch enables use
|
---|
[f3a6abc9] | 404 | of the system version of <application>SQLite</application>.
|
---|
[104b5bf] | 405 | </para>
|
---|
| 406 |
|
---|
| 407 | <para>
|
---|
[05dcb8af] | 408 | <parameter>-dbus-linked -openssl-linked</parameter>: These
|
---|
[104b5bf] | 409 | switches enable explicit linking of the
|
---|
| 410 | <application>D-Bus</application> and
|
---|
| 411 | <application>OpenSSL</application> libraries into
|
---|
[0173357f] | 412 | <application>Qt5</application> libraries instead of
|
---|
[104b5bf] | 413 | <command>dlopen()</command>-ing them.
|
---|
| 414 | </para>
|
---|
| 415 |
|
---|
[47e6b60] | 416 | <para>
|
---|
[725bec7f] | 417 | <parameter>-skip qtwebengine</parameter>: This switch disables building
|
---|
[ceb3dc7] | 418 | the QtWebEngine. The BLFS editors have chosen to build <xref
|
---|
| 419 | linkend="qtwebengine"/> separately.
|
---|
[47e6b60] | 420 | </para>
|
---|
| 421 |
|
---|
[17bbaea] | 422 | <para>
|
---|
[7830c481] | 423 | <parameter>-system-harfbuzz</parameter>: This switch enables use
|
---|
[55a55f1] | 424 | of the system version of <application>Harfbuzz</application>.
|
---|
[17bbaea] | 425 | </para>
|
---|
| 426 |
|
---|
[104b5bf] | 427 | </sect2>
|
---|
| 428 |
|
---|
| 429 | <sect2 role="configuration">
|
---|
[0173357f] | 430 | <title>Configuring Qt5</title>
|
---|
[104b5bf] | 431 |
|
---|
| 432 | <sect3 id="qt5-config">
|
---|
| 433 | <title>Configuration Information</title>
|
---|
| 434 |
|
---|
[0173357f] | 435 | <para>
|
---|
| 436 | If you installed <application>Qt5</application> in
|
---|
| 437 | <filename class="directory">/usr</filename>, create an
|
---|
| 438 | environment variable needed by certain packages.
|
---|
| 439 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 440 | </para>
|
---|
| 441 |
|
---|
[b54f1de7] | 442 | <screen role="root"><userinput>cat > /etc/profile.d/qt5.sh << "EOF"
|
---|
[0173357f] | 443 | <literal># Begin /etc/profile.d/qt5.sh
|
---|
| 444 |
|
---|
[49d3336] | 445 | QT5DIR=/usr
|
---|
[0173357f] | 446 | export QT5DIR
|
---|
[1509ba46] | 447 | pathappend $QT5DIR/bin
|
---|
[0173357f] | 448 |
|
---|
| 449 | # End /etc/profile.d/qt5.sh</literal>
|
---|
[77b64bd] | 450 | EOF</userinput></screen>
|
---|
| 451 |
|
---|
| 452 | <para>
|
---|
| 453 | If <xref linkend="sudo"/> is installed, QT5DIR should be available to
|
---|
| 454 | the super user as well. Execute the following commands as the
|
---|
| 455 | <systemitem class="username">root</systemitem> user:
|
---|
| 456 | </para>
|
---|
| 457 |
|
---|
| 458 | <screen role="root"><userinput>cat > /etc/sudoers.d/qt << "EOF"
|
---|
| 459 | <literal>Defaults env_keep += QT5DIR</literal>
|
---|
[0173357f] | 460 | EOF</userinput></screen>
|
---|
| 461 |
|
---|
| 462 | <para>
|
---|
| 463 | If you installed <application>Qt5</application> in a location other
|
---|
| 464 | than <filename class="directory">/usr</filename>, you need to update the
|
---|
| 465 | following configuration files so that <application>Qt5</application> is
|
---|
| 466 | correctly found by other packages and system processes.
|
---|
| 467 | </para>
|
---|
| 468 |
|
---|
| 469 | <para>
|
---|
| 470 | As the <systemitem class="username">root</systemitem> user, update
|
---|
| 471 | the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
|
---|
| 472 | run-time cache file:
|
---|
| 473 | </para>
|
---|
| 474 |
|
---|
| 475 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
| 476 | <literal># Begin Qt addition
|
---|
| 477 |
|
---|
| 478 | /opt/qt5/lib
|
---|
| 479 |
|
---|
| 480 | # End Qt addition</literal>
|
---|
| 481 | EOF
|
---|
| 482 |
|
---|
| 483 | ldconfig</userinput></screen>
|
---|
| 484 |
|
---|
| 485 | <indexterm zone="qt5 qt5-config">
|
---|
| 486 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 487 | </indexterm>
|
---|
| 488 |
|
---|
| 489 | <para>
|
---|
| 490 | As the <systemitem class="username">root</systemitem> user, create
|
---|
| 491 | the <filename>/etc/profile.d/qt5.sh</filename> file:
|
---|
| 492 | </para>
|
---|
| 493 |
|
---|
[57a6033] | 494 | <screen role="root"><userinput>cat > /etc/profile.d/qt5.sh << "EOF"
|
---|
[0173357f] | 495 | <literal># Begin /etc/profile.d/qt5.sh
|
---|
| 496 |
|
---|
| 497 | QT5DIR=/opt/qt5
|
---|
| 498 |
|
---|
[1b0d0188] | 499 | pathappend $QT5DIR/bin PATH
|
---|
| 500 | pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
|
---|
[0173357f] | 501 |
|
---|
| 502 | export QT5DIR
|
---|
| 503 |
|
---|
| 504 | # End /etc/profile.d/qt5.sh</literal>
|
---|
| 505 | EOF</userinput></screen>
|
---|
| 506 |
|
---|
[104b5bf] | 507 | </sect3>
|
---|
[c1b95d9] | 508 |
|
---|
[104b5bf] | 509 | </sect2>
|
---|
| 510 |
|
---|
| 511 | <sect2 role="content">
|
---|
| 512 | <title>Contents</title>
|
---|
| 513 |
|
---|
| 514 | <segmentedlist>
|
---|
| 515 | <segtitle>Installed Programs</segtitle>
|
---|
| 516 | <segtitle>Installed Libraries</segtitle>
|
---|
| 517 | <segtitle>Installed Directories</segtitle>
|
---|
| 518 |
|
---|
| 519 | <seglistitem>
|
---|
| 520 | <seg>
|
---|
[eb055fdf] | 521 | assistant, canbusutil, designer, fixqt4headers.pl, lconvert, linguist,
|
---|
| 522 | lrelease, lupdate, moc, pixeltool, qdbuscpp2xml, qdbus, qdbusviewer,
|
---|
[55a55f1] | 523 | qdbusxml2cpp, qdoc, qdistancefieldgenerator, qgltf, qhelpgenerator,
|
---|
| 524 | qlalr, qmake, gmlcachegen,
|
---|
[eb055fdf] | 525 | qmleasing, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
|
---|
[55a55f1] | 526 | qmlpreview, qmlprofiler, qml, qmlscene, qmltestrunner, qtdiag, qtpaths,
|
---|
| 527 | qtplugininfo, qtwaylandscanner,qvkgen, rcc, sdpscanner, syncqt.pl, uic,
|
---|
[eb055fdf] | 528 | xmlpatterns, and xmlpatternsvalidator
|
---|
[104b5bf] | 529 | </seg>
|
---|
| 530 | <seg>
|
---|
[d1c65513] | 531 | libQt5AccessibilitySupport.a, libQt53DAnimation.so, libQt53DCore.so,
|
---|
| 532 | libQt53DExtras.so, libQt53DInput.so, libQt53DLogic.so,
|
---|
| 533 | libQt53DQuick.so, libQt53DQuickAnimation.so, libQt53DQuickExtras.so,
|
---|
| 534 | libQt53DQuickInput.so, libQt53DQuickRender.so,
|
---|
| 535 | libQt53DQuickScene2D.so, libQt53DRender.so, libQt5Bluetooth.so,
|
---|
| 536 | libQt5Bootstrap.a, libQt53DCharts.so, libQt5Concurrent.so,
|
---|
| 537 | libQt5Core.so, libQt5DataVisualization.so, libQt5DBus.so,
|
---|
| 538 | libQt5Declarative.so, libQt5DesignerComponents.so, libQt5Designer.so,
|
---|
| 539 | libQt5DeviceDiscoverySupport.a, libQt5EdidSupport.a,
|
---|
| 540 | libQt5EglFSDeviceIntegration.so, libQt5EglFsKmsSupport.so,
|
---|
| 541 | libQt5EglSupport.a, libQt5EventDispatcher.a, libQt5FbSupport.a,
|
---|
| 542 | libQt5FontDatabaseSupport.a, libQt5Gamepad.so, libQt5Glx.a,
|
---|
| 543 | libQt5Gui.so,libQt5Help.so, libQt5InputSupport.a,
|
---|
| 544 | libQt5LinuxAccessibilitySupport.a, libQt5Location.so,
|
---|
| 545 | libQt5Multimedia.so, libQt5MultimediaQuick.so,
|
---|
| 546 | libQt5MultimediaGstTools.so, libQt5MultimediaWidgets.so,
|
---|
| 547 | libQt5Network.so, libQt5NetworkAuth.so, libQt5Nfc.so,
|
---|
| 548 | libQt5OpenGLExtensions.a, libQt5OpenGL.so, libQt5PacketProtocol.a,
|
---|
| 549 | libQt5PlatformCompositiorSupport.a, libQt5Positioning.so,
|
---|
| 550 | libQt5PosiutioningQuick.so, libQt5PrintSupport.so,
|
---|
| 551 | libQt5Purchasing.so, libQt5QmlDebug.s, libQt5QmlDevTools.a,
|
---|
| 552 | libQt5Qml.so, libQt5QuickControls.so, libQt5QuickParticles.so,
|
---|
[98c79da] | 553 | libQt5Quick.so, libQt5QuickTest.so, libQt5QuickWidgets.so,
|
---|
[d1c65513] | 554 | libQt5RemoteObjects.so, libQt5Script.so, libQt5ScriptTools.so,
|
---|
| 555 | libQt5Scxml.so, libQt5Sensors.so, libQt5SerialBus.so,
|
---|
| 556 | libQt5SerialPort.so, libQt5ServiceSupport.a, libQt5Sql.so,
|
---|
| 557 | libQt5Svg.so, libQt5Test.so, libQt5TextToSpeech.so,
|
---|
[55a55f1] | 558 | libQt5ThemeSupport.a, libQt5UiTools.a, libQt5VirtualKeyboard.so,
|
---|
| 559 | libQt5WaylandClient.so, libQt5WaylandCompositor.so, libQt5WebChannel.so,
|
---|
[d1c65513] | 560 | libQt5WebSockets.so, libQt5WebView.so, libQt5Widgets.so,
|
---|
| 561 | libQt5X11Extras.so, libQt5XmlPatterns.so libQt5XcbOpa.so,
|
---|
| 562 | libQt5Xml.so, and several plugins under /opt/qt5/{plugins,qml}
|
---|
[104b5bf] | 563 | </seg>
|
---|
| 564 | <seg>
|
---|
| 565 | /usr/include/qt5,
|
---|
| 566 | /usr/lib/qt5,
|
---|
[fb28b3b] | 567 | /usr/share/doc/qt5, and
|
---|
[104b5bf] | 568 | /usr/share/qt5
|
---|
[ec7940be] | 569 | OR
|
---|
[43bb741] | 570 | /opt/qt5 and
|
---|
[ec7940be] | 571 | /opt/qt-&qt5-version;
|
---|
[104b5bf] | 572 | </seg>
|
---|
| 573 | </seglistitem>
|
---|
| 574 | </segmentedlist>
|
---|
| 575 |
|
---|
| 576 | <variablelist>
|
---|
| 577 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 578 | <?dbfo list-presentation="list"?>
|
---|
| 579 | <?dbhtml list-presentation="table"?>
|
---|
| 580 |
|
---|
| 581 | <varlistentry id="assistant-qt5">
|
---|
[ec7940be] | 582 | <term><command>assistant</command></term>
|
---|
[104b5bf] | 583 | <listitem>
|
---|
| 584 | <para>
|
---|
| 585 | is a tool for presenting on-line documentation.
|
---|
| 586 | </para>
|
---|
| 587 | <indexterm zone="qt5 assistant-qt5">
|
---|
[ec7940be] | 588 | <primary sortas="b-assistant-qt5">assistant</primary>
|
---|
[104b5bf] | 589 | </indexterm>
|
---|
| 590 | </listitem>
|
---|
| 591 | </varlistentry>
|
---|
| 592 |
|
---|
[eb055fdf] | 593 | <varlistentry id="canbusutil">
|
---|
| 594 | <term><command>canbustil</command></term>
|
---|
| 595 | <listitem>
|
---|
| 596 | <para>
|
---|
| 597 | is a tool to deal with arbitrary CAN bus frames.
|
---|
| 598 | A Controller Area Network (CAN) is a vehicle bus standard designed
|
---|
| 599 | to allow microcontrollers and devices to communicate with each other
|
---|
| 600 | in applications without a host computer.
|
---|
| 601 | </para>
|
---|
| 602 | <indexterm zone="qt5 canbusutil">
|
---|
| 603 | <primary sortas="b-canbusutil">canbusutil</primary>
|
---|
| 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
[104b5bf] | 608 | <varlistentry id="designer-qt5">
|
---|
[ec7940be] | 609 | <term><command>designer</command></term>
|
---|
[104b5bf] | 610 | <listitem>
|
---|
| 611 | <para>
|
---|
| 612 | is a full-fledged GUI builder. It includes
|
---|
| 613 | powerful features such as preview mode, automatic widget
|
---|
| 614 | layout, support for custom widgets, and an advanced
|
---|
| 615 | property editor.
|
---|
| 616 | </para>
|
---|
| 617 | <indexterm zone="qt5 designer-qt5">
|
---|
[ec7940be] | 618 | <primary sortas="b-designer-qt5">designer</primary>
|
---|
[104b5bf] | 619 | </indexterm>
|
---|
| 620 | </listitem>
|
---|
| 621 | </varlistentry>
|
---|
| 622 |
|
---|
[eb055fdf] | 623 | <varlistentry id="fixqt4headers.pl">
|
---|
| 624 | <term><command>fixqt4headers.pl</command></term>
|
---|
| 625 | <listitem>
|
---|
| 626 | <para>
|
---|
| 627 | is a script replace all Qt 4 style includes with Qt 5 includes.
|
---|
| 628 | </para>
|
---|
| 629 | <indexterm zone="qt5 fixqt4headers.pl">
|
---|
| 630 | <primary sortas="b-fixqt4headers.pl">fixqt4headers.pl</primary>
|
---|
| 631 | </indexterm>
|
---|
| 632 | </listitem>
|
---|
| 633 | </varlistentry>
|
---|
| 634 |
|
---|
[3b17049] | 635 | <varlistentry id="lconvert-qt5">
|
---|
| 636 | <term><command>lconvert</command></term>
|
---|
| 637 | <listitem>
|
---|
| 638 | <para>
|
---|
| 639 | is part of Qt5's Linguist tool chain. It can be used as a
|
---|
| 640 | standalone tool to convert and filter translation data files.
|
---|
| 641 | </para>
|
---|
| 642 | <indexterm zone="qt5 lconvert-qt5">
|
---|
| 643 | <primary sortas="b-lconvert-qt5">lconvert</primary>
|
---|
| 644 | </indexterm>
|
---|
| 645 | </listitem>
|
---|
| 646 | </varlistentry>
|
---|
| 647 |
|
---|
[104b5bf] | 648 | <varlistentry id="linguist-qt5">
|
---|
[ec7940be] | 649 | <term><command>linguist</command></term>
|
---|
[104b5bf] | 650 | <listitem>
|
---|
| 651 | <para>
|
---|
| 652 | provides support for translating applications into
|
---|
| 653 | local languages.
|
---|
| 654 | </para>
|
---|
| 655 | <indexterm zone="qt5 linguist-qt5">
|
---|
[ec7940be] | 656 | <primary sortas="b-linguist-qt5">linguist</primary>
|
---|
[104b5bf] | 657 | </indexterm>
|
---|
| 658 | </listitem>
|
---|
| 659 | </varlistentry>
|
---|
| 660 |
|
---|
| 661 | <varlistentry id="lrelease-qt5">
|
---|
[ec7940be] | 662 | <term><command>lrelease</command></term>
|
---|
[104b5bf] | 663 | <listitem>
|
---|
| 664 | <para>
|
---|
| 665 | is a simple command line tool. It reads a Qt project
|
---|
| 666 | file and produces message files used by the application.
|
---|
| 667 | </para>
|
---|
| 668 | <indexterm zone="qt5 lrelease-qt5">
|
---|
[ec7940be] | 669 | <primary sortas="b-lrelease-qt5">lrelease</primary>
|
---|
[104b5bf] | 670 | </indexterm>
|
---|
| 671 | </listitem>
|
---|
| 672 | </varlistentry>
|
---|
| 673 |
|
---|
| 674 | <varlistentry id="lupdate-qt5">
|
---|
[ec7940be] | 675 | <term><command>lupdate</command></term>
|
---|
[104b5bf] | 676 | <listitem>
|
---|
| 677 | <para>
|
---|
| 678 | reads a Qt project file, finds the translatable
|
---|
| 679 | strings in the specified source, header and Qt Designer
|
---|
| 680 | interface files, and produces or updates the translation
|
---|
| 681 | files listed in the project file.
|
---|
| 682 | </para>
|
---|
| 683 | <indexterm zone="qt5 lupdate-qt5">
|
---|
[ec7940be] | 684 | <primary sortas="b-lupdate-qt5">lupdate</primary>
|
---|
[104b5bf] | 685 | </indexterm>
|
---|
| 686 | </listitem>
|
---|
| 687 | </varlistentry>
|
---|
| 688 |
|
---|
| 689 | <varlistentry id="moc-qt5">
|
---|
[ec7940be] | 690 | <term><command>moc</command></term>
|
---|
[104b5bf] | 691 | <listitem>
|
---|
| 692 | <para>
|
---|
| 693 | generates Qt meta object support code.
|
---|
| 694 | </para>
|
---|
| 695 | <indexterm zone="qt5 moc-qt5">
|
---|
[ec7940be] | 696 | <primary sortas="b-moc-qt5">moc</primary>
|
---|
[104b5bf] | 697 | </indexterm>
|
---|
| 698 | </listitem>
|
---|
| 699 | </varlistentry>
|
---|
| 700 |
|
---|
| 701 | <varlistentry id="pixeltool-qt5">
|
---|
[ec7940be] | 702 | <term><command>pixeltool</command></term>
|
---|
[104b5bf] | 703 | <listitem>
|
---|
| 704 | <para>
|
---|
| 705 | is a desktop magnifier and as you move your mouse around
|
---|
| 706 | the screen it will show the magnified contents in its window.
|
---|
| 707 | </para>
|
---|
| 708 | <indexterm zone="qt5 pixeltool-qt5">
|
---|
[ec7940be] | 709 | <primary sortas="b-pixeltool-qt5">pixeltool</primary>
|
---|
[104b5bf] | 710 | </indexterm>
|
---|
| 711 | </listitem>
|
---|
| 712 | </varlistentry>
|
---|
| 713 |
|
---|
[8b9ad6e] | 714 | <varlistentry id="qdbuscpp2xml-qt5">
|
---|
| 715 | <term><command>qdbuscpp2xml</command></term>
|
---|
| 716 | <listitem>
|
---|
| 717 | <para>
|
---|
| 718 | takes a C++ source file and generates a D-Bus XML definition
|
---|
[f3429309] | 719 | of the interface.
|
---|
[8b9ad6e] | 720 | </para>
|
---|
| 721 | <indexterm zone="qt5 qdbuscpp2xml-qt5">
|
---|
| 722 | <primary sortas="b-qdbuscpp2xml-qt5">qdbuscpp2xml</primary>
|
---|
| 723 | </indexterm>
|
---|
| 724 | </listitem>
|
---|
| 725 | </varlistentry>
|
---|
| 726 |
|
---|
[3b17049] | 727 | <varlistentry id="qdbus-qt5">
|
---|
| 728 | <term><command>qdbus</command></term>
|
---|
| 729 | <listitem>
|
---|
| 730 | <para>
|
---|
| 731 | lists available services, object paths, methods, signals, and
|
---|
| 732 | properties of objects on a bus.
|
---|
| 733 | </para>
|
---|
| 734 | <indexterm zone="qt5 qdbus-qt5">
|
---|
| 735 | <primary sortas="b-qdbus-qt5">qdbus</primary>
|
---|
| 736 | </indexterm>
|
---|
| 737 | </listitem>
|
---|
| 738 | </varlistentry>
|
---|
| 739 |
|
---|
[8b9ad6e] | 740 | <varlistentry id="qdbusviewer-qt5">
|
---|
| 741 | <term><command>qdbusviewer</command></term>
|
---|
| 742 | <listitem>
|
---|
| 743 | <para>
|
---|
| 744 | is a graphical D-Bus browser.
|
---|
| 745 | </para>
|
---|
| 746 | <indexterm zone="qt5 qdbusviewer-qt5">
|
---|
| 747 | <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
|
---|
| 748 | </indexterm>
|
---|
| 749 | </listitem>
|
---|
| 750 | </varlistentry>
|
---|
| 751 |
|
---|
| 752 | <varlistentry id="qdbusxml2cpp-qt5">
|
---|
| 753 | <term><command>qdbusxml2cpp</command></term>
|
---|
| 754 | <listitem>
|
---|
| 755 | <para>
|
---|
| 756 | is a tool that can be used to parse interface descriptions
|
---|
| 757 | and produce static code representing those interfaces,
|
---|
| 758 | </para>
|
---|
| 759 | <indexterm zone="qt5 qdbusxml2cpp-qt5">
|
---|
| 760 | <primary sortas="b-qdbusxml2cpp-qt5">qdbusxml2cpp</primary>
|
---|
| 761 | </indexterm>
|
---|
| 762 | </listitem>
|
---|
| 763 | </varlistentry>
|
---|
[f3429309] | 764 |
|
---|
[8b9ad6e] | 765 | <varlistentry id="qdoc-qt5">
|
---|
| 766 | <term><command>qdoc</command></term>
|
---|
| 767 | <listitem>
|
---|
| 768 | <para>
|
---|
| 769 | is a tool used by <application>Qt</application> Developers to
|
---|
| 770 | generate documentation for software projects.
|
---|
| 771 | </para>
|
---|
| 772 | <indexterm zone="qt5 qdoc-qt5">
|
---|
| 773 | <primary sortas="b-qdoc-qt5">qdoc</primary>
|
---|
| 774 | </indexterm>
|
---|
| 775 | </listitem>
|
---|
| 776 | </varlistentry>
|
---|
| 777 |
|
---|
[55a55f1] | 778 | <varlistentry id="qdistancefieldgenerator-qt5">
|
---|
| 779 | <term><command>qdistancefieldgenerator</command></term>
|
---|
| 780 | <listitem>
|
---|
| 781 | <para>
|
---|
| 782 | allows a font cache to be pregenerated for Text.QtRendering to speed
|
---|
| 783 | up an application's startup if the user interface has a lot of text,
|
---|
| 784 | or multiple fonts, or a large amount of distinct characters, e.g. in
|
---|
| 785 | CJK writing systems.
|
---|
| 786 | </para>
|
---|
| 787 | <indexterm zone="qt5 qdistancefieldgenerator-qt5">
|
---|
| 788 | <primary sortas="b-qdistancefieldgenerator-qt5">qdistancefieldgenerator</primary>
|
---|
| 789 | </indexterm>
|
---|
| 790 | </listitem>
|
---|
| 791 | </varlistentry>
|
---|
| 792 |
|
---|
[eb055fdf] | 793 | <varlistentry id="qgltf">
|
---|
| 794 | <term><command>qgltf</command></term>
|
---|
| 795 | <listitem>
|
---|
| 796 | <para>
|
---|
| 797 | imports a a variety of 3D model formats and exports into fast-to-load,
|
---|
| 798 | optimized glTF assets embedded into Qt resource files.
|
---|
| 799 | </para>
|
---|
| 800 | <indexterm zone="qt5 qgltf">
|
---|
| 801 | <primary sortas="b-qgltf">qgltf</primary>
|
---|
| 802 | </indexterm>
|
---|
| 803 | </listitem>
|
---|
| 804 | </varlistentry>
|
---|
| 805 |
|
---|
[8b9ad6e] | 806 | <varlistentry id="qhelpgenerator-qt5">
|
---|
| 807 | <term><command>qhelpgenerator</command></term>
|
---|
| 808 | <listitem>
|
---|
| 809 | <para>
|
---|
| 810 | is a tool used to generate a <application>Qt</application>
|
---|
[f3429309] | 811 | compressed help file.
|
---|
[8b9ad6e] | 812 | </para>
|
---|
| 813 | <indexterm zone="qt5 qhelpgenerator-qt5">
|
---|
| 814 | <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
|
---|
| 815 | </indexterm>
|
---|
| 816 | </listitem>
|
---|
| 817 | </varlistentry>
|
---|
| 818 |
|
---|
| 819 | <varlistentry id="qlalr-qt5">
|
---|
| 820 | <term><command>qlalr</command></term>
|
---|
| 821 | <listitem>
|
---|
| 822 | <para>
|
---|
| 823 | is a tool used to generate code from grammar specifications.
|
---|
| 824 | </para>
|
---|
| 825 | <indexterm zone="qt5 qlalr-qt5">
|
---|
| 826 | <primary sortas="b-qlalr-qt5">qlalr</primary>
|
---|
| 827 | </indexterm>
|
---|
| 828 | </listitem>
|
---|
| 829 | </varlistentry>
|
---|
| 830 |
|
---|
[104b5bf] | 831 | <varlistentry id="qmake-qt5">
|
---|
[ec7940be] | 832 | <term><command>qmake</command></term>
|
---|
[104b5bf] | 833 | <listitem>
|
---|
| 834 | <para>
|
---|
| 835 | uses information stored in project files to
|
---|
| 836 | determine what should go in the makefiles it
|
---|
| 837 | generates.
|
---|
| 838 | </para>
|
---|
| 839 | <indexterm zone="qt5 qmake-qt5">
|
---|
[ec7940be] | 840 | <primary sortas="b-qmake-qt5">qmake</primary>
|
---|
[104b5bf] | 841 | </indexterm>
|
---|
| 842 | </listitem>
|
---|
| 843 | </varlistentry>
|
---|
| 844 |
|
---|
[eb055fdf] | 845 | <varlistentry id="qmlcachegen">
|
---|
| 846 | <term><command>qmlcachegen</command></term>
|
---|
| 847 | <listitem>
|
---|
| 848 | <para>
|
---|
| 849 | supports the creation of cache files at build time.
|
---|
| 850 | </para>
|
---|
| 851 | <indexterm zone="qt5 qmlcachegen">
|
---|
| 852 | <primary sortas="b-qmlcachegen">qmlcachegen</primary>
|
---|
| 853 | </indexterm>
|
---|
| 854 | </listitem>
|
---|
| 855 | </varlistentry>
|
---|
| 856 |
|
---|
[8b9ad6e] | 857 | <varlistentry id="qmleasing-qt5">
|
---|
| 858 | <term><command>qmleasing</command></term>
|
---|
| 859 | <listitem>
|
---|
| 860 | <para>
|
---|
| 861 | is a tool used to define the easing curves using an
|
---|
| 862 | interactive curve editor.
|
---|
| 863 | </para>
|
---|
| 864 | <indexterm zone="qt5 qmleasing-qt5">
|
---|
| 865 | <primary sortas="b-qmleasing-qt5">qmleasing</primary>
|
---|
| 866 | </indexterm>
|
---|
| 867 | </listitem>
|
---|
| 868 | </varlistentry>
|
---|
| 869 |
|
---|
| 870 | <varlistentry id="qmlimportscanner-qt5">
|
---|
| 871 | <term><command>qmlimportscanner</command></term>
|
---|
| 872 | <listitem>
|
---|
| 873 | <para>
|
---|
| 874 | is a tool used to import QML files from a directory.
|
---|
| 875 | </para>
|
---|
| 876 | <indexterm zone="qt5 qmlimportscanner-qt5">
|
---|
| 877 | <primary sortas="b-qmlimportscanner-qt5">qmlimportscanner</primary>
|
---|
| 878 | </indexterm>
|
---|
| 879 | </listitem>
|
---|
| 880 | </varlistentry>
|
---|
| 881 |
|
---|
| 882 | <varlistentry id="qmllint-qt5">
|
---|
| 883 | <term><command>qmllint</command></term>
|
---|
| 884 | <listitem>
|
---|
| 885 | <para>
|
---|
| 886 | is a syntax checker for QML files.
|
---|
| 887 | </para>
|
---|
| 888 | <indexterm zone="qt5 qmllint-qt5">
|
---|
| 889 | <primary sortas="b-qmllint-qt5">qmllint</primary>
|
---|
| 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
| 894 | <varlistentry id="qmlmin-qt5">
|
---|
| 895 | <term><command>qmlmin</command></term>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para>
|
---|
| 898 | removes comments and layout characters from a QML file.
|
---|
| 899 | </para>
|
---|
| 900 | <indexterm zone="qt5 qmlmin-qt5">
|
---|
| 901 | <primary sortas="b-qmlmin-qt5">qmlmin</primary>
|
---|
| 902 | </indexterm>
|
---|
| 903 | </listitem>
|
---|
| 904 | </varlistentry>
|
---|
| 905 |
|
---|
| 906 | <varlistentry id="qmlplugindump-qt5">
|
---|
| 907 | <term><command>qmlplugindump</command></term>
|
---|
| 908 | <listitem>
|
---|
| 909 | <para>
|
---|
| 910 | is a tool to create a qmltypes file.
|
---|
| 911 | </para>
|
---|
| 912 | <indexterm zone="qt5 qmlplugindump-qt5">
|
---|
| 913 | <primary sortas="b-qmlplugindump-qt5">qmlplugindump</primary>
|
---|
| 914 | </indexterm>
|
---|
| 915 | </listitem>
|
---|
| 916 | </varlistentry>
|
---|
| 917 |
|
---|
[55a55f1] | 918 | <varlistentry id="qmlpreview-qt5">
|
---|
| 919 | <term><command>qmlpreview</command></term>
|
---|
| 920 | <listitem>
|
---|
| 921 | <para>
|
---|
| 922 | is a tool used to analyze QML applications.
|
---|
| 923 | </para>
|
---|
| 924 | <indexterm zone="qt5 qmlpreview-qt5">
|
---|
| 925 | <primary sortas="b-qmlpreviewr-qt5">qmlpreview</primary>
|
---|
| 926 | </indexterm>
|
---|
| 927 | </listitem>
|
---|
| 928 | </varlistentry>
|
---|
| 929 |
|
---|
[8b9ad6e] | 930 | <varlistentry id="qmlprofiler-qt5">
|
---|
| 931 | <term><command>qmlprofiler</command></term>
|
---|
| 932 | <listitem>
|
---|
| 933 | <para>
|
---|
[55a55f1] | 934 | is a tool which watches QML and JavaScript files on disk and
|
---|
| 935 | updates the application live with any changes.
|
---|
[8b9ad6e] | 936 | </para>
|
---|
| 937 | <indexterm zone="qt5 qmlprofiler-qt5">
|
---|
| 938 | <primary sortas="b-qmlprofiler-qt5">qmlprofiler</primary>
|
---|
| 939 | </indexterm>
|
---|
| 940 | </listitem>
|
---|
| 941 | </varlistentry>
|
---|
| 942 |
|
---|
| 943 | <varlistentry id="qmlscene-qt5">
|
---|
| 944 | <term><command>qmlscene</command></term>
|
---|
| 945 | <listitem>
|
---|
| 946 | <para>
|
---|
| 947 | is a utility that loads and displays QML documents even before
|
---|
| 948 | the application is complete.
|
---|
| 949 | </para>
|
---|
| 950 | <indexterm zone="qt5 qmlscene-qt5">
|
---|
| 951 | <primary sortas="b-qmlscene-qt5">qmlscene</primary>
|
---|
| 952 | </indexterm>
|
---|
| 953 | </listitem>
|
---|
| 954 | </varlistentry>
|
---|
| 955 |
|
---|
| 956 | <varlistentry id="qmltestrunner-qt5">
|
---|
| 957 | <term><command>qmltestrunner</command></term>
|
---|
| 958 | <listitem>
|
---|
| 959 | <para>
|
---|
| 960 | is a tool used to make tests.
|
---|
| 961 | </para>
|
---|
| 962 | <indexterm zone="qt5 qmltestrunner-qt5">
|
---|
| 963 | <primary sortas="b-qmltestrunner-qt5">qmltestrunner</primary>
|
---|
| 964 | </indexterm>
|
---|
| 965 | </listitem>
|
---|
| 966 | </varlistentry>
|
---|
| 967 |
|
---|
| 968 | <varlistentry id="qtdiag-qt5">
|
---|
| 969 | <term><command>qtdiag</command></term>
|
---|
| 970 | <listitem>
|
---|
| 971 | <para>
|
---|
| 972 | is a tool for reporting diagnostic information about Qt and its
|
---|
| 973 | environment.
|
---|
| 974 | </para>
|
---|
| 975 | <indexterm zone="qt5 qtdiag-qt5">
|
---|
| 976 | <primary sortas="b-qtdiag-qt5">qtdiag</primary>
|
---|
| 977 | </indexterm>
|
---|
| 978 | </listitem>
|
---|
| 979 | </varlistentry>
|
---|
| 980 |
|
---|
| 981 | <varlistentry id="qtpaths-qt5">
|
---|
| 982 | <term><command>qtpaths</command></term>
|
---|
| 983 | <listitem>
|
---|
| 984 | <para>
|
---|
| 985 | is a tool to query Qt path information.
|
---|
| 986 | </para>
|
---|
| 987 | <indexterm zone="qt5 qtpaths-qt5">
|
---|
| 988 | <primary sortas="b-qtpaths-qt5">qtpaths</primary>
|
---|
| 989 | </indexterm>
|
---|
| 990 | </listitem>
|
---|
| 991 | </varlistentry>
|
---|
| 992 |
|
---|
[eb055fdf] | 993 | <varlistentry id="qtplugininfo">
|
---|
| 994 | <term><command>qtplugininfo</command></term>
|
---|
| 995 | <listitem>
|
---|
| 996 | <para>
|
---|
| 997 | dumps meta-data about Qt plugins in JSON format.
|
---|
| 998 | </para>
|
---|
| 999 | <indexterm zone="qt5 qtplugininfo">
|
---|
| 1000 | <primary sortas="b-qtplugininfo">qtplugininfo</primary>
|
---|
| 1001 | </indexterm>
|
---|
| 1002 | </listitem>
|
---|
| 1003 | </varlistentry>
|
---|
| 1004 |
|
---|
[104b5bf] | 1005 | <varlistentry id="rcc-qt5">
|
---|
[ec7940be] | 1006 | <term><command>rcc</command></term>
|
---|
[104b5bf] | 1007 | <listitem>
|
---|
| 1008 | <para>
|
---|
| 1009 | is a resource compiler used in conjunction with designer.
|
---|
| 1010 | </para>
|
---|
| 1011 | <indexterm zone="qt5 rcc-qt5">
|
---|
[ec7940be] | 1012 | <primary sortas="b-rcc-qt5">rcc</primary>
|
---|
[104b5bf] | 1013 | </indexterm>
|
---|
| 1014 | </listitem>
|
---|
| 1015 | </varlistentry>
|
---|
| 1016 |
|
---|
[eb055fdf] | 1017 | <varlistentry id="repc">
|
---|
| 1018 | <term><command>repc</command></term>
|
---|
| 1019 | <listitem>
|
---|
| 1020 | <para>
|
---|
| 1021 | is the Replica Compiler, which generates QObject header files based
|
---|
| 1022 | on an API definition file.
|
---|
| 1023 | </para>
|
---|
| 1024 | <indexterm zone="qt5 repc">
|
---|
| 1025 | <primary sortas="b-repc">repc</primary>
|
---|
| 1026 | </indexterm>
|
---|
| 1027 | </listitem>
|
---|
| 1028 | </varlistentry>
|
---|
| 1029 |
|
---|
[55a55f1] | 1030 | <varlistentry id="sdpscanner-qt5">
|
---|
| 1031 | <term><command>sdpscanner</command></term>
|
---|
| 1032 | <listitem>
|
---|
| 1033 | <para>
|
---|
| 1034 | performs a Session Description Protocol scan on a remote device,
|
---|
| 1035 | using the SDP server represented by the local Bluetooth device.
|
---|
| 1036 | </para>
|
---|
| 1037 | <indexterm zone="qt5 sdpscanner-qt5">
|
---|
| 1038 | <primary sortas="b-sdpscanner-qt5">sdpscanner</primary>
|
---|
| 1039 | </indexterm>
|
---|
| 1040 | </listitem>
|
---|
| 1041 | </varlistentry>
|
---|
| 1042 |
|
---|
[8b9ad6e] | 1043 | <varlistentry id="syncqt.pl-qt5">
|
---|
| 1044 | <term><command>syncqt.pl</command></term>
|
---|
| 1045 | <listitem>
|
---|
| 1046 | <para>
|
---|
| 1047 | is a script to create the forwarding headers in the include
|
---|
| 1048 | directories. It is an internal development tool.
|
---|
| 1049 | </para>
|
---|
| 1050 | <indexterm zone="qt5 syncqt.pl-qt5">
|
---|
| 1051 | <primary sortas="b-syncqt.pl-qt5">syncqt.pl</primary>
|
---|
| 1052 | </indexterm>
|
---|
| 1053 | </listitem>
|
---|
| 1054 | </varlistentry>
|
---|
| 1055 |
|
---|
[104b5bf] | 1056 | <varlistentry id="uic-qt5">
|
---|
[ec7940be] | 1057 | <term><command>uic</command></term>
|
---|
[104b5bf] | 1058 | <listitem>
|
---|
| 1059 | <para>
|
---|
| 1060 | is a Qt user interface compiler.
|
---|
| 1061 | </para>
|
---|
| 1062 | <indexterm zone="qt5 uic-qt5">
|
---|
[ec7940be] | 1063 | <primary sortas="b-uic-qt5">uic</primary>
|
---|
[104b5bf] | 1064 | </indexterm>
|
---|
| 1065 | </listitem>
|
---|
| 1066 | </varlistentry>
|
---|
| 1067 |
|
---|
[8b9ad6e] | 1068 | <varlistentry id="xmlpatterns-qt5">
|
---|
| 1069 | <term><command>xmlpatterns</command></term>
|
---|
| 1070 | <listitem>
|
---|
| 1071 | <para>
|
---|
| 1072 | provides support for XPath, XQuery, XSLT, and XML Schema
|
---|
| 1073 | validation.
|
---|
| 1074 | </para>
|
---|
| 1075 | <indexterm zone="qt5 xmlpatterns-qt5">
|
---|
| 1076 | <primary sortas="b-xmlpatterns-qt5">xmlpatterns</primary>
|
---|
| 1077 | </indexterm>
|
---|
| 1078 | </listitem>
|
---|
| 1079 | </varlistentry>
|
---|
| 1080 |
|
---|
| 1081 | <varlistentry id="xmlpatternsvalidator-qt5">
|
---|
| 1082 | <term><command>xmlpatternsvalidator</command></term>
|
---|
| 1083 | <listitem>
|
---|
| 1084 | <para>
|
---|
| 1085 | is a tool used to validate XML documents.
|
---|
| 1086 | </para>
|
---|
| 1087 | <indexterm zone="qt5 xmlpatternsvalidator-qt5">
|
---|
| 1088 | <primary sortas="b-xmlpatternsvalidator-qt5">xmlpatternsvalidator</primary>
|
---|
| 1089 | </indexterm>
|
---|
| 1090 | </listitem>
|
---|
| 1091 | </varlistentry>
|
---|
| 1092 |
|
---|
[104b5bf] | 1093 | </variablelist>
|
---|
| 1094 |
|
---|
| 1095 | </sect2>
|
---|
| 1096 |
|
---|
| 1097 | </sect1>
|
---|