Changes in / [edd2feb7:1daaab6d]


Ignore:
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • packages.ent

    redd2feb7 r1daaab6d  
    775775<!ENTITY pango-version                "&pango-minor;.10">
    776776<!ENTITY pangomm-version              "2.46.1">
    777 <!ENTITY qt5-version                  "5.15.2">
    778 <!ENTITY qtwebengine-version          "5.15.6">
     777<!ENTITY qt5-major                    "5.15">
     778<!ENTITY qt5-version                  "&qt5-major;.2">
     779<!ENTITY qt5-url "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/submodules">
     780<!ENTITY qtwebengine-version          "&qt5-major;.6">
    779781<!ENTITY qtwebkit-version             "5.9.0">
    780782<!ENTITY qscintilla-version           "2.10.4">
  • x/lib/lib.xml

    redd2feb7 r1daaab6d  
    6868  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pangomm.xml"/>
    6969<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qscintilla.xml"/> -->
     70  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtbase.xml"/>
    7071  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5.xml"/>
    71   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtwebengine.xml"/>
    7272  <!--
    7373  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtwebkit5.xml"/> -->
  • x/lib/qt5.xml

    redd2feb7 r1daaab6d  
    55  %general-entities;
    66
    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-src-&qt5-version;.tar.xz">
     7
     8  <!ENTITY qt5-download-http "&qt5-url;/">
    119  <!ENTITY qt5-download-ftp  " ">
    12   <!ENTITY qt5-md5sum        "e1447db4f06c841d8947f0a6ce83a7b5">
    13   <!ENTITY qt5-size          "560 MB">
    14   <!ENTITY qt5-buildsize     "15 GB (257 MB installed)">
    15   <!ENTITY qt5-time          "22 SBU (using parallelism=4)">
     10  <!ENTITY qt5-md5sum        "See below">
     11  <!ENTITY qt5-size          "11 MB for basic modules, 59 MB for qtwebengine,">
     12  <!ENTITY qt5-buildsize     "930 MB (23 MB installed) for basic modules">
     13  <!ENTITY qt5-time          "Using parallelism=4: 3.4 SBU for basic modules">
    1614]>
    1715
     
    2321  </sect1info>
    2422
    25   <title>Qt-&qt5-version;</title>
     23  <title>Qt-&qt5-version; Modules</title>
    2624
    2725  <indexterm zone="qt5">
    28     <primary sortas="a-Qt">Qt</primary>
     26    <primary sortas="a-Qt">Qt Modules</primary>
    2927  </indexterm>
    3028
    31   <sect2 role="package">
    32     <title>Introduction to Qt5</title>
    33 
    34     <para>
    35       <application>Qt5</application> is a cross-platform application framework
    36       that is widely used for developing application software with a graphical
    37       user interface (GUI) (in which cases <application>Qt5</application> is
    38       classified as a widget toolkit), and also used for developing non-GUI
    39       programs such as command-line tools and consoles for servers. One of the
    40       major users of <application>Qt</application> is <application>KDE
    41       Frameworks 5 (KF5)</application>.
    42     </para>
     29  <para>
     30    After the <xref linkend="qtbase"/> has been installed, various modules
     31    can be added to provide more functionalities. They are divided in several
     32    groups, each of which depends on the precedent:
     33  </para>
     34
     35  <itemizedlist spacing="compact">
     36    <listitem>
     37      <para>
     38        <xref linkend="qt-basic"/> are used in almost all
     39        <application>Qt5</application> based applications, and
     40        must be built first.
     41      </para>
     42    </listitem>
     43    <listitem>
     44      <para>
     45        <xref linkend="qt-kde"/> are needed for
     46        <xref linkend="kf5-frameworks"/> and <xref linkend="plasma5-build"/>.
     47      </para>
     48    </listitem>
     49    <listitem>
     50      <para>
     51        <xref linkend="qtwebengine"/> is a huge module that integrates
     52        <application>chromium</application>'s web capabilities into
     53        <application>Qt5</application>
     54      </para>
     55    </listitem>
     56    <listitem>
     57      <para>
     58        <xref linkend="qt-miscellaneous"/> are not needed for building
     59        packages in the book, but can be built for a complete installation
     60        of <application>Qt5</application>
     61      </para>
     62    </listitem>
     63  </itemizedlist>
    4364
    4465    &lfs110a_checked;
    4566
    46     <bridgehead renderas="sect3">Package Information</bridgehead>
    47     <itemizedlist spacing="compact">
    48       <listitem>
    49         <para>
    50           Download (HTTP): <ulink url="&qt5-download-http;"/>
    51         </para>
    52       </listitem>
    53       <listitem>
    54         <para>
    55           Download (FTP): <ulink url="&qt5-download-ftp;"/>
    56         </para>
    57       </listitem>
    58       <listitem>
    59         <para>
    60           Download MD5 sum: &qt5-md5sum;
    61         </para>
    62       </listitem>
    63       <listitem>
    64         <para>
    65           Download size: &qt5-size;
    66         </para>
    67       </listitem>
    68       <listitem>
    69         <para>
    70           Estimated disk space required: &qt5-buildsize;
    71         </para>
    72       </listitem>
    73       <listitem>
    74         <para>
    75           Estimated build time: &qt5-time;
    76         </para>
    77       </listitem>
    78     </itemizedlist>
     67  <bridgehead renderas="sect3">Package Information</bridgehead>
     68  <itemizedlist spacing="compact">
     69    <listitem>
     70      <para>
     71        Download (HTTP): <ulink url="&qt5-download-http;"/>
     72      </para>
     73    </listitem>
     74    <listitem>
     75      <para>
     76        Download (FTP): <ulink url="&qt5-download-ftp;"/>
     77      </para>
     78    </listitem>
     79    <listitem>
     80      <para>
     81        Download MD5 sum: &qt5-md5sum;
     82      </para>
     83    </listitem>
     84    <listitem>
     85      <para>
     86        Download size: &qt5-size;
     87      </para>
     88    </listitem>
     89    <listitem>
     90      <para>
     91        Estimated disk space required: &qt5-buildsize;
     92      </para>
     93    </listitem>
     94    <listitem>
     95      <para>
     96        Estimated build time: &qt5-time;
     97      </para>
     98    </listitem>
     99  </itemizedlist>
    79100
    80101    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     
    88109    </itemizedlist>
    89110
    90     <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
    91 
    92     <bridgehead renderas="sect4">Required</bridgehead>
     111<!--
     112  <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
     113
     114  <bridgehead renderas="sect4">Required</bridgehead>
     115  <para role="required">
     116    <xref linkend="xorg7-lib"/>
     117  </para>
     118
     119  <bridgehead renderas="sect4">Recommended</bridgehead>
     120  <para role="recommended">
     121    <xref linkend="alsa-lib"/>,
     122    <xref linkend="make-ca"/>,
     123    <xref linkend="cups"/>,
     124    <xref linkend="glib2"/>,
     125    <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
     126    <xref linkend="harfbuzz"/>,
     127    <xref linkend="icu"/>,
     128    <xref linkend="jasper"/>,
     129    <xref linkend="libjpeg"/>,
     130    <xref linkend="libmng"/>,
     131    <xref linkend="libpng"/>,
     132    <xref linkend="libtiff"/>,
     133    <xref linkend="libwebp"/>,
     134    <xref linkend="libxkbcommon"/>,
     135    <xref linkend="mesa"/>,
     136    <xref linkend="mitkrb"/>,
     137    <xref linkend="mtdev"/>,
     138    <xref linkend="pcre2"/>,
     139    <xref linkend="sqlite"/>,
     140    <xref linkend="wayland"/> (<application>Mesa</application>
     141    must be built with <application>Wayland</application> EGL
     142    backend),
     143    <xref linkend="xcb-util-image"/>,
     144    <xref linkend="xcb-util-keysyms"/>,
     145    <xref linkend="xcb-util-renderutil"/>, and
     146    <xref linkend="xcb-util-wm"/>
     147  </para>
     148
     149  <bridgehead renderas="sect4">Optional</bridgehead>
     150  <para role="optional">
     151    <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
     152    QtConnectivity module),
     153    <xref linkend="ibus"/>,
     154    <xref linkend="libinput"/>, <!- - needs -libinput switch - ->
     155    <xref linkend="mariadb"/>
     156      or <ulink url="http://www.mysql.com/">MySQL</ulink>,
     157    <xref linkend="pciutils"/> (required for QtWebEngine),
     158    <xref linkend="postgresql"/>,
     159    <xref linkend="python2"/> (required for QtWebEngine),
     160    <xref linkend="pulseaudio"/>,
     161    <xref linkend="sdl2"/>,
     162    <xref linkend="unixodbc"/>,
     163    <ulink url="https://www.assimp.org/">assimp</ulink>,
     164    <ulink url="http://www.festvox.org/flite/">Flite</ulink>,
     165    <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
     166    <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
     167    <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
     168    <ulink url="https://openal.org/">OpenAL</ulink>,
     169    <ulink url="https://freebsoft.org/speechd/">speech-dispatcher</ulink>,
     170    <ulink url="http:///www.tslib.org/">tslib</ulink>, and
     171    <ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>
     172  </para>
     173
     174  <!- - Many of the dependencies in the qmake/configure output do not apply
     175       to Linux-based platforms. I've selected the ones that do and put
     176       them in as optional dependencies. -renodr - ->
     177  <para condition="html" role="usernotes">
     178     User Notes: <ulink url="&blfs-wiki;/qt5"/>
     179  </para>
     180-->
     181  <sect2>
     182    <title>Creating the module list and utility functions</title>
     183
     184    <para>
     185      Create the list of modules in the proper order as follows:
     186    </para>
     187
     188<screen><userinput>cat &gt; qt5-submodules-&qt5-version;.md5 &lt;&lt; "EOF"
     189<literal># Begin basic group
     190739403634e1326a3d52902a835015a4b  qttools-everywhere-src-5.15.2.tar.xz
     191c0f5c1c2cc1b66e56ce4ef13a2b7093a  qtsvg-everywhere-src-5.15.2.tar.xz
     19292cf72015788bb4dcab14494f2835b32  qtx11extras-everywhere-src-5.15.2.tar.xz
     19326577fbbe0d011b7034bca3c64bc38ae  qtwayland-everywhere-src-5.15.2.tar.xz
     194# End basic group
     195# Begin KDE group
     196db3c185d6f13fc60828f8f9f20e092c4  qtdeclarative-everywhere-src-5.15.2.tar.xz
     1972abc5e7b8e6b4a80d7533daad37749e9  qtquickcontrols2-everywhere-src-5.15.2.tar.xz
     1982ae1ef858425aa71d62b15467a84b022  qtgraphicaleffects-everywhere-src-5.15.2.tar.xz
     199ef96631d72399cfa495f223ef21bb039  qtxmlpatterns-everywhere-src-5.15.2.tar.xz
     200# TODO
     201# End KDE group
     202# Begin qtwebengine
     203c88cbe3158feb20c4feb3d54262feb23  qtwebengine-everywhere-src-5.15.2.tar.xz
     204# End qtwebengine
     205# Begin optional group
     206# TODO
     207# End optional group</literal>
     208EOF</userinput></screen>
     209
     210    <para>
     211      Next create two utility functions, one for switching to user
     212      <systemitem class="username">root</systemitem>, the other for
     213      module building:
     214    </para>
     215
     216<screen><userinput>as_root() {
     217  if   [ "$EUID" = 0 ];      then $*
     218  elif [ -x /usr/bin/sudo ]; then sudo -E $*
     219  else                            su -c \\"$*\\"
     220  fi
     221}
     222
     223export -f as_root
     224
     225module_build() {
     226  # MD5_ENTRY contains the md5sum entry from the .md5 file for this module
     227  echo $MD5_ENTRY | {
     228    read md5 tarball
     229
     230    # download
     231    wget &qt5-download-http;$tarball
     232    md5sum -c - &lt;&lt;&lt; "$MD5_ENTRY" || exit 1
     233
     234    packagedir=${tarball%.tar*}
     235
     236    tar -xf $tarball
     237    pushd $packagedir
     238    # OPTIONS contains the qmake options
     239      if [ -n "$OPTIONS" ]; then
     240        qmake -- $OPTIONS
     241      else
     242        qmake
     243      fi
     244      make
     245      as_root make install
     246      if type -p post_install; then post_install; fi
     247    popd
     248
     249    rm -rf $packagedir
     250  }
     251  as_root /sbin/ldconfig
     252
     253  #   Remove references to the build directory from installed library
     254  #   dependency (prl) files:
     255  as_root find $QT5DIR/ -name \*.prl \
     256             -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
     257}
     258
     259export -f module_build</userinput></screen>
     260  </sect2>
     261
     262  <sect2 id="qt-basic" xreflabel="Basic Qt5 Modules">
     263    <title>Basic Qt5 Modules</title>
     264
    93265    <para role="required">
    94       <xref linkend="xorg7-lib"/>
    95     </para>
    96 
    97     <bridgehead renderas="sect4">Recommended</bridgehead>
    98     <para role="recommended">
    99       <xref linkend="alsa-lib"/>,
    100       <xref linkend="make-ca"/>,
    101       <xref linkend="cups"/>,
    102       <xref linkend="glib2"/>,
    103       <xref linkend="gst10-plugins-base"/> (QtMultimedia backend),
    104       <xref linkend="harfbuzz"/>,
    105       <xref linkend="icu"/>,
    106       <xref linkend="jasper"/>,
    107       <xref linkend="libjpeg"/>,
    108       <xref linkend="libmng"/>,
    109       <xref linkend="libpng"/>,
    110       <xref linkend="libtiff"/>,
    111       <xref linkend="libwebp"/>,
    112       <xref linkend="libxkbcommon"/>,
    113       <xref linkend="mesa"/>,
    114       <xref linkend="mitkrb"/>,
    115       <xref linkend="mtdev"/>,
    116       <xref linkend="pcre2"/>,
    117       <xref linkend="sqlite"/>,
    118       <xref linkend="wayland"/> (<application>Mesa</application>
    119       must be built with <application>Wayland</application> EGL
    120       backend),
    121       <xref linkend="xcb-util-image"/>,
    122       <xref linkend="xcb-util-keysyms"/>,
    123       <xref linkend="xcb-util-renderutil"/>, and
    124       <xref linkend="xcb-util-wm"/>
    125     </para>
    126 
    127     <bridgehead renderas="sect4">Optional</bridgehead>
    128     <para role="optional">
    129       <xref role="runtime" linkend="bluez"/> (for sdpscanner, and at runtime for
    130       QtConnectivity module),
    131       <xref linkend="ibus"/>,
    132       <xref linkend="libinput"/>, <!-- needs -libinput switch -->
    133       <xref linkend="mariadb"/>
    134         or <ulink url="http://www.mysql.com/">MySQL</ulink>,
    135       <xref linkend="pciutils"/> (required for QtWebEngine),
    136       <xref linkend="postgresql"/>,
    137       <xref linkend="python2"/> (required for QtWebEngine),
    138       <xref linkend="pulseaudio"/>,
    139       <xref linkend="sdl2"/>,
    140       <xref linkend="unixodbc"/>,
    141       <ulink url="https://www.assimp.org/">assimp</ulink>,
    142       <ulink url="http://www.festvox.org/flite/">Flite</ulink>,
    143       <ulink url="http://www.firebirdsql.org/">Firebird</ulink>,
    144       <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
    145       <ulink url="https://libproxy.github.io/libproxy/">libproxy</ulink>,
    146       <ulink url="https://openal.org/">OpenAL</ulink>,
    147       <ulink url="https://freebsoft.org/speechd/">speech-dispatcher</ulink>,
    148       <ulink url="http:///www.tslib.org/">tslib</ulink>, and
    149       <ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>
    150     </para>
    151 
    152     <!-- Many of the dependencies in the qmake/configure output do not apply
    153          to Linux-based platforms. I've selected the ones that do and put
    154          them in as optional dependencies. -renodr -->
    155     <para condition="html" role="usernotes">
    156        User Notes: <ulink url="&blfs-wiki;/qt5"/>
    157     </para>
     266      The modules in this group only depend on <xref linkend="qtbase"/>
     267      and a properly set <envar>QT5DIR</envar> environment variable.
     268    </para>
     269
     270    <para>
     271      Install the basic modules with the following instructions:
     272    </para>
     273
     274<screen><userinput>( # start a subshell
     275set -e # exit the subshell in case of error
     276
     277unset OPTIONS
     278sed -n "/Begin basic/,/End basic/p" qt5-submodules-&qt5-version;.md5 | \
     279                while read MD5_ENTRY; do
     280  if [ -z "${MD5_ENTRY%\#*}" ]; then continue; fi
     281  case "$MD5_ENTRY" in
     282    *qttools*)
     283      post_install(){
     284        QT5BINDIR=$QT5DIR/bin
     285
     286        as_root sh &lt;&lt; ROOT_EOF
     287        install -v -dm755 /usr/share/pixmaps/
     288
     289        install -v -Dm644 src/assistant/assistant/images/assistant-128.png \
     290                  /usr/share/pixmaps/assistant-qt5.png
     291
     292        install -v -Dm644 src/designer/src/designer/images/designer.png \
     293                  /usr/share/pixmaps/designer-qt5.png
     294
     295        install -v -Dm644 src/linguist/linguist/images/icons/linguist-128-32.png \
     296                  /usr/share/pixmaps/linguist-qt5.png
     297
     298        install -v -Dm644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
     299                  /usr/share/pixmaps/qdbusviewer-qt5.png
     300
     301        install -dm755 /usr/share/applications
     302
     303        cat &gt; /usr/share/applications/assistant-qt5.desktop &lt;&lt; EOF
     304[Desktop Entry]
     305Name=Qt5 Assistant
     306Comment=Shows Qt5 documentation and examples
     307Exec=$QT5BINDIR/assistant
     308Icon=assistant-qt5.png
     309Terminal=false
     310Encoding=UTF-8
     311Type=Application
     312Categories=Qt;Development;Documentation;
     313EOF
     314
     315        cat &gt; /usr/share/applications/designer-qt5.desktop &lt;&lt; EOF
     316[Desktop Entry]
     317Name=Qt5 Designer
     318GenericName=Interface Designer
     319Comment=Design GUIs for Qt5 applications
     320Exec=$QT5BINDIR/designer
     321Icon=designer-qt5.png
     322MimeType=application/x-designer;
     323Terminal=false
     324Encoding=UTF-8
     325Type=Application
     326Categories=Qt;Development;
     327EOF
     328
     329        cat &gt; /usr/share/applications/linguist-qt5.desktop &lt;&lt; EOF
     330[Desktop Entry]
     331Name=Qt5 Linguist
     332Comment=Add translations to Qt5 applications
     333Exec=$QT5BINDIR/linguist
     334Icon=linguist-qt5.png
     335MimeType=text/vnd.trolltech.linguist;application/x-linguist;
     336Terminal=false
     337Encoding=UTF-8
     338Type=Application
     339Categories=Qt;Development;
     340EOF
     341
     342        cat &gt; /usr/share/applications/qdbusviewer-qt5.desktop &lt;&lt; EOF
     343[Desktop Entry]
     344Name=Qt5 QDbusViewer
     345GenericName=D-Bus Debugger
     346Comment=Debug D-Bus applications
     347Exec=$QT5BINDIR/qdbusviewer
     348Icon=qdbusviewer-qt5.png
     349Terminal=false
     350Encoding=UTF-8
     351Type=Application
     352Categories=Qt;Development;Debugger;
     353EOF
     354ROOT_EOF
     355      }
     356      export -f post_install ;;
     357
     358    *) unset -f post_install ;;
     359  esac
     360
     361  module_build
     362
     363done
     364#     Some packages such as vlc look for certain
     365#     executables with a -qt5 suffix:
     366for file in lconvert lrelease lupdate; do
     367  as_root ln -sfrvn $QT5DIR/bin/$file /usr/bin/$file-qt5
     368done
     369
     370)</userinput></screen>
     371
     372    <sect3 role="content">
     373      <title>Contents of basic modules</title>
     374
     375      <segmentedlist>
     376        <segtitle>Installed Programs</segtitle>
     377        <segtitle>Installed Libraries</segtitle>
     378        <segtitle>Installed Directories</segtitle>
     379
     380        <seglistitem>
     381          <seg>
     382            assistant,
     383            designer,
     384            lconvert,
     385            linguist,
     386            lprodump,
     387            lrelease,
     388            lrelease-pro,
     389            lupdate,
     390            lupdate-pro,
     391            pixeltool,
     392            qcollectiongenerator,
     393            qdbus,
     394            qdbusviewer,
     395            qdoc,
     396            qhelpgenerator,
     397            qtattributionsscanner,
     398            qtdiag,
     399            qtpaths,
     400            qtplugininfo, and
     401            qtwaylandscanner
     402          </seg>
     403          <seg>
     404            libQt5DesignerComponents.so,
     405            libQt5Designer.so,
     406            libQt5Help.so,
     407            libQt5Svg.so,
     408            libQt5WaylandClient.so,
     409            libQt5WaylandCompositor.so, and
     410            libQt5X11Extras.so
     411          </seg>
     412          <seg>
     413            $QT5DIR/phrasebooks,
     414            $QT5DIR/include/{QtUiTools,QtHelp,QtDesigner,QtX11Extras,QtSvg},
     415            $QT5DIR/include/{QtWaylandCompositor,QtWaylandClient},
     416            $QT5DIR/include/{QtDesignerComponents,QtUiPlugin},
     417            $QT5DIR/lib/cmake/{Qt5AttributionsScannerTools,Qt5Help,Qt5Designer},
     418            $QT5DIR/lib/cmake/{Qt5X11Extras,Qt5Svg,Qt5UiTools,Qt5DocTools},
     419            $QT5DIR/lib/cmake/{Qt5WaylandCompositor,Qt5WaylandClient},
     420            $QT5DIR/lib/cmake/{Qt5DesignerComponents,Qt5UiPlugin},
     421            $QT5DIR/lib/cmake/Qt5LinguistTools,
     422            $QT5DIR/plugins/wayland-graphics-integration-client,
     423            $QT5DIR/plugins/wayland-graphics-integration-server,
     424            $QT5DIR/plugins/wayland-decoration-client, and
     425            $QT5DIR/plugins/iconengines
     426          </seg>
     427        </seglistitem>
     428      </segmentedlist>
     429
     430      <variablelist>
     431        <bridgehead renderas="sect4">Short Descriptions</bridgehead>
     432        <?dbfo list-presentation="list"?>
     433        <?dbhtml list-presentation="table"?>
     434
     435        <varlistentry id="lconvert-qt5">
     436          <term><command>lconvert</command></term>
     437          <listitem>
     438            <para>
     439              is part of Qt5's Linguist tool chain. It can be used as a
     440              standalone tool to convert and filter translation data files.
     441            </para>
     442            <indexterm zone="qt5 lconvert-qt5">
     443              <primary sortas="b-lconvert-qt5">lconvert</primary>
     444            </indexterm>
     445          </listitem>
     446        </varlistentry>
     447
     448        <varlistentry id="linguist-qt5">
     449          <term><command>linguist</command></term>
     450          <listitem>
     451            <para>
     452              provides support for translating applications into
     453              local languages.
     454            </para>
     455            <indexterm zone="qt5 linguist-qt5">
     456              <primary sortas="b-linguist-qt5">linguist</primary>
     457            </indexterm>
     458          </listitem>
     459        </varlistentry>
     460
     461        <varlistentry id="lrelease-qt5">
     462          <term><command>lrelease</command></term>
     463          <listitem>
     464            <para>
     465              is a simple command line tool. It reads XML-based translation
     466              file in TS format and produces message files used by the
     467              application.
     468            </para>
     469            <indexterm zone="qt5 lrelease-qt5">
     470              <primary sortas="b-lrelease-qt5">lrelease</primary>
     471            </indexterm>
     472          </listitem>
     473        </varlistentry>
     474
     475        <varlistentry id="lrelease-pro">
     476          <term><command>lrelease-pro</command></term>
     477          <listitem>
     478            <para>
     479              extracts project information from qmake projects and passes
     480              it to lrelease.
     481            </para>
     482            <indexterm zone="qt5 lrelease-pro">
     483              <primary sortas="b-lrelease-pro">lrelease-pro</primary>
     484            </indexterm>
     485          </listitem>
     486        </varlistentry>
     487
     488        <varlistentry id="lupdate-qt5">
     489          <term><command>lupdate</command></term>
     490          <listitem>
     491            <para>
     492              finds the translatable
     493              strings in the specified source, header and Qt Designer
     494              interface files, and stores the extracted messages in
     495              translation files to be processed by lrelease.
     496            </para>
     497            <indexterm zone="qt5 lupdate-qt5">
     498              <primary sortas="b-lupdate-qt5">lupdate</primary>
     499            </indexterm>
     500          </listitem>
     501        </varlistentry>
     502
     503        <varlistentry id="lupdate-pro">
     504          <term><command>lupdate-pro</command></term>
     505          <listitem>
     506            <para>
     507              reads a Qt project file, an passes the collected information
     508              to lupdate.
     509            </para>
     510            <indexterm zone="qt5 lupdate-pro">
     511              <primary sortas="b-lupdate-pro">lupdate-pro</primary>
     512            </indexterm>
     513          </listitem>
     514        </varlistentry>
     515
     516        <varlistentry id="pixeltool-qt5">
     517          <term><command>pixeltool</command></term>
     518          <listitem>
     519            <para>
     520              is a desktop magnifier and as you move your mouse around
     521              the screen it will show the magnified contents in its window.
     522            </para>
     523            <indexterm zone="qt5 pixeltool-qt5">
     524              <primary sortas="b-pixeltool-qt5">pixeltool</primary>
     525            </indexterm>
     526          </listitem>
     527        </varlistentry>
     528
     529        <varlistentry id="qcollectiongenerator-qt5">
     530          <term><command>qcollectiongenerator</command></term>
     531          <listitem>
     532            <para>
     533              processes and converts Qt help files.
     534            </para>
     535            <indexterm zone="qt5 qcollectiongenerator-qt5">
     536              <primary sortas="b-qcollectiongenerator-qt5">qcollectiongenerator-qt5</primary>
     537            </indexterm>
     538          </listitem>
     539        </varlistentry>
     540
     541        <varlistentry id="qdbus-qt5">
     542          <term><command>qdbus</command></term>
     543          <listitem>
     544            <para>
     545              lists available services, object paths,  methods, signals, and
     546              properties of objects on a bus.
     547            </para>
     548            <indexterm zone="qt5 qdbus-qt5">
     549              <primary sortas="b-qdbus-qt5">qdbus</primary>
     550            </indexterm>
     551          </listitem>
     552        </varlistentry>
     553
     554        <varlistentry id="qdbusviewer-qt5">
     555          <term><command>qdbusviewer</command></term>
     556          <listitem>
     557            <para>
     558              is a graphical D-Bus browser.
     559            </para>
     560            <indexterm zone="qt5 qdbusviewer-qt5">
     561              <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
     562            </indexterm>
     563          </listitem>
     564        </varlistentry>
     565
     566        <varlistentry id="qdoc-qt5">
     567          <term><command>qdoc</command></term>
     568          <listitem>
     569            <para>
     570              is a tool used by <application>Qt</application> Developers to
     571              generate documentation for software projects.
     572            </para>
     573            <indexterm zone="qt5 qdoc-qt5">
     574              <primary sortas="b-qdoc-qt5">qdoc</primary>
     575            </indexterm>
     576          </listitem>
     577        </varlistentry>
     578
     579        <varlistentry id="qhelpgenerator-qt5">
     580          <term><command>qhelpgenerator</command></term>
     581          <listitem>
     582            <para>
     583              is a tool used to generate a <application>Qt</application>
     584              compressed help file.
     585            </para>
     586            <indexterm zone="qt5 qhelpgenerator-qt5">
     587              <primary sortas="b-qhelpgenerator-qt5">qhelpgenerator</primary>
     588            </indexterm>
     589          </listitem>
     590        </varlistentry>
     591
     592        <varlistentry id="qtattributionsscanner-qt5">
     593          <term><command>qtattributionsscanner</command></term>
     594          <listitem>
     595            <para>
     596              processes qt_attribution.json files in Qt sources.
     597            </para>
     598            <indexterm zone="qt5 qtattributionsscanner-qt5">
     599              <primary sortas="b-qtattributionsscanner-qt5">qtattributionsscanner</primary>
     600            </indexterm>
     601          </listitem>
     602        </varlistentry>
     603
     604        <varlistentry id="qtdiag-qt5">
     605          <term><command>qtdiag</command></term>
     606          <listitem>
     607            <para>
     608              is a tool for reporting diagnostic information about Qt and its
     609              environment.
     610            </para>
     611            <indexterm zone="qt5 qtdiag-qt5">
     612              <primary sortas="b-qtdiag-qt5">qtdiag</primary>
     613            </indexterm>
     614          </listitem>
     615        </varlistentry>
     616
     617        <varlistentry id="qtpaths-qt5">
     618          <term><command>qtpaths</command></term>
     619          <listitem>
     620            <para>
     621              is a tool to query Qt path information.
     622            </para>
     623            <indexterm zone="qt5 qtpaths-qt5">
     624              <primary sortas="b-qtpaths-qt5">qtpaths</primary>
     625            </indexterm>
     626          </listitem>
     627        </varlistentry>
     628
     629        <varlistentry id="qtplugininfo">
     630          <term><command>qtplugininfo</command></term>
     631          <listitem>
     632            <para>
     633              dumps meta-data about Qt plugins in JSON format.
     634            </para>
     635            <indexterm zone="qt5 qtplugininfo">
     636              <primary sortas="b-qtplugininfo">qtplugininfo</primary>
     637            </indexterm>
     638          </listitem>
     639        </varlistentry>
     640
     641      </variablelist>
     642
     643    </sect3>
    158644  </sect2>
    159645
    160   <sect2 role="qt5-prefix">
    161     <title>Setting the installation prefix</title>
    162 
    163     <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
    164 
    165     <para>
    166       The BLFS editors recommend installing <application>Qt5</application> in a
    167       directory other than <filename class="directory">/usr</filename>, ie
    168       <filename class="directory">/opt/qt5</filename>.  To do this,  set the
    169       following environment variable:
    170     </para>
    171 
    172 <screen><userinput>export QT5PREFIX=/opt/qt5</userinput></screen>
    173 
    174     <tip>
    175       <para>
    176         Sometimes, the installation paths are hardcoded into installed files.
    177         This is the reason why <filename class="directory">/opt/qt5</filename>
    178         is used as installation prefix instead of <filename
    179         class="directory">/opt/qt-&qt5-version;</filename>. To create a
    180         versioned <application>Qt5</application> directory after the
    181         installation is complete, you may rename the directory and create a symlink:
    182       </para>
    183 
    184 <screen role="root"><userinput>mkdir -pv /opt/qt-&qt5-version;
    185 ln -sfnv qt-&qt5-version; /opt/qt5</userinput></screen>
    186 
    187       <para>
    188         Later on, you may want to install other versions of
    189         <application>Qt5</application>. To do that, just remove the symlink
    190         and use <filename class="directory">/opt/qt5</filename> as the
    191         prefix again. Which version of <application>Qt5</application> you
    192         use depends only on where the symlink points.
    193       </para>
    194     </tip>
    195 
    196     <note>
    197       <para>
    198         If <xref linkend="qca"/> has been installed and you are
    199         reinstalling or updating this package, then
    200         <application>qca</application> will need to be reinstalled.
    201       </para>
    202     </note>
    203 
     646  <sect2 id="qt-kde" xreflabel="Modules Needed for KDE">
     647    <title>Modules Needed for KDE</title>
     648    <para>
     649      Install the modules needed for KDE with the following instructions:
     650    </para>
     651  </sect2>
     652
     653  <sect2 id="qtwebengine" xreflabel="QtWebEngine">
     654    <title>QTWebEngine</title>
     655    <para>
     656      Install QtWebEngine with the following instructions:
     657    </para>
     658  </sect2>
     659
     660  <sect2 id="qt-miscellaneous" xreflabel="Other Modules">
     661    <title>Other Modules</title>
     662    <para>
     663      Install the remaining modules with the following instructions:
     664    </para>
    204665  </sect2>
    205666
     
    472933    <para>
    473934      <parameter>-skip qtwebengine</parameter>: This switch disables building
    474       the QtWebEngine. The BLFS editors have chosen to build <xref
    475       linkend="qtwebengine"/> separately.
     935      the QtWebEngine. <!--The BLFS editors have chosen to build <xref
     936      linkend="qtwebengine"/> separately.-->
    476937    </para>
    477938
     
    6411102      </seglistitem>
    6421103    </segmentedlist>
    643 
     1104<!--
    6441105    <variablelist>
    6451106      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     
    6471108      <?dbhtml list-presentation="table"?>
    6481109
    649       <varlistentry id="assistant-qt5">
    650         <term><command>assistant</command></term>
    651         <listitem>
    652           <para>
    653             is a tool for presenting on-line documentation
    654           </para>
    655           <indexterm zone="qt5 assistant-qt5">
    656             <primary sortas="b-assistant-qt5">assistant</primary>
    657           </indexterm>
    658         </listitem>
    659       </varlistentry>
    660 
    661       <varlistentry id="balsam">
    662         <term><command>balsam</command></term>
    663         <listitem>
    664           <para>
    665             is a tool to convert 3D scenes from various creation tools
    666             to QML format, for use by the new QtQuick 3D library
    667           </para>
    668           <indexterm zone="qt5 balsam">
    669             <primary sortas="b-balsam">balsam</primary>
    670           </indexterm>
    671         </listitem>
    672       </varlistentry>
    673 
    674       <varlistentry id="canbusutil">
    675         <term><command>canbustil</command></term>
    676         <listitem>
    677           <para>
    678             is a tool to deal with arbitrary CAN bus frames.
    679             A Controller Area Network (CAN) is a vehicle bus standard designed
    680             to allow microcontrollers and devices to communicate with each other
    681             in applications without a host computer
    682           </para>
    683           <indexterm zone="qt5 canbusutil">
    684             <primary sortas="b-canbusutil">canbusutil</primary>
    685           </indexterm>
    686         </listitem>
    687       </varlistentry>
    688 
    689       <varlistentry id="designer-qt5">
    690         <term><command>designer</command></term>
    691         <listitem>
    692           <para>
    693             is a full-fledged GUI builder. It includes
    694             powerful features such as preview mode, automatic widget
    695             layout, support for custom widgets, and an advanced
    696             property editor
    697           </para>
    698           <indexterm zone="qt5 designer-qt5">
    699             <primary sortas="b-designer-qt5">designer</primary>
    700           </indexterm>
    701         </listitem>
    702       </varlistentry>
    703 
    704      <varlistentry id="fixqt4headers.pl">
    705         <term><command>fixqt4headers.pl</command></term>
    706         <listitem>
    707           <para>
    708             is a script to replace all Qt 4 style includes with Qt 5 includes
    709           </para>
    710           <indexterm zone="qt5 fixqt4headers.pl">
    711             <primary sortas="b-fixqt4headers.pl">fixqt4headers.pl</primary>
    712           </indexterm>
    713         </listitem>
    714       </varlistentry>
    715 
    7161110      <varlistentry id="lconvert-qt5">
    7171111        <term><command>lconvert</command></term>
     
    8071201      </varlistentry>
    8081202
    809       <varlistentry id="moc-qt5">
    810         <term><command>moc</command></term>
    811         <listitem>
    812           <para>
    813             generates Qt meta object support code
    814           </para>
    815           <indexterm zone="qt5 moc-qt5">
    816             <primary sortas="b-moc-qt5">moc</primary>
    817           </indexterm>
    818         </listitem>
    819       </varlistentry>
    820 
    8211203      <varlistentry id="pixeltool-qt5">
    8221204        <term><command>pixeltool</command></term>
     
    8441226      </varlistentry>
    8451227
    846       <varlistentry id="qdbuscpp2xml-qt5">
    847         <term><command>qdbuscpp2xml</command></term>
    848         <listitem>
    849           <para>
    850             takes a C++ source file and generates a D-Bus XML definition
    851             of the interface
    852           </para>
    853           <indexterm zone="qt5 qdbuscpp2xml-qt5">
    854             <primary sortas="b-qdbuscpp2xml-qt5">qdbuscpp2xml</primary>
    855           </indexterm>
    856         </listitem>
    857       </varlistentry>
    858 
    8591228      <varlistentry id="qdbus-qt5">
    8601229        <term><command>qdbus</command></term>
     
    8781247          <indexterm zone="qt5 qdbusviewer-qt5">
    8791248            <primary sortas="b-qdbusviewer-qt5">qdbusviewer</primary>
    880           </indexterm>
    881         </listitem>
    882       </varlistentry>
    883 
    884       <varlistentry id="qdbusxml2cpp-qt5">
    885         <term><command>qdbusxml2cpp</command></term>
    886         <listitem>
    887           <para>
    888             is a tool that can be used to parse interface descriptions
    889             and produce static code representing those interfaces,
    890           </para>
    891           <indexterm zone="qt5 qdbusxml2cpp-qt5">
    892             <primary sortas="b-qdbusxml2cpp-qt5">qdbusxml2cpp</primary>
    8931249          </indexterm>
    8941250        </listitem>
     
    9491305      </varlistentry>
    9501306
    951       <varlistentry id="qlalr-qt5">
    952         <term><command>qlalr</command></term>
    953         <listitem>
    954           <para>
    955             is a tool used to generate code from grammar specifications
    956           </para>
    957           <indexterm zone="qt5 qlalr-qt5">
    958             <primary sortas="b-qlalr-qt5">qlalr</primary>
    959           </indexterm>
    960         </listitem>
    961       </varlistentry>
    962 
    963       <varlistentry id="qmake-qt5">
    964         <term><command>qmake</command></term>
    965         <listitem>
    966           <para>
    967             uses information stored in project files to
    968             determine what should go in the makefiles it
    969             generates
    970           </para>
    971           <indexterm zone="qt5 qmake-qt5">
    972             <primary sortas="b-qmake-qt5">qmake</primary>
    973           </indexterm>
    974         </listitem>
    975       </varlistentry>
    976 
    9771307     <varlistentry id="qml">
    9781308        <term><command>qml</command></term>
     
    11831513      </varlistentry>
    11841514
    1185       <varlistentry id="qtwaylandscanner">
    1186         <term><command>qtwaylandscanner</command></term>
    1187         <listitem>
    1188           <para>
    1189             converts Wayland specfiles to C++ headers and code needed for
    1190             QtWayland
    1191           </para>
    1192           <indexterm zone="qt5 qtwaylandscanner">
    1193             <primary sortas="b-qtwaylandscanner">qtwaylandscanner</primary>
    1194           </indexterm>
    1195         </listitem>
    1196       </varlistentry>
    1197 
    1198       <varlistentry id="qvkgen">
    1199         <term><command>qvkgen</command></term>
    1200         <listitem>
    1201           <para>
    1202             converts Vulkan specfiles to C++ headers and code
    1203           </para>
    1204           <indexterm zone="qt5 qvkgen">
    1205             <primary sortas="b-qvkgen">qvkgen</primary>
    1206           </indexterm>
    1207         </listitem>
    1208       </varlistentry>
    1209 
    1210       <varlistentry id="rcc-qt5">
    1211         <term><command>rcc</command></term>
    1212         <listitem>
    1213           <para>
    1214             is a resource compiler used in conjunction with designer
    1215           </para>
    1216           <indexterm zone="qt5 rcc-qt5">
    1217             <primary sortas="b-rcc-qt5">rcc</primary>
    1218           </indexterm>
    1219         </listitem>
    1220       </varlistentry>
    1221 
    12221515      <varlistentry id="repc">
    12231516        <term><command>repc</command></term>
     
    12461539      </varlistentry>
    12471540
    1248      <varlistentry id="syncqt.pl-qt5">
    1249         <term><command>syncqt.pl</command></term>
    1250         <listitem>
    1251           <para>
    1252             is a script to create the forwarding headers in the include
    1253             directories. It is an internal development tool
    1254           </para>
    1255           <indexterm zone="qt5 syncqt.pl-qt5">
    1256             <primary sortas="b-syncqt.pl-qt5">syncqt.pl</primary>
    1257           </indexterm>
    1258         </listitem>
    1259       </varlistentry>
    1260 
    1261       <varlistentry id="tracegen">
    1262         <term><command>tracegen</command></term>
    1263         <listitem>
    1264           <para>
    1265             is a trace generator for LTTng or ETW
    1266           </para>
    1267           <indexterm zone="qt5 tracegen">
    1268             <primary sortas="b-tracegen">tracegen</primary>
    1269           </indexterm>
    1270         </listitem>
    1271       </varlistentry>
    1272 
    1273       <varlistentry id="uic-qt5">
    1274         <term><command>uic</command></term>
    1275         <listitem>
    1276           <para>
    1277             is a Qt user interface compiler
    1278           </para>
    1279           <indexterm zone="qt5 uic-qt5">
    1280             <primary sortas="b-uic-qt5">uic</primary>
    1281           </indexterm>
    1282         </listitem>
    1283       </varlistentry>
    1284 
    12851541      <varlistentry id="xmlpatterns-qt5">
    12861542        <term><command>xmlpatterns</command></term>
     
    13091565
    13101566    </variablelist>
    1311 
     1567-->
    13121568  </sect2>
    13131569
  • xsoft/graphweb/falkon.xml

    redd2feb7 r1daaab6d  
    9797    <bridgehead renderas="sect4">Required</bridgehead>
    9898    <para role="required">
    99       <xref linkend="extra-cmake-modules"/> and
    100       <xref linkend="qtwebengine"/>
     99      <xref linkend="extra-cmake-modules"/> <!-- and
     100      <xref linkend="qtwebengine"/>-->
    101101    </para>
    102102
Note: See TracChangeset for help on using the changeset viewer.