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