[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b3867c5] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY qt5-major "5.15">
|
---|
| 8 | <!ENTITY qt5-url "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
|
---|
| 9 |
|
---|
| 10 | <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz">
|
---|
| 11 | <!ENTITY qt5-download-ftp " ">
|
---|
[c75cce7] | 12 | <!ENTITY qt5-md5sum "0265e7988790d8845441558130d59311">
|
---|
[775d5f4] | 13 | <!ENTITY qt5-size "630 MB">
|
---|
[c75cce7] | 14 | <!ENTITY qt5-buildsize "9.0 GB (154 MB installed)">
|
---|
| 15 | <!ENTITY qt5-time "7.5 SBU (using parallelism=4)">
|
---|
[b3867c5] | 16 | ]>
|
---|
| 17 |
|
---|
[f53a4ef8] | 18 | <sect1 id="qt5-components" xreflabel="qt5-components-&qt5-version;">
|
---|
[b3867c5] | 19 | <?dbhtml filename="qt5-components.html" ?>
|
---|
| 20 |
|
---|
[f53a4ef8] | 21 | <title>qt5-components-&qt5-version;</title>
|
---|
[b3867c5] | 22 |
|
---|
| 23 | <indexterm zone="qt5-components">
|
---|
[f53a4ef8] | 24 | <primary sortas="a-Qt5-">Qt5 Components</primary>
|
---|
[b3867c5] | 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
[6886d51] | 28 | <title>Introduction to qt5 components</title>
|
---|
[b3867c5] | 29 |
|
---|
| 30 | <para>
|
---|
[ad8b716] | 31 | <application>Qt5</application> is a cross-platform application framework
|
---|
| 32 | that is widely used for developing application software with a graphical
|
---|
| 33 | user interface (GUI) (in which cases <application>qt5</application> is
|
---|
| 34 | classified as a widget toolkit), and also used for developing non-GUI
|
---|
[5f6411f] | 35 | programs such as command-line tools and consoles for servers.
|
---|
| 36 | <!-- Neither of these use Qt5 in the book now
|
---|
| 37 | Two of the
|
---|
[ad8b716] | 38 | major users of <application>qt</application> are <application>KDE
|
---|
| 39 | Frameworks 5 (KF5)</application> and <application>LXQt</application>.
|
---|
[5f6411f] | 40 | -->
|
---|
[b3867c5] | 41 | </para>
|
---|
| 42 |
|
---|
[ad8b716] | 43 | <important>
|
---|
| 44 | <para>
|
---|
| 45 | The full <application>qt5</application> package consists of 43 separate
|
---|
| 46 | components. These instructions use a small subset of the full
|
---|
| 47 | <application>qt5</application> installation instructions.
|
---|
| 48 | They cover the components needed to build
|
---|
| 49 | packages in BLFS.
|
---|
| 50 | </para>
|
---|
| 51 | </important>
|
---|
| 52 |
|
---|
[5a8fde2a] | 53 | &lfs122_checked;
|
---|
[b3867c5] | 54 |
|
---|
| 55 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 56 | <itemizedlist spacing="compact">
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download (HTTP): <ulink url="&qt5-download-http;"/>
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Download (FTP): <ulink url="&qt5-download-ftp;"/>
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Download MD5 sum: &qt5-md5sum;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Download size: &qt5-size;
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Estimated disk space required: &qt5-buildsize;
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Estimated build time: &qt5-time;
|
---|
| 85 | </para>
|
---|
| 86 | </listitem>
|
---|
| 87 | </itemizedlist>
|
---|
| 88 |
|
---|
[68954249] | 89 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 90 | <itemizedlist spacing="compact">
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>
|
---|
| 93 | Now that <application>qt5</application> updates are restricted to
|
---|
| 94 | commercial customers, upstream patches for the various modules are
|
---|
| 95 | being curated at kde.
|
---|
| 96 | Patches for the modules required by packages in BLFS have been
|
---|
| 97 | aggregated for the non-modular qt5 build we use.
|
---|
| 98 | </para>
|
---|
| 99 | <para>
|
---|
| 100 | Required patch:
|
---|
| 101 | <ulink url="&patch-root;/qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch"/>
|
---|
| 102 | </para>
|
---|
| 103 | <para>
|
---|
| 104 | Details of the kde curation can be found at
|
---|
| 105 | <ulink url="https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection"/>
|
---|
| 106 | and <ulink url="https://community.kde.org/Qt5PatchCollection"/>.
|
---|
| 107 | </para>
|
---|
| 108 | </listitem>
|
---|
| 109 | </itemizedlist>
|
---|
| 110 |
|
---|
[ad8b716] | 111 | <bridgehead renderas="sect3">qt5 Dependencies</bridgehead>
|
---|
[b3867c5] | 112 |
|
---|
| 113 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 114 | <para role="required">
|
---|
[ad8b716] | 115 | <xref linkend="xorg7-lib"/>
|
---|
[b3867c5] | 116 | </para>
|
---|
| 117 |
|
---|
[ad8b716] | 118 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[b3867c5] | 119 | <para role="recommended">
|
---|
[ad8b716] | 120 | <xref linkend="alsa-lib"/>,
|
---|
| 121 | <xref linkend="at-spi2-core"/>,
|
---|
| 122 | <xref linkend="cups"/>,
|
---|
| 123 | <phrase revision='sysv'><xref linkend="dbus"/>,</phrase>
|
---|
| 124 | <xref linkend="double-conversion"/>,
|
---|
| 125 | <xref linkend="glib2"/>,
|
---|
| 126 | <xref linkend="harfbuzz"/>,
|
---|
| 127 | <xref linkend="icu"/>,
|
---|
| 128 | <xref linkend="hicolor-icon-theme"/>,
|
---|
| 129 | <xref linkend="mesa"/>,
|
---|
| 130 | <xref linkend="libjpeg"/>,
|
---|
| 131 | <xref linkend="libxkbcommon"/>,
|
---|
| 132 | <xref linkend="sqlite"/>,
|
---|
| 133 | <xref linkend="wayland"/> (<application>Mesa</application>
|
---|
| 134 | must be built with <application>Wayland</application> EGL
|
---|
| 135 | backend),
|
---|
| 136 | <xref linkend="xcb-util-image"/>,
|
---|
| 137 | <xref linkend="xcb-util-keysyms"/>,
|
---|
| 138 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
| 139 | <xref linkend="xcb-util-wm"/>
|
---|
[b3867c5] | 140 | </para>
|
---|
| 141 |
|
---|
[ad8b716] | 142 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 143 | <para role="optional">
|
---|
| 144 | <xref linkend="gtk3"/>,
|
---|
| 145 | <xref linkend="libinput"/>
|
---|
| 146 | <xref linkend="mariadb"/>
|
---|
| 147 | or <ulink url="https://www.mysql.com/">MySQL</ulink>,
|
---|
| 148 | <xref linkend="mitkrb"/>,
|
---|
| 149 | <xref linkend="mtdev"/>
|
---|
| 150 | <xref linkend="postgresql"/>, and
|
---|
| 151 | <xref linkend="unixodbc"/>
|
---|
[b3867c5] | 152 | </para>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
[ad8b716] | 156 | <sect2 role="qt5-prefix">
|
---|
| 157 | <title>Setting the installation prefix</title>
|
---|
| 158 |
|
---|
| 159 | <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
|
---|
[b3867c5] | 160 |
|
---|
| 161 | <para>
|
---|
[ad8b716] | 162 | The BLFS editors recommend installing <application>qt5</application> in a
|
---|
| 163 | directory other than <filename class="directory">/usr</filename>, i.e.
|
---|
| 164 | <filename class="directory">/opt/qt5</filename>. To do this, set the
|
---|
| 165 | following environment variable:
|
---|
[b3867c5] | 166 | </para>
|
---|
| 167 |
|
---|
[ad8b716] | 168 | <screen><userinput>export QT5PREFIX=/opt/qt5</userinput></screen>
|
---|
| 169 |
|
---|
| 170 | <tip>
|
---|
| 171 | <para>
|
---|
| 172 | Sometimes, the installation paths are hardcoded into installed files.
|
---|
| 173 | This is the reason why <filename class="directory">/opt/qt5</filename>
|
---|
| 174 | is used as installation prefix instead of <filename
|
---|
| 175 | class="directory">/opt/qt-&qt5-version;</filename>. To create a
|
---|
| 176 | versioned <application>qt5</application> directory after the
|
---|
| 177 | installation is complete, you may rename the directory and create a symlink:
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <screen role="root"><userinput>mkdir -pv /opt/qt-&qt5-version;
|
---|
| 181 | ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
| 184 | Later on, you may want to install other versions of
|
---|
| 185 | <application>qt5</application>. To do that, just remove the symlink
|
---|
| 186 | and use <filename class="directory">/opt/qt5</filename> as the
|
---|
| 187 | prefix again. Which version of <application>qt5</application> you
|
---|
| 188 | use depends only on where the symlink points.
|
---|
| 189 | </para>
|
---|
| 190 | </tip>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | <sect2 role="installation">
|
---|
| 195 | <title>Installation of qt5</title>
|
---|
| 196 |
|
---|
| 197 | <warning>
|
---|
| 198 | <para>
|
---|
| 199 | If <application>qt5</application> is being reinstalled into the
|
---|
| 200 | same directory as an existing instance, run the commands done by
|
---|
| 201 | &root;, such as
|
---|
| 202 | <command>make install</command>, from a console or non-qt5 based
|
---|
| 203 | window manager. It overwrites <application>qt5</application>
|
---|
| 204 | libraries that should not be in use during the install process.
|
---|
| 205 | </para>
|
---|
| 206 | </warning>
|
---|
| 207 |
|
---|
| 208 | <caution>
|
---|
| 209 | <para>
|
---|
| 210 | If you did not install some of the recommended dependencies, examine
|
---|
| 211 | <command>./configure --help</command> output to check how to disable
|
---|
| 212 | them or use internal versions bundled in the source tarball.
|
---|
| 213 | </para>
|
---|
| 214 | </caution>
|
---|
| 215 |
|
---|
| 216 | <note>
|
---|
| 217 | <para>
|
---|
| 218 | The BLFS editors do not recommend installing
|
---|
| 219 | <application>qt5</application> into the
|
---|
| 220 | <filename class="directory">/usr</filename> hierarchy because it
|
---|
| 221 | becomes difficult to find components and to update to a new version.
|
---|
| 222 | If you do want to install <application>qt5</application> in
|
---|
| 223 | <filename class="directory">/usr</filename>, the directories need to
|
---|
| 224 | be specified explicitly. In this case, set
|
---|
| 225 | <envar>QT5PREFIX=/usr</envar> and add the following to the configure
|
---|
| 226 | arguments below:
|
---|
| 227 | </para>
|
---|
| 228 |
|
---|
| 229 | <screen role="nodump"><userinput> -archdatadir /usr/lib/qt5 \
|
---|
| 230 | -bindir /usr/bin \
|
---|
| 231 | -plugindir /usr/lib/qt5/plugins \
|
---|
| 232 | -importdir /usr/lib/qt5/imports \
|
---|
| 233 | -headerdir /usr/include/qt5 \
|
---|
| 234 | -datadir /usr/share/qt5 \
|
---|
| 235 | -docdir /usr/share/doc/qt5 \
|
---|
| 236 | -translationdir /usr/share/qt5/translations \
|
---|
| 237 | -examplesdir /usr/share/doc/qt5/examples</userinput></screen>
|
---|
| 238 | </note>
|
---|
| 239 |
|
---|
[68954249] | 240 | <para>
|
---|
[5f6411f] | 241 | First, apply a patch to pull in the fixes curated by KDE for those
|
---|
[ad8b716] | 242 | modules which are required by packages mentioned in this book:
|
---|
[68954249] | 243 | </para>
|
---|
| 244 |
|
---|
[775d5f4] | 245 | <screen><userinput remap="pre">patch -Np1 -i ../qt-everywhere-opensource-src-&qt5-version;-kf5-1.patch</userinput></screen>
|
---|
[68954249] | 246 |
|
---|
[b3867c5] | 247 | <para>
|
---|
[5f6411f] | 248 | The patch is supposed to be used in a git repository. If it isn't, some
|
---|
[ad8b716] | 249 | files that should be modified by <command>configure</command> after
|
---|
| 250 | applying the patch are not touched. Fortunately, it is enough to create a
|
---|
| 251 | <filename class="directory">.git</filename> directory in the
|
---|
| 252 | <filename class="directory">qmake</filename> directory where the
|
---|
| 253 | <command>configure</command> script is run:
|
---|
| 254 | </para>
|
---|
| 255 |
|
---|
| 256 | <screen><userinput remap="pre">mkdir -pv qtbase/.git</userinput></screen>
|
---|
| 257 |
|
---|
| 258 | <para>
|
---|
| 259 | At this point we want to set up skipping most components. Do that with:
|
---|
| 260 | </para>
|
---|
| 261 |
|
---|
| 262 | <screen><userinput>ls -Fd qt* | grep / | sed 's/^/-skip /;s@/@@' > tempconf &&
|
---|
| 263 | sed -i -r '/base|tools|x11extras|svg|declarative|wayland/d' tempconf</userinput></screen>
|
---|
| 264 |
|
---|
| 265 | <para>
|
---|
| 266 | If you want to install the <xref linkend='NetworkManager'/> examples, run:
|
---|
| 267 | <command>sed -i '/qtdoc/d' tempconf</command>.
|
---|
| 268 | </para>
|
---|
| 269 |
|
---|
| 270 | <para>
|
---|
| 271 | If you choose to not install <xref linkend='qt6'/> and want to use qt5 with
|
---|
| 272 | wireshark, run: <command>sed -i '/qtmultimedia/d' tempconf</command>.
|
---|
[b3867c5] | 273 | </para>
|
---|
| 274 |
|
---|
[ad8b716] | 275 | <para>
|
---|
| 276 | Now, install <application>qt5</application> by running the following
|
---|
| 277 | commands:
|
---|
| 278 | </para>
|
---|
| 279 |
|
---|
| 280 | <screen revision="sysv"><userinput>./configure -prefix $QT5PREFIX \
|
---|
| 281 | -sysconfdir /etc/xdg \
|
---|
| 282 | -confirm-license \
|
---|
| 283 | -opensource \
|
---|
| 284 | -dbus-linked \
|
---|
| 285 | -openssl-linked \
|
---|
| 286 | -system-harfbuzz \
|
---|
| 287 | -system-sqlite \
|
---|
| 288 | -nomake examples \
|
---|
| 289 | -no-rpath \
|
---|
| 290 | -syslog \
|
---|
[c75cce7] | 291 | $(cat tempconf) &&
|
---|
[ad8b716] | 292 | make</userinput></screen>
|
---|
| 293 |
|
---|
| 294 | <screen revision="systemd"><userinput>./configure -prefix $QT5PREFIX \
|
---|
| 295 | -sysconfdir /etc/xdg \
|
---|
| 296 | -confirm-license \
|
---|
| 297 | -opensource \
|
---|
| 298 | -dbus-linked \
|
---|
| 299 | -openssl-linked \
|
---|
| 300 | -system-harfbuzz \
|
---|
| 301 | -system-sqlite \
|
---|
| 302 | -nomake examples \
|
---|
| 303 | -no-rpath \
|
---|
| 304 | -journald \
|
---|
[c75cce7] | 305 | $(cat tempconf) &&
|
---|
[b3867c5] | 306 | make</userinput></screen>
|
---|
| 307 |
|
---|
| 308 | <para>
|
---|
[ad8b716] | 309 | This package does not come with a test suite.
|
---|
| 310 | </para>
|
---|
| 311 |
|
---|
| 312 | <para>
|
---|
| 313 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[b3867c5] | 314 | </para>
|
---|
| 315 |
|
---|
| 316 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 317 |
|
---|
| 318 | <!-- EDITORS NOTE: This package uses INSTALL_ROOT= instead of DESTDIR= for
|
---|
| 319 | installing in a temporary directory. -->
|
---|
| 320 |
|
---|
| 321 | <para>
|
---|
| 322 | Remove references to the build directory from installed library
|
---|
| 323 | dependency (prl) files by running the following
|
---|
[ad8b716] | 324 | command as &root; user:
|
---|
[b3867c5] | 325 | </para>
|
---|
| 326 |
|
---|
[ad8b716] | 327 | <screen role="root"><userinput>find $QT5PREFIX/ -name \*.prl \
|
---|
[b3867c5] | 328 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
| 329 |
|
---|
[ad8b716] | 330 | <para>
|
---|
| 331 | Install images and create the menu entries for installed applications.
|
---|
| 332 | The <envar>QT5BINDIR</envar> variable is used here to point to the
|
---|
| 333 | directory for the executable programs. If you have changed the bindir
|
---|
| 334 | above, <envar>QT5BINDIR</envar> will need to be adjusted below. Be sure
|
---|
| 335 | that the <envar>QT5BINDIR</envar> variable is defined in root's
|
---|
| 336 | environment and as the <systemitem class="username">root</systemitem>
|
---|
| 337 | user:
|
---|
| 338 | </para>
|
---|
| 339 |
|
---|
| 340 | <screen role="root"><userinput>QT5BINDIR=$QT5PREFIX/bin
|
---|
| 341 |
|
---|
| 342 | install -v -dm755 /usr/share/pixmaps/ &&
|
---|
| 343 |
|
---|
| 344 | install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
|
---|
| 345 | /usr/share/pixmaps/assistant-qt5.png &&
|
---|
| 346 |
|
---|
| 347 | install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
|
---|
| 348 | /usr/share/pixmaps/designer-qt5.png &&
|
---|
| 349 |
|
---|
| 350 | install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
|
---|
| 351 | /usr/share/pixmaps/linguist-qt5.png &&
|
---|
| 352 |
|
---|
| 353 | install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
---|
| 354 | /usr/share/pixmaps/qdbusviewer-qt5.png &&
|
---|
| 355 |
|
---|
| 356 | install -dm755 /usr/share/applications &&
|
---|
| 357 |
|
---|
| 358 | cat > /usr/share/applications/assistant-qt5.desktop << EOF
|
---|
| 359 | <literal>[Desktop Entry]
|
---|
| 360 | Name=Qt5 Assistant
|
---|
| 361 | Comment=Shows Qt5 documentation and examples
|
---|
| 362 | Exec=$QT5BINDIR/assistant
|
---|
| 363 | Icon=assistant-qt5.png
|
---|
| 364 | Terminal=false
|
---|
| 365 | Encoding=UTF-8
|
---|
| 366 | Type=Application
|
---|
| 367 | Categories=Qt;Development;Documentation;</literal>
|
---|
| 368 | EOF
|
---|
| 369 |
|
---|
| 370 | cat > /usr/share/applications/designer-qt5.desktop << EOF
|
---|
| 371 | <literal>[Desktop Entry]
|
---|
| 372 | Name=Qt5 Designer
|
---|
| 373 | GenericName=Interface Designer
|
---|
| 374 | Comment=Design GUIs for Qt5 applications
|
---|
| 375 | Exec=$QT5BINDIR/designer
|
---|
| 376 | Icon=designer-qt5.png
|
---|
| 377 | MimeType=application/x-designer;
|
---|
| 378 | Terminal=false
|
---|
| 379 | Encoding=UTF-8
|
---|
| 380 | Type=Application
|
---|
| 381 | Categories=Qt;Development;</literal>
|
---|
| 382 | EOF
|
---|
| 383 |
|
---|
| 384 | cat > /usr/share/applications/linguist-qt5.desktop << EOF
|
---|
| 385 | <literal>[Desktop Entry]
|
---|
| 386 | Name=Qt5 Linguist
|
---|
| 387 | Comment=Add translations to Qt5 applications
|
---|
| 388 | Exec=$QT5BINDIR/linguist
|
---|
| 389 | Icon=linguist-qt5.png
|
---|
| 390 | MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
---|
| 391 | Terminal=false
|
---|
| 392 | Encoding=UTF-8
|
---|
| 393 | Type=Application
|
---|
| 394 | Categories=Qt;Development;</literal>
|
---|
| 395 | EOF
|
---|
| 396 |
|
---|
| 397 | cat > /usr/share/applications/qdbusviewer-qt5.desktop << EOF
|
---|
| 398 | <literal>[Desktop Entry]
|
---|
| 399 | Name=Qt5 QDbusViewer
|
---|
| 400 | GenericName=D-Bus Debugger
|
---|
| 401 | Comment=Debug D-Bus applications
|
---|
| 402 | Exec=$QT5BINDIR/qdbusviewer
|
---|
| 403 | Icon=qdbusviewer-qt5.png
|
---|
| 404 | Terminal=false
|
---|
| 405 | Encoding=UTF-8
|
---|
| 406 | Type=Application
|
---|
| 407 | Categories=Qt;Development;Debugger;</literal>
|
---|
| 408 | EOF</userinput></screen>
|
---|
| 409 |
|
---|
| 410 | <para>
|
---|
| 411 | Some packages such as <xref linkend='vlc'/> look for certain
|
---|
| 412 | executables with a -qt5 suffix. Run the following command as the
|
---|
| 413 | &root; user to create the necessary symlinks:
|
---|
| 414 | </para>
|
---|
| 415 |
|
---|
| 416 | <screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
|
---|
| 417 | ln -sfvn $QT5BINDIR/$file /usr/bin/$file-qt5
|
---|
| 418 | done</userinput></screen>
|
---|
| 419 |
|
---|
| 420 | </sect2>
|
---|
| 421 |
|
---|
| 422 | <sect2 role="commands">
|
---|
| 423 | <title>Command Explanations</title>
|
---|
| 424 |
|
---|
| 425 | <para>
|
---|
| 426 | <parameter>-confirm-license</parameter>: Accept license
|
---|
| 427 | without prompting user during configuration.
|
---|
| 428 | </para>
|
---|
| 429 |
|
---|
| 430 | <para>
|
---|
| 431 | <parameter>-opensource</parameter>: Install the opensource
|
---|
| 432 | version of <application>qt</application>.
|
---|
| 433 | </para>
|
---|
| 434 |
|
---|
| 435 | <para>
|
---|
| 436 | <parameter>-nomake examples</parameter>: This switch
|
---|
| 437 | disables building of the example programs included
|
---|
| 438 | in the source tarball. Remove it if you want to build
|
---|
| 439 | them.
|
---|
| 440 | </para>
|
---|
| 441 |
|
---|
| 442 | <para>
|
---|
| 443 | <parameter>-system-sqlite</parameter>: This switch enables use
|
---|
| 444 | of the system version of <application>SQLite</application>.
|
---|
| 445 | </para>
|
---|
| 446 |
|
---|
| 447 | <para>
|
---|
| 448 | <parameter>-system-harfbuzz</parameter>: This switch enables use
|
---|
| 449 | of the system version of <application>Harfbuzz</application>.
|
---|
| 450 | </para>
|
---|
| 451 |
|
---|
| 452 | <para>
|
---|
| 453 | <parameter>-dbus-linked</parameter>
|
---|
| 454 | <parameter>-openssl-linked</parameter>: These
|
---|
| 455 | switches enable explicit linking of the
|
---|
| 456 | <application>D-Bus</application> and
|
---|
| 457 | <application>OpenSSL</application> libraries into
|
---|
| 458 | <application>qt5</application> libraries instead of
|
---|
| 459 | <command>dlopen()</command>-ing them.
|
---|
| 460 | </para>
|
---|
| 461 |
|
---|
| 462 | <para revision="sysv">
|
---|
| 463 | <parameter>-syslog</parameter>: This switch allows to send qt messages
|
---|
| 464 | to the <command>syslog</command> logging system.
|
---|
| 465 | </para>
|
---|
| 466 |
|
---|
| 467 | <para revision="systemd">
|
---|
| 468 | <parameter>-journald</parameter>: This switch allows to send qt messages
|
---|
| 469 | to the <command>journald</command> logging system.
|
---|
| 470 | </para>
|
---|
| 471 |
|
---|
| 472 | <para>
|
---|
| 473 | <command>$(cat tempconf)</command>: This command provides a list of
|
---|
| 474 | components that should not be built. These entries are in the form of
|
---|
| 475 | "-skip <component>".
|
---|
| 476 | </para>
|
---|
| 477 |
|
---|
| 478 | </sect2>
|
---|
| 479 |
|
---|
| 480 | <sect2 role="configuration">
|
---|
| 481 | <title>Configuring qt5</title>
|
---|
| 482 |
|
---|
| 483 | <sect3 id="qt5-config">
|
---|
| 484 | <title>Configuration Information</title>
|
---|
| 485 |
|
---|
| 486 | <para>
|
---|
| 487 | If <xref linkend="sudo"/> is installed, QT5DIR should be available to
|
---|
| 488 | the super user as well. Execute the following commands as the
|
---|
| 489 | &root; user:
|
---|
| 490 | </para>
|
---|
| 491 |
|
---|
| 492 | <screen role="root"><userinput>cat > /etc/sudoers.d/qt << "EOF"
|
---|
| 493 | <literal>Defaults env_keep += QT5DIR</literal>
|
---|
| 494 | EOF</userinput></screen>
|
---|
| 495 |
|
---|
| 496 | <bridgehead renderas="sect4">If you installed qt5 in /usr</bridgehead>
|
---|
| 497 |
|
---|
| 498 | <para>
|
---|
| 499 | If you installed <application>qt5</application> in
|
---|
| 500 | <filename class="directory">/usr</filename>, create an
|
---|
| 501 | environment variable needed by certain packages.
|
---|
| 502 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 503 | </para>
|
---|
| 504 |
|
---|
| 505 | <screen role="nodump"><userinput>cat > /etc/profile.d/qt5.sh << "EOF"
|
---|
| 506 | <literal># Begin /etc/profile.d/qt5.sh
|
---|
| 507 |
|
---|
| 508 | QT5DIR=/usr
|
---|
| 509 | export QT5DIR
|
---|
| 510 |
|
---|
| 511 | # End /etc/profile.d/qt5.sh</literal>
|
---|
| 512 | EOF</userinput></screen>
|
---|
| 513 |
|
---|
| 514 | <bridgehead renderas="sect4">If you did not install qt5 in /usr</bridgehead>
|
---|
| 515 |
|
---|
| 516 | <para>
|
---|
| 517 | If you installed <application>qt5</application> in a location other
|
---|
| 518 | than <filename class="directory">/usr</filename>, you need to update the
|
---|
| 519 | following configuration files so that <application>qt5</application> is
|
---|
| 520 | correctly found by other packages and system processes.
|
---|
| 521 | </para>
|
---|
| 522 |
|
---|
| 523 | <para>
|
---|
| 524 | As the <systemitem class="username">root</systemitem> user, update
|
---|
| 525 | the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
|
---|
| 526 | run-time cache file:
|
---|
| 527 | </para>
|
---|
| 528 |
|
---|
| 529 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
| 530 | <literal># Begin Qt addition
|
---|
| 531 |
|
---|
| 532 | /opt/qt5/lib
|
---|
| 533 |
|
---|
| 534 | # End Qt addition</literal>
|
---|
| 535 | EOF
|
---|
| 536 |
|
---|
| 537 | ldconfig</userinput></screen>
|
---|
| 538 |
|
---|
| 539 | <indexterm zone="qt5-components qt5-config">
|
---|
| 540 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
| 541 | </indexterm>
|
---|
| 542 |
|
---|
| 543 | <para>
|
---|
| 544 | As the &root; user, create the <filename>/etc/profile.d/qt5.sh</filename> file:
|
---|
| 545 | </para>
|
---|
| 546 |
|
---|
| 547 | <screen role="root"><userinput>cat > /etc/profile.d/qt_5.sh << "EOF"
|
---|
| 548 | <literal># Begin /etc/profile.d/qt_5.sh
|
---|
| 549 |
|
---|
| 550 | QT5DIR=/opt/qt5
|
---|
| 551 |
|
---|
| 552 | pathappend $QT5DIR/bin PATH
|
---|
| 553 | pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
|
---|
| 554 |
|
---|
| 555 | export QT5DIR
|
---|
| 556 |
|
---|
| 557 | # End /etc/profile.d/qt_5.sh</literal>
|
---|
| 558 | EOF</userinput></screen>
|
---|
| 559 |
|
---|
| 560 | </sect3>
|
---|
[b3867c5] | 561 |
|
---|
| 562 | </sect2>
|
---|
| 563 |
|
---|
| 564 | <sect2 role="content">
|
---|
| 565 | <title>Contents</title>
|
---|
| 566 |
|
---|
| 567 | <segmentedlist>
|
---|
| 568 | <segtitle>Installed Programs</segtitle>
|
---|
| 569 | <segtitle>Installed Libraries</segtitle>
|
---|
| 570 | <segtitle>Installed Directories</segtitle>
|
---|
| 571 |
|
---|
| 572 | <seglistitem>
|
---|
| 573 | <seg>
|
---|
[ad8b716] | 574 | assistant, designer, fixqt4headers.pl, lconvert,
|
---|
| 575 | linguist, lprodump, lrelease, lrelease-pro, lupdate, lupdate-pro,
|
---|
| 576 | moc, pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml,
|
---|
| 577 | qdbusviewer, qdbusxml2cpp, qdistancefieldgenerator, qdoc,
|
---|
| 578 | qhelpgenerator, qlalr, qmake, qml, qmlcachegen, qmleasing,
|
---|
| 579 | qmlformat, qmlimportscanner, qmllint, qmlmin, qmlplugindump,
|
---|
| 580 | qmlpreview, qmlprofiler, qmlscene, qmltestrunner, qmltime,
|
---|
| 581 | qmltyperegistrar,
|
---|
| 582 | qtattributionscanner, qtdiag, qtpaths, qtplugininfo,
|
---|
| 583 | qtwaylandscanner, qvkgen, rcc, syncqt.pl, tracegen, and
|
---|
| 584 | uic
|
---|
[b3867c5] | 585 | </seg>
|
---|
| 586 | <seg>
|
---|
[ad8b716] | 587 | libQt5AccessibilitySupport.a,
|
---|
| 588 | libQt5Bootstrap.a,
|
---|
| 589 | libQt5Concurrent.so,
|
---|
| 590 | libQt5Core.so,
|
---|
| 591 | libQt5DBus.so,
|
---|
| 592 | libQt5Designer.so,
|
---|
| 593 | libQt5DesignerComponents.so,
|
---|
| 594 | libQt5DeviceDiscoverySupport.a,
|
---|
| 595 | libQt5EdidSupport.a,
|
---|
| 596 | libQt5EglFSDeviceIntegration.so,
|
---|
| 597 | libQt5EglFsKmsSupport.so,
|
---|
| 598 | libQt5EglSupport.a,
|
---|
| 599 | libQt5EventDispatcherSupport.a,
|
---|
| 600 | libQt5FbSupport.a,
|
---|
| 601 | libQt5FontDatabaseSupport.a,
|
---|
| 602 | libQt5GlxSupport.a,
|
---|
| 603 | libQt5Gui.so,
|
---|
| 604 | libQt5Help.so,
|
---|
| 605 | libQt5InputSupport.a,
|
---|
| 606 | libQt5KmsSupport.a,
|
---|
| 607 | libQt5LinuxAccessibilitySupport.a,
|
---|
| 608 | libQt5Network.so,
|
---|
| 609 | libQt5OpenGL.so,
|
---|
| 610 | libQt5OpenGLExtensions.a,
|
---|
| 611 | libQt5PacketProtocol.a,
|
---|
| 612 | libQt5PlatformCompositorSupport.a,
|
---|
| 613 | libQt5PrintSupport.so,
|
---|
| 614 | libQt5Qml.so,
|
---|
| 615 | libQt5QmlDebug.a,
|
---|
| 616 | libQt5QmlDevTools.a,
|
---|
| 617 | libQt5QmlModels.so,
|
---|
| 618 | libQt5QmlWorkerScript.so,
|
---|
| 619 | libQt5Quick.so,
|
---|
| 620 | libQt5QuickParticles.so,
|
---|
| 621 | libQt5QuickShapes.so,
|
---|
| 622 | libQt5QuickTest.so,
|
---|
| 623 | libQt5QuickWidgets.so,
|
---|
| 624 | libQt5ServiceSupport.a,
|
---|
| 625 | libQt5Sql.so,
|
---|
| 626 | libQt5Svg.so,
|
---|
| 627 | libQt5Test.so,
|
---|
| 628 | libQt5ThemeSupport.a,
|
---|
| 629 | libQt5UiTools.a,
|
---|
| 630 | libQt5WaylandClient.so,
|
---|
| 631 | libQt5WaylandCompositor.so,
|
---|
| 632 | libQt5Widgets.so,
|
---|
| 633 | libQt5X11Extras.so,
|
---|
| 634 | libQt5XcbQpa.so,
|
---|
| 635 | libQt5XkbCommonSupport.a,
|
---|
| 636 | libQt5Xml.so,
|
---|
| 637 | and several plugins under /opt/qt5/{plugins,qml}
|
---|
[b3867c5] | 638 | </seg>
|
---|
| 639 | <seg>
|
---|
[ad8b716] | 640 | /usr/include/qt5,
|
---|
| 641 | /usr/lib/qt5,
|
---|
| 642 | /usr/share/doc/qt5, and
|
---|
| 643 | /usr/share/qt5
|
---|
| 644 | OR
|
---|
| 645 | /opt/qt5 and
|
---|
| 646 | /opt/qt-&qt5-version;
|
---|
[b3867c5] | 647 | </seg>
|
---|
| 648 | </seglistitem>
|
---|
| 649 | </segmentedlist>
|
---|
| 650 |
|
---|
[ad8b716] | 651 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 652 |
|
---|
| 653 | <variablelist id='qt5-descriptions' xreflabel="Qt5 Short Descriptions">
|
---|
| 654 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 655 | <?dbfo list-presentation="list"?>
|
---|
| 656 | <?dbhtml list-presentation="table"?>
|
---|
| 657 |
|
---|
| 658 | <varlistentry id="assistant-qt5">
|
---|
| 659 | <term><command>assistant</command></term>
|
---|
| 660 | <listitem>
|
---|
| 661 | <para>
|
---|
| 662 | is a tool for presenting on-line documentation
|
---|
| 663 | </para>
|
---|
| 664 | <indexterm zone="qt5-components assistant-qt5">
|
---|
| 665 | <primary sortas="b-assistant-qt5">assistant</primary>
|
---|
| 666 | </indexterm>
|
---|
| 667 | </listitem>
|
---|
| 668 | </varlistentry>
|
---|
| 669 |
|
---|
| 670 | <varlistentry id="designer-qt5">
|
---|
| 671 | <term><command>designer</command></term>
|
---|
| 672 | <listitem>
|
---|
| 673 | <para>
|
---|
| 674 | is a full-fledged GUI builder. It includes
|
---|
| 675 | powerful features such as preview mode, automatic widget
|
---|
| 676 | layout, support for custom widgets, and an advanced
|
---|
| 677 | property editor
|
---|
| 678 | </para>
|
---|
| 679 | <indexterm zone="qt5-components designer-qt5">
|
---|
| 680 | <primary sortas="b-designer-qt5">designer</primary>
|
---|
| 681 | </indexterm>
|
---|
| 682 | </listitem>
|
---|
| 683 | </varlistentry>
|
---|
| 684 |
|
---|
| 685 | <varlistentry id="fixqt4headers.pl">
|
---|
| 686 | <term><command>fixqt4headers.pl</command></term>
|
---|
| 687 | <listitem>
|
---|
| 688 | <para>
|
---|
| 689 | is a script to replace all Qt 4 style includes with Qt 5 includes
|
---|
| 690 | </para>
|
---|
| 691 | <indexterm zone="qt5-components fixqt4headers.pl">
|
---|
| 692 | <primary sortas="b-fixqt4headers.pl">fixqt4headers.pl</primary>
|
---|
| 693 | </indexterm>
|
---|
| 694 | </listitem>
|
---|
| 695 | </varlistentry>
|
---|
| 696 |
|
---|
| 697 | <varlistentry id="lconvert-qt5">
|
---|
| 698 | <term><command>lconvert</command></term>
|
---|
| 699 | <listitem>
|
---|
| 700 | <para>
|
---|
| 701 | is part of Qt5's Linguist tool chain. It can be used as a
|
---|
| 702 | standalone tool to convert and filter translation data files
|
---|
| 703 | </para>
|
---|
| 704 | <indexterm zone="qt5-components lconvert-qt5">
|
---|
| 705 | <primary sortas="b-lconvert-qt5">lconvert</primary>
|
---|
| 706 | </indexterm>
|
---|
| 707 | </listitem>
|
---|
| 708 | </varlistentry>
|
---|
| 709 |
|
---|
| 710 | <varlistentry id="linguist-qt5">
|
---|
| 711 | <term><command>linguist</command></term>
|
---|
| 712 | <listitem>
|
---|
| 713 | <para>
|
---|
| 714 | provides support for translating applications into
|
---|
| 715 | local languages
|
---|
| 716 | </para>
|
---|
| 717 | <indexterm zone="qt5-components linguist-qt5">
|
---|
| 718 | <primary sortas="b-linguist-qt5">linguist</primary>
|
---|
| 719 | </indexterm>
|
---|
| 720 | </listitem>
|
---|
| 721 | </varlistentry>
|
---|
| 722 |
|
---|
| 723 | <varlistentry id="lrelease-qt5">
|
---|
| 724 | <term><command>lrelease</command></term>
|
---|
| 725 | <listitem>
|
---|
| 726 | <para>
|
---|
| 727 | is a simple command line tool. It reads XML-based translation
|
---|
| 728 | file in TS format and produces message files used by the
|
---|
| 729 | application
|
---|
| 730 | </para>
|
---|
| 731 | <indexterm zone="qt5-components lrelease-qt5">
|
---|
| 732 | <primary sortas="b-lrelease-qt5">lrelease</primary>
|
---|
| 733 | </indexterm>
|
---|
| 734 | </listitem>
|
---|
| 735 | </varlistentry>
|
---|
| 736 |
|
---|
| 737 | <varlistentry id="lrelease-pro">
|
---|
| 738 | <term><command>lrelease-pro</command></term>
|
---|
| 739 | <listitem>
|
---|
| 740 | <para>
|
---|
| 741 | extracts project information from qmake projects and passes
|
---|
| 742 | it to lrelease
|
---|
| 743 | </para>
|
---|
| 744 | <indexterm zone="qt5-components lrelease-pro">
|
---|
| 745 | <primary sortas="b-lrelease-pro">lrelease-pro</primary>
|
---|
| 746 | </indexterm>
|
---|
| 747 | </listitem>
|
---|
| 748 | </varlistentry>
|
---|
| 749 |
|
---|
| 750 | <varlistentry id="lupdate-qt5">
|
---|
| 751 | <term><command>lupdate</command></term>
|
---|
| 752 | <listitem>
|
---|
| 753 | <para>
|
---|
| 754 | finds the translatable
|
---|
| 755 | strings in the specified source, header and Qt Designer
|
---|
| 756 | interface files, and stores the extracted messages in
|
---|
| 757 | translation files to be processed by lrelease
|
---|
| 758 | </para>
|
---|
| 759 | <indexterm zone="qt5-components lupdate-qt5">
|
---|
| 760 | <primary sortas="b-lupdate-qt5">lupdate</primary>
|
---|
| 761 | </indexterm>
|
---|
| 762 | </listitem>
|
---|
| 763 | </varlistentry>
|
---|
| 764 |
|
---|
| 765 | <varlistentry id="lupdate-pro">
|
---|
| 766 | <term><command>lupdate-pro</command></term>
|
---|
| 767 | <listitem>
|
---|
| 768 | <para>
|
---|
[5f6411f] | 769 | reads a Qt project file and passes the collected information
|
---|
[ad8b716] | 770 | to lupdate
|
---|
| 771 | </para>
|
---|
| 772 | <indexterm zone="qt5-components lupdate-pro">
|
---|
| 773 | <primary sortas="b-lupdate-pro">lupdate-pro</primary>
|
---|
| 774 | </indexterm>
|
---|
| 775 | </listitem>
|
---|
| 776 | </varlistentry>
|
---|
| 777 |
|
---|
| 778 | <varlistentry id="moc-qt5">
|
---|
| 779 | <term><command>moc</command></term>
|
---|
| 780 | <listitem>
|
---|
| 781 | <para>
|
---|
| 782 | generates Qt meta object support code
|
---|
| 783 | </para>
|
---|
| 784 | <indexterm zone="qt5-components moc-qt5">
|
---|
| 785 | <primary sortas="b-moc-qt5">moc</primary>
|
---|
| 786 | </indexterm>
|
---|
| 787 | </listitem>
|
---|
| 788 | </varlistentry>
|
---|
| 789 |
|
---|
| 790 | <varlistentry id="pixeltool-qt5">
|
---|
| 791 | <term><command>pixeltool</command></term>
|
---|
| 792 | <listitem>
|
---|
| 793 | <para>
|
---|
[5f6411f] | 794 | is a desktop magnifier - as you move your mouse around
|
---|
| 795 | the screen, it will show the magnified contents in its window
|
---|
[ad8b716] | 796 | </para>
|
---|
| 797 | <indexterm zone="qt5-components pixeltool-qt5">
|
---|
| 798 | <primary sortas="b-pixeltool-qt5">pixeltool</primary>
|
---|
| 799 | </indexterm>
|
---|
| 800 | </listitem>
|
---|
| 801 | </varlistentry>
|
---|
| 802 |
|
---|
| 803 | <varlistentry id="qcollectiongenerator-qt5">
|
---|
| 804 | <term><command>qcollectiongenerator</command></term>
|
---|
| 805 | <listitem>
|
---|
| 806 | <para>
|
---|
| 807 | processes and converts Qt help files
|
---|
| 808 | </para>
|
---|
| 809 | <indexterm zone="qt5-components qcollectiongenerator-qt5">
|
---|
| 810 | <primary sortas="b-qcollectiongenerator-qt5">qcollectiongenerator-qt5</primary>
|
---|
| 811 | </indexterm>
|
---|
| 812 | </listitem>
|
---|
| 813 | </varlistentry>
|
---|
| 814 |
|
---|
| 815 | <varlistentry id="qdbuscpp2xml-qt5">
|
---|
| 816 | <term><command>qdbuscpp2xml</command></term>
|
---|
| 817 | <listitem>
|
---|
| 818 | <para>
|
---|
| 819 | takes a C++ source file and generates a D-Bus XML definition
|
---|
| 820 | of the interface
|
---|
| 821 | </para>
|
---|
| 822 | <indexterm zone="qt5-components qdbuscpp2xml-qt5">
|
---|
| 823 | <primary sortas="b-qdbuscpp2xml-qt5">qdbuscpp2xml</primary>
|
---|
| 824 | </indexterm>
|
---|
| 825 | </listitem>
|
---|
| 826 | </varlistentry>
|
---|
| 827 |
|
---|
| 828 | <varlistentry id="qdbus-qt5">
|
---|
| 829 | <term><command>qdbus</command></term>
|
---|
| 830 | <listitem>
|
---|
| 831 | <para>
|
---|
[5f6411f] | 832 | lists available services, object paths, methods, signals, and
|
---|
[ad8b716] | 833 | properties of objects on a bus
|
---|
| 834 | </para>
|
---|
| 835 | <indexterm zone="qt5-components qdbus-qt5">
|
---|
| 836 | <primary sortas="b-qdbus-qt5">qdbus</primary>
|
---|
| 837 | </indexterm>
|
---|
| 838 | </listitem>
|
---|
| 839 | </varlistentry>
|
---|
| 840 |
|
---|
| 841 | <varlistentry id="qdbusviewer-qt5">
|
---|
| 842 | <term><command>qdbusviewer</command></term>
|
---|
| 843 | <listitem>
|
---|
| 844 | <para>
|
---|
| 845 | is a graphical D-Bus browser
|
---|
| 846 | </para>
|
---|
| 847 | <indexterm zone="qt5-components qdbusviewer-qt5">
|
---|
| 848 | <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
|
---|
| 849 | </indexterm>
|
---|
| 850 | </listitem>
|
---|
| 851 | </varlistentry>
|
---|
| 852 |
|
---|
| 853 | <varlistentry id="qdbusxml2cpp-qt5">
|
---|
| 854 | <term><command>qdbusxml2cpp</command></term>
|
---|
| 855 | <listitem>
|
---|
| 856 | <para>
|
---|
| 857 | is a tool that can be used to parse interface descriptions
|
---|
[2100b0ec] | 858 | and produce static code representing those interfaces
|
---|
[ad8b716] | 859 | </para>
|
---|
| 860 | <indexterm zone="qt5-components qdbusxml2cpp-qt5">
|
---|
| 861 | <primary sortas="b-qdbusxml2cpp-qt5">qdbusxml2cpp</primary>
|
---|
| 862 | </indexterm>
|
---|
| 863 | </listitem>
|
---|
| 864 | </varlistentry>
|
---|
| 865 |
|
---|
| 866 | <varlistentry id="qdistancefieldgenerator-qt5">
|
---|
| 867 | <term><command>qdistancefieldgenerator</command></term>
|
---|
| 868 | <listitem>
|
---|
| 869 | <para>
|
---|
| 870 | allows a font cache to be pregenerated for Text.QtRendering to speed
|
---|
| 871 | up an application's startup if the user interface has a lot of text,
|
---|
| 872 | or multiple fonts, or a large amount of distinct characters, e.g. in
|
---|
| 873 | CJK writing systems
|
---|
| 874 | </para>
|
---|
| 875 | <indexterm zone="qt5-components qdistancefieldgenerator-qt5">
|
---|
| 876 | <primary sortas="b-qdistancefieldgenerator-qt5">qdistancefieldgenerator</primary>
|
---|
| 877 | </indexterm>
|
---|
| 878 | </listitem>
|
---|
| 879 | </varlistentry>
|
---|
| 880 |
|
---|
| 881 | <varlistentry id="qdoc-qt5">
|
---|
| 882 | <term><command>qdoc</command></term>
|
---|
| 883 | <listitem>
|
---|
| 884 | <para>
|
---|
| 885 | is a tool used by <application>Qt</application> Developers to
|
---|
| 886 | generate documentation for software projects
|
---|
| 887 | </para>
|
---|
| 888 | <indexterm zone="qt5-components qdoc-qt5">
|
---|
| 889 | <primary sortas="b-qdoc-qt5">qdoc</primary>
|
---|
| 890 | </indexterm>
|
---|
| 891 | </listitem>
|
---|
| 892 | </varlistentry>
|
---|
| 893 |
|
---|
| 894 | <varlistentry id="qhelpgenerator-qt5">
|
---|
| 895 | <term><command>qhelpgenerator</command></term>
|
---|
| 896 | <listitem>
|
---|
| 897 | <para>
|
---|
| 898 | is a tool used to generate a <application>Qt</application>
|
---|
| 899 | compressed help file
|
---|
| 900 | </para>
|
---|
| 901 | <indexterm zone="qt5-components qhelpgenerator-qt5">
|
---|
| 902 | <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
|
---|
| 903 | </indexterm>
|
---|
| 904 | </listitem>
|
---|
| 905 | </varlistentry>
|
---|
| 906 |
|
---|
| 907 | <varlistentry id="qlalr-qt5">
|
---|
| 908 | <term><command>qlalr</command></term>
|
---|
| 909 | <listitem>
|
---|
| 910 | <para>
|
---|
| 911 | is a tool used to generate code from grammar specifications
|
---|
| 912 | </para>
|
---|
| 913 | <indexterm zone="qt5-components qlalr-qt5">
|
---|
| 914 | <primary sortas="b-qlalr-qt5">qlalr</primary>
|
---|
| 915 | </indexterm>
|
---|
| 916 | </listitem>
|
---|
| 917 | </varlistentry>
|
---|
| 918 |
|
---|
| 919 | <varlistentry id="qmake-qt5">
|
---|
| 920 | <term><command>qmake</command></term>
|
---|
| 921 | <listitem>
|
---|
| 922 | <para>
|
---|
| 923 | uses information stored in project files to
|
---|
| 924 | determine what should go in the makefiles it
|
---|
| 925 | generates
|
---|
| 926 | </para>
|
---|
| 927 | <indexterm zone="qt5-components qmake-qt5">
|
---|
| 928 | <primary sortas="b-qmake-qt5">qmake</primary>
|
---|
| 929 | </indexterm>
|
---|
| 930 | </listitem>
|
---|
| 931 | </varlistentry>
|
---|
| 932 |
|
---|
| 933 | <varlistentry id="qml">
|
---|
| 934 | <term><command>qml</command></term>
|
---|
| 935 | <listitem>
|
---|
| 936 | <para>
|
---|
| 937 | executes a QML file
|
---|
| 938 | </para>
|
---|
| 939 | <indexterm zone="qt5-components qml">
|
---|
| 940 | <primary sortas="b-qml">qml</primary>
|
---|
| 941 | </indexterm>
|
---|
| 942 | </listitem>
|
---|
| 943 | </varlistentry>
|
---|
| 944 |
|
---|
| 945 | <varlistentry id="qmlcachegen">
|
---|
| 946 | <term><command>qmlcachegen</command></term>
|
---|
| 947 | <listitem>
|
---|
| 948 | <para>
|
---|
| 949 | supports the creation of cache files at build time
|
---|
| 950 | </para>
|
---|
| 951 | <indexterm zone="qt5-components qmlcachegen">
|
---|
| 952 | <primary sortas="b-qmlcachegen">qmlcachegen</primary>
|
---|
| 953 | </indexterm>
|
---|
| 954 | </listitem>
|
---|
| 955 | </varlistentry>
|
---|
| 956 |
|
---|
| 957 | <varlistentry id="qmleasing-qt5">
|
---|
| 958 | <term><command>qmleasing</command></term>
|
---|
| 959 | <listitem>
|
---|
| 960 | <para>
|
---|
| 961 | is a tool used to define the easing curves using an
|
---|
| 962 | interactive curve editor
|
---|
| 963 | </para>
|
---|
| 964 | <indexterm zone="qt5-components qmleasing-qt5">
|
---|
| 965 | <primary sortas="b-qmleasing-qt5">qmleasing</primary>
|
---|
| 966 | </indexterm>
|
---|
| 967 | </listitem>
|
---|
| 968 | </varlistentry>
|
---|
| 969 |
|
---|
| 970 | <varlistentry id="qmlformat-qt5">
|
---|
| 971 | <term><command>qmlformat</command></term>
|
---|
| 972 | <listitem>
|
---|
| 973 | <para>
|
---|
| 974 | formats QML files according to the QML coding conventions
|
---|
| 975 | </para>
|
---|
| 976 | <indexterm zone="qt5-components qmlformat-qt5">
|
---|
| 977 | <primary sortas="b-qmlformat-qt5">qmlformat</primary>
|
---|
| 978 | </indexterm>
|
---|
| 979 | </listitem>
|
---|
| 980 | </varlistentry>
|
---|
| 981 |
|
---|
| 982 | <varlistentry id="qmlimportscanner-qt5">
|
---|
| 983 | <term><command>qmlimportscanner</command></term>
|
---|
| 984 | <listitem>
|
---|
| 985 | <para>
|
---|
| 986 | is a tool used to import QML files from a directory
|
---|
| 987 | </para>
|
---|
| 988 | <indexterm zone="qt5-components qmlimportscanner-qt5">
|
---|
| 989 | <primary sortas="b-qmlimportscanner-qt5">qmlimportscanner</primary>
|
---|
| 990 | </indexterm>
|
---|
| 991 | </listitem>
|
---|
| 992 | </varlistentry>
|
---|
| 993 |
|
---|
| 994 | <varlistentry id="qmllint-qt5">
|
---|
| 995 | <term><command>qmllint</command></term>
|
---|
| 996 | <listitem>
|
---|
| 997 | <para>
|
---|
| 998 | is a syntax checker for QML files
|
---|
| 999 | </para>
|
---|
| 1000 | <indexterm zone="qt5-components qmllint-qt5">
|
---|
| 1001 | <primary sortas="b-qmllint-qt5">qmllint</primary>
|
---|
| 1002 | </indexterm>
|
---|
| 1003 | </listitem>
|
---|
| 1004 | </varlistentry>
|
---|
| 1005 |
|
---|
| 1006 | <varlistentry id="qmlmin-qt5">
|
---|
| 1007 | <term><command>qmlmin</command></term>
|
---|
| 1008 | <listitem>
|
---|
| 1009 | <para>
|
---|
| 1010 | removes comments and layout characters from a QML file
|
---|
| 1011 | </para>
|
---|
| 1012 | <indexterm zone="qt5-components qmlmin-qt5">
|
---|
| 1013 | <primary sortas="b-qmlmin-qt5">qmlmin</primary>
|
---|
| 1014 | </indexterm>
|
---|
| 1015 | </listitem>
|
---|
| 1016 | </varlistentry>
|
---|
| 1017 |
|
---|
| 1018 | <varlistentry id="qmlplugindump-qt5">
|
---|
| 1019 | <term><command>qmlplugindump</command></term>
|
---|
| 1020 | <listitem>
|
---|
| 1021 | <para>
|
---|
| 1022 | is a tool to create a qmltypes file
|
---|
| 1023 | </para>
|
---|
| 1024 | <indexterm zone="qt5-components qmlplugindump-qt5">
|
---|
| 1025 | <primary sortas="b-qmlplugindump-qt5">qmlplugindump</primary>
|
---|
| 1026 | </indexterm>
|
---|
| 1027 | </listitem>
|
---|
| 1028 | </varlistentry>
|
---|
| 1029 |
|
---|
| 1030 | <varlistentry id="qmlpreview-qt5">
|
---|
| 1031 | <term><command>qmlpreview</command></term>
|
---|
| 1032 | <listitem>
|
---|
| 1033 | <para>
|
---|
| 1034 | is a tool used to analyze QML applications
|
---|
| 1035 | </para>
|
---|
| 1036 | <indexterm zone="qt5-components qmlpreview-qt5">
|
---|
| 1037 | <primary sortas="b-qmlpreviewr-qt5">qmlpreview</primary>
|
---|
| 1038 | </indexterm>
|
---|
| 1039 | </listitem>
|
---|
| 1040 | </varlistentry>
|
---|
| 1041 |
|
---|
| 1042 | <varlistentry id="qmlprofiler-qt5">
|
---|
| 1043 | <term><command>qmlprofiler</command></term>
|
---|
| 1044 | <listitem>
|
---|
| 1045 | <para>
|
---|
| 1046 | is a tool which watches QML and JavaScript files on disk and
|
---|
| 1047 | updates the application live with any changes
|
---|
| 1048 | </para>
|
---|
| 1049 | <indexterm zone="qt5-components qmlprofiler-qt5">
|
---|
| 1050 | <primary sortas="b-qmlprofiler-qt5">qmlprofiler</primary>
|
---|
| 1051 | </indexterm>
|
---|
| 1052 | </listitem>
|
---|
| 1053 | </varlistentry>
|
---|
| 1054 |
|
---|
| 1055 | <varlistentry id="qmlscene-qt5">
|
---|
| 1056 | <term><command>qmlscene</command></term>
|
---|
| 1057 | <listitem>
|
---|
| 1058 | <para>
|
---|
| 1059 | is a utility that loads and displays QML documents even before
|
---|
| 1060 | the application is complete
|
---|
| 1061 | </para>
|
---|
| 1062 | <indexterm zone="qt5-components qmlscene-qt5">
|
---|
| 1063 | <primary sortas="b-qmlscene-qt5">qmlscene</primary>
|
---|
| 1064 | </indexterm>
|
---|
| 1065 | </listitem>
|
---|
| 1066 | </varlistentry>
|
---|
| 1067 |
|
---|
| 1068 | <varlistentry id="qmltestrunner-qt5">
|
---|
| 1069 | <term><command>qmltestrunner</command></term>
|
---|
| 1070 | <listitem>
|
---|
| 1071 | <para>
|
---|
| 1072 | is a tool used to make tests
|
---|
| 1073 | </para>
|
---|
| 1074 | <indexterm zone="qt5-components qmltestrunner-qt5">
|
---|
| 1075 | <primary sortas="b-qmltestrunner-qt5">qmltestrunner</primary>
|
---|
| 1076 | </indexterm>
|
---|
| 1077 | </listitem>
|
---|
| 1078 | </varlistentry>
|
---|
| 1079 |
|
---|
| 1080 | <varlistentry id="qtattributionsscanner-qt5">
|
---|
| 1081 | <term><command>qtattributionsscanner</command></term>
|
---|
| 1082 | <listitem>
|
---|
| 1083 | <para>
|
---|
| 1084 | processes qt_attribution.json files in Qt sources
|
---|
| 1085 | </para>
|
---|
| 1086 | <indexterm zone="qt5-components qtattributionsscanner-qt5">
|
---|
| 1087 | <primary sortas="b-qtattributionsscanner-qt5">qtattributionsscanner</primary>
|
---|
| 1088 | </indexterm>
|
---|
| 1089 | </listitem>
|
---|
| 1090 | </varlistentry>
|
---|
| 1091 |
|
---|
| 1092 | <varlistentry id="qtdiag-qt5">
|
---|
| 1093 | <term><command>qtdiag</command></term>
|
---|
| 1094 | <listitem>
|
---|
| 1095 | <para>
|
---|
| 1096 | is a tool for reporting diagnostic information about Qt and its
|
---|
| 1097 | environment
|
---|
| 1098 | </para>
|
---|
| 1099 | <indexterm zone="qt5-components qtdiag-qt5">
|
---|
| 1100 | <primary sortas="b-qtdiag-qt5">qtdiag</primary>
|
---|
| 1101 | </indexterm>
|
---|
| 1102 | </listitem>
|
---|
| 1103 | </varlistentry>
|
---|
| 1104 |
|
---|
| 1105 | <varlistentry id="qtpaths-qt5">
|
---|
| 1106 | <term><command>qtpaths</command></term>
|
---|
| 1107 | <listitem>
|
---|
| 1108 | <para>
|
---|
| 1109 | is a tool to query Qt path information
|
---|
| 1110 | </para>
|
---|
| 1111 | <indexterm zone="qt5-components qtpaths-qt5">
|
---|
| 1112 | <primary sortas="b-qtpaths-qt5">qtpaths</primary>
|
---|
| 1113 | </indexterm>
|
---|
| 1114 | </listitem>
|
---|
| 1115 | </varlistentry>
|
---|
| 1116 |
|
---|
| 1117 | <varlistentry id="qtplugininfo">
|
---|
| 1118 | <term><command>qtplugininfo</command></term>
|
---|
| 1119 | <listitem>
|
---|
| 1120 | <para>
|
---|
| 1121 | dumps meta-data about Qt plugins in JSON format
|
---|
| 1122 | </para>
|
---|
| 1123 | <indexterm zone="qt5-components qtplugininfo">
|
---|
| 1124 | <primary sortas="b-qtplugininfo">qtplugininfo</primary>
|
---|
| 1125 | </indexterm>
|
---|
| 1126 | </listitem>
|
---|
| 1127 | </varlistentry>
|
---|
| 1128 |
|
---|
| 1129 | <varlistentry id="qtwaylandscanner">
|
---|
| 1130 | <term><command>qtwaylandscanner</command></term>
|
---|
| 1131 | <listitem>
|
---|
| 1132 | <para>
|
---|
| 1133 | converts Wayland specfiles to C++ headers and code needed for
|
---|
| 1134 | QtWayland
|
---|
| 1135 | </para>
|
---|
| 1136 | <indexterm zone="qt5-components qtwaylandscanner">
|
---|
| 1137 | <primary sortas="b-qtwaylandscanner">qtwaylandscanner</primary>
|
---|
| 1138 | </indexterm>
|
---|
| 1139 | </listitem>
|
---|
| 1140 | </varlistentry>
|
---|
| 1141 |
|
---|
| 1142 | <varlistentry id="qvkgen">
|
---|
| 1143 | <term><command>qvkgen</command></term>
|
---|
| 1144 | <listitem>
|
---|
| 1145 | <para>
|
---|
| 1146 | converts Vulkan specfiles to C++ headers and code
|
---|
| 1147 | </para>
|
---|
| 1148 | <indexterm zone="qt5-components qvkgen">
|
---|
| 1149 | <primary sortas="b-qvkgen">qvkgen</primary>
|
---|
| 1150 | </indexterm>
|
---|
| 1151 | </listitem>
|
---|
| 1152 | </varlistentry>
|
---|
| 1153 |
|
---|
| 1154 | <varlistentry id="rcc-qt5">
|
---|
| 1155 | <term><command>rcc</command></term>
|
---|
| 1156 | <listitem>
|
---|
| 1157 | <para>
|
---|
| 1158 | is a resource compiler used in conjunction with designer
|
---|
| 1159 | </para>
|
---|
| 1160 | <indexterm zone="qt5-components rcc-qt5">
|
---|
| 1161 | <primary sortas="b-rcc-qt5">rcc</primary>
|
---|
| 1162 | </indexterm>
|
---|
| 1163 | </listitem>
|
---|
| 1164 | </varlistentry>
|
---|
| 1165 |
|
---|
| 1166 | <varlistentry id="syncqt.pl-qt5">
|
---|
| 1167 | <term><command>syncqt.pl</command></term>
|
---|
| 1168 | <listitem>
|
---|
| 1169 | <para>
|
---|
| 1170 | is a script to create the forwarding headers in the include
|
---|
| 1171 | directories. It is an internal development tool
|
---|
| 1172 | </para>
|
---|
| 1173 | <indexterm zone="qt5-components syncqt.pl-qt5">
|
---|
| 1174 | <primary sortas="b-syncqt.pl-qt5">syncqt.pl</primary>
|
---|
| 1175 | </indexterm>
|
---|
| 1176 | </listitem>
|
---|
| 1177 | </varlistentry>
|
---|
| 1178 |
|
---|
| 1179 | <varlistentry id="tracegen">
|
---|
| 1180 | <term><command>tracegen</command></term>
|
---|
| 1181 | <listitem>
|
---|
| 1182 | <para>
|
---|
| 1183 | is a trace generator for LTTng or ETW
|
---|
| 1184 | </para>
|
---|
| 1185 | <indexterm zone="qt5-components tracegen">
|
---|
| 1186 | <primary sortas="b-tracegen">tracegen</primary>
|
---|
| 1187 | </indexterm>
|
---|
| 1188 | </listitem>
|
---|
| 1189 | </varlistentry>
|
---|
| 1190 |
|
---|
| 1191 | <varlistentry id="uic-qt5">
|
---|
| 1192 | <term><command>uic</command></term>
|
---|
| 1193 | <listitem>
|
---|
| 1194 | <para>
|
---|
| 1195 | is a Qt user interface compiler
|
---|
| 1196 | </para>
|
---|
| 1197 | <indexterm zone="qt5-components uic-qt5">
|
---|
| 1198 | <primary sortas="b-uic-qt5">uic</primary>
|
---|
| 1199 | </indexterm>
|
---|
| 1200 | </listitem>
|
---|
| 1201 | </varlistentry>
|
---|
| 1202 |
|
---|
| 1203 | </variablelist>
|
---|
[b3867c5] | 1204 | </sect2>
|
---|
| 1205 |
|
---|
| 1206 | </sect1>
|
---|