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