Changeset 1b0d0188


Ignore:
Timestamp:
06/24/2015 09:55:25 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, nosym, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
8e6f4f8
Parents:
233a4949
Message:

Update qt4 and qt5 instructions
Prep for KF5
Temove some tab characters

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16163 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r233a4949 r1b0d0188  
    157157                          linkend='parallel-builds'/> for more information.</para></note>">
    158158
     159<!-- KF5 entities -->
     160<!ENTITY kf5-version       "5.11.0">
     161<!ENTITY kf5-base          "5.11">
     162<!ENTITY kf5-download-http "http://download.kde.org/stable/frameworks/&kf5-base;">
     163<!ENTITY kf5-download-ftp  "ftp://ftp.kde.org/pub/kde/stable/frameworks/&kf5-base;">
     164
  • general/prog/tcl.xml

    r233a4949 r1b0d0188  
    179179  <sect2 role="commands">
    180180    <title>Command Explanations</title>
    181 
    182     <para>
    183       <option>--without-tzdata</option>: This switch prevents installation
    184       of the shipped timezone data which are older than the ones provided
    185       in LFS.
    186     </para>
    187181
    188182    <para>
  • packages.ent

    r233a4949 r1b0d0188  
    510510<!ENTITY kdepim-version               "4.14.9">
    511511<!ENTITY automoc4-version             "0.9.88">
     512<!ENTITY extra-cmake-modules-version  "1.7.0">
    512513<!ENTITY phonon-version               "4.8.3">
    513514<!ENTITY phonon-backend-gstreamer-version "4.8.2">
  • x/lib/qt4.xml

    r233a4949 r1b0d0188  
    55  %general-entities;
    66
     7  <!ENTITY qt4-major "4.8">
     8  <!ENTITY qt4-url   "http://download.qt-project.org/official_releases/qt/&qt4-major;">
     9
    710  <!ENTITY qt4-download-http
    8            "http://download.qt-project.org/official_releases/qt/4.8/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
     11           "&qt4-url;;/&qt4-version;/qt-everywhere-opensource-src-&qt4-version;.tar.gz">
    912  <!ENTITY qt4-download-ftp  " ">
    1013  <!ENTITY qt4-md5sum        "d990ee66bf7ab0c785589776f35ba6ad">
     
    2932
    3033  <sect2 role="package">
    31     <title>Introduction to Qt</title>
    32 
    33     <para>
    34       <application>Qt</application> is a cross-platform application
    35       framework that is widely used for developing application software
    36       with a graphical user interface (GUI) (in which cases Qt is classified
    37       as a widget toolkit), and also used for developing non-GUI programs such
    38       as command-line tools and consoles for servers. One of the major users
    39       of <application>Qt</application> is <application>KDE</application>.
     34    <title>Introduction to Qt4</title>
     35
     36    <para>
     37      <application>Qt4</application> is a cross-platform application framework
     38      that is widely used for developing application software with a graphical
     39      user interface (GUI) (in which cases Qt4 is classified as a widget
     40      toolkit), and also used for developing non-GUI programs such as
     41      command-line tools and consoles for servers. One of the major users of
     42      <application>Qt</application> is <application>KDE4</application>.
    4043    </para>
    4144
     
    115118  </sect2>
    116119
    117   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../xincludes/qt-alternatives.xml"/>
     120  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     121              href="../../xincludes/qt-alternatives.xml"/>
    118122
    119123  <sect2 role="qt4-prefix">
    120124    <title>Setting the installation prefix</title>
    121125
    122     <bridgehead renderas="sect3">Installing in /usr</bridgehead>
    123 
    124     <para>
    125       If you want to install <application>Qt4</application>
    126       in <filename class="directory">/usr</filename>, set the
     126    <bridgehead renderas="sect3">Installing in /opt/qt4</bridgehead>
     127
     128    <para>
     129      The BLFS editors recommend installing <application>Qt4</application> in a
     130      directory other than <filename class="directory">/usr</filename>, ie
     131      <filename class="directory">/opt/qt4</filename>.  To do this, set the
    127132      following environment variable:
    128     </para>
    129 
    130 <screen><userinput>export QT4PREFIX=/usr</userinput></screen>
    131 
    132     <bridgehead renderas="sect3">Installing in /opt/qt4</bridgehead>
    133 
    134     <para>
    135       If you want to install <application>Qt4</application>
    136       in a directory other than <filename
    137       class="directory">/usr</filename>, ie
    138       <filename class="directory">/opt/qt4</filename>, set
    139       the following environment variable:
    140133    </para>
    141134
     
    167160
    168161  <sect2 role="installation">
    169     <title>Installation of Qt</title>
    170 
    171     <caution>
    172       <para>
    173         If you did not install some of the recommended dependencies, examine
    174         <command>./configure --help</command> output to check how to disable
    175         them or use internal versions bundled in the source tarball.
    176       </para>
    177     </caution>
     162    <title>Installation of Qt4</title>
    178163
    179164    <warning>
     
    188173    </warning>
    189174
     175    <caution>
     176      <para>
     177        If you did not install some of the recommended dependencies, examine
     178        <command>./configure --help</command> output to check how to disable
     179        them or use internal versions bundled in the source tarball.
     180      </para>
     181    </caution>
     182
    190183    <note>
    191184      <para>
    192185        The build time and space required for the full
    193         <application>Qt</application> is quite long. The instructions below
    194         do not build the tutorials and examples. Removing the
     186        <application>Qt3</application> is quite long. The instructions below do
     187        not build the tutorials and examples. Removing the
    195188        <parameter>-nomake</parameter> lines will create a complete build.
    196189      </para>
    197190    </note>
    198191
    199     <para>
    200       Install <application>Qt4</application> into the <filename
    201       class='directory'>/usr</filename> hierarchy by running the following
    202       commands:
    203     </para>
    204 
    205 <screen><userinput>./configure -prefix         $QT4PREFIX                        \
    206             -sysconfdir     /etc/xdg                          \
    207             -bindir         $QT4BINDIR                        \
    208             -plugindir      $QT4PREFIX/lib/qt4/plugins        \
    209             -importdir      $QT4PREFIX/lib/qt4/imports        \
    210             -headerdir      $QT4PREFIX/include/qt4            \
    211             -datadir        $QT4PREFIX/share/qt4              \
    212             -docdir         $QT4PREFIX/share/doc/qt4          \
    213             -translationdir $QT4PREFIX/share/qt4/translations \
    214             -demosdir       $QT4PREFIX/share/doc/qt4/demos    \
    215             -examplesdir    $QT4PREFIX/share/doc/qt4/examples \
    216             -confirm-license   \
    217             -opensource        \
    218             -release           \
    219             -dbus-linked       \
    220             -openssl-linked    \
    221             -system-sqlite     \
    222             -no-phonon         \
    223             -no-phonon-backend \
    224             -no-openvg         \
    225             -nomake demos      \
    226             -nomake examples   \
    227             -optimized-qmake   &amp;&amp;
    228 
     192    <note>
     193      <para>
     194        The BLFS editors do not recommend installing <application>Qt4</application>
     195        into the /usr hierarchy because it becomes difficult to find
     196        components and to update to a new version.  If you do want to install
     197        <application>Qt4</application> in /usr, the directories need to
     198        be specified explicitly.  In this case, set QT4PREFIX=/usr and add
     199        the following to the configure arguments below:</para>
     200
     201        <screen><userinput>-bindir         /usr/bin/qt4                \
     202-plugindir      /usr/lib/qt4/plugins        \
     203-importdir      /usr/lib/qt4/imports        \
     204-headerdir      /usr/include/qt4            \
     205-datadir        /usr/share/qt4              \
     206-docdir         /usr/share/doc/qt4          \
     207-translationdir /usr/share/qt4/translations \
     208-demosdir       /usr/share/doc/qt4/demos    \
     209-examplesdir    /usr/share/doc/qt4/examples </userinput></screen>
     210    </note>
     211
     212    <para>
     213      Install <application>Qt4</application> by running the following commands:
     214    </para>
     215
     216<screen><userinput>./configure -prefix           $QT4PREFIX \
     217            -sysconfdir       /etc/xdg   \
     218            -confirm-license             \
     219            -opensource                  \
     220            -release                     \
     221            -dbus-linked                 \
     222            -openssl-linked              \
     223            -system-sqlite               \
     224            -no-phonon                   \
     225            -no-phonon-backend           \
     226            -no-openvg                   \
     227            -nomake demos                \
     228            -nomake examples             \
     229            -optimized-qmake             &amp;&amp;
    229230make</userinput></screen>
    230231
     
    234235
    235236    <para>
    236       Remove references to the build directory from the
     237      Now as the <systemitem class="username">root</systemitem> user:
     238    </para>
     239
     240<screen role="root"><userinput>make install &amp;&amp;
     241rm -rf $QT4PREFIX/tests</userinput></screen>
     242
     243    <para>
     244      Remove references to the build directory from the installed
    237245      <filename class="extension">.pc</filename> files by running
    238246      the following command:
    239247    </para>
    240248
    241 <screen><userinput>find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
    242 
    243     <para>Now as the <systemitem class="username">root</systemitem> user:</para>
    244 
    245 <screen role="root"><userinput>make install &amp;&amp;
    246 rm -rf /usr/tests</userinput></screen>
    247 
    248     <para>
    249       Remove references to the build directory from installed files by
    250       running the following command as the
     249<screen><userinput>find $QT4PREFIX/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
     250
     251    <para>
     252      Remove references to the build directory in the installed library dependency
     253      (prl) files by running the following command as the
    251254      <systemitem class="username">root</systemitem> user:
    252255    </para>
    253256
    254 <screen role="root"><userinput>for file in 3Support CLucene Core DBus Declarative DesignerComponents \
    255             Designer Gui Help Multimedia Network OpenGL Script \
    256             ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml phonon; do
    257 
    258      [ -e /usr/lib/libQt${file}.prl ] &amp;&amp;
    259      sed -r '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' \
    260          -i /usr/lib/libQt${file}.prl
    261 done
    262 unset file</userinput></screen>
    263 
    264     <para>
    265       Install images and create the menu entries
    266       for installed applications.  Be sure that the <envar>QT4PREFIX</envar>
    267       variable is defined in root's environment and
    268       as the <systemitem class="username">root</systemitem> user:
    269     </para>
    270 
    271 <screen role="root"><userinput>install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
     257<screen role="root"><userinput>for file in $QT4PREFIX/lib/libQt*.prl; do
     258     sed -r -e '/^QMAKE_PRL_BUILD_DIR/d'    \
     259            -e 's/(QMAKE_PRL_LIBS =).*/\1/' \
     260            -i $file
     261done</userinput></screen>
     262
     263    <para>
     264      Install images and create the menu entries for installed applications.
     265      The <envar>QT4BINDIR</envar> variable is used here to point to the
     266      directory for the executable programs.  If you have changed the bindir
     267      above, <envar>QT4BINDIR</envar> will need to be adjusted below.  Be sure
     268      that the <envar>QT4BINDIR</envar> variable is defined in root's
     269      environment and as the <systemitem class="username">root</systemitem>
     270      user:
     271    </para>
     272
     273<screen role="root"><userinput>QT4BINDIR=$QT4PREFIX/bin
     274
     275install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
    272276                  /usr/share/pixmaps/qt4logo.png       &amp;&amp;
    273277
     
    290294Name=Qt4 Assistant
    291295Comment=Shows Qt4 documentation and examples
    292 Exec=$QT4PREFIX/bin/assistant
     296Exec=$QT4BINDIR/assistant
    293297Icon=assistant-qt4.png
    294298Terminal=false
     
    302306Name=Qt4 Designer
    303307Comment=Design GUIs for Qt4 applications
    304 Exec=$QT4PREFIX/bin/designer
     308Exec=$QT4BINDIR/designer
    305309Icon=designer-qt4.png
    306310MimeType=application/x-designer;
     
    315319Name=Qt4 Linguist
    316320Comment=Add translations to Qt4 applications
    317 Exec=$QT4PREFIX/bin/linguist
     321Exec=$QT4BINDIR/linguist
    318322Icon=linguist-qt4.png
    319323MimeType=text/vnd.trolltech.linguist;application/x-linguist;
     
    329333GenericName=D-Bus Debugger
    330334Comment=Debug D-Bus applications
    331 Exec=$QT4PREFIX/bin/qdbusviewer
     335Exec=$QT4BINDIR/qdbusviewer
    332336Icon=qdbusviewer-qt4.png
    333337Terminal=false
     
    341345Name=Qt4 Config
    342346Comment=Configure Qt4 behavior, styles, fonts
    343 Exec=$QT4PREFIX/bin/qtconfig
     347Exec=$QT4BINDIR/qtconfig
    344348Icon=qt4logo.png
    345349Terminal=false
     
    349353EOF</userinput></screen>
    350354
     355    <para>Some packages such as <xref linkend='vlc'/> look for certain
     356    executables with a -qt4 suffix.  Run the following command as the root user
     357    to create the necessary symlinks:</para>
     358
     359<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
     360  ln -sfrvn $QT4BINDIR/$file /usr/bin/$file-qt4
     361done</userinput></screen>
     362
    351363  </sect2>
    352364
     
    436448
    437449QT4DIR=/usr
    438 export QT4DIR
     450QTDIR=$QT4DIR
     451export QT4DIR QTDIR
    439452
    440453# End /etc/profile.d/qt4.sh</literal>
     
    442455
    443456   <para>
    444       If you installed <application>Qt</application> in a location other
     457      If you installed <application>Qt4</application> in a location other
    445458      than /usr, you need to update the following configuration files so
    446459      that <application>Qt</application> is correctly found by other packages
     
    475488   
    476489QT4DIR=/opt/qt4
    477    
    478 pathappend /opt/qt4/bin           PATH
    479 pathappend /opt/qt4/lib/pkgconfig PKG_CONFIG_PATH
    480    
    481 export QT4DIR
     490QTDIR=$QT4DIR
     491   
     492pathappend $QT4DIR/bin           PATH
     493pathappend $QT4DIR/lib/pkgconfig PKG_CONFIG_PATH
     494   
     495export QT4DIR QTDIR
    482496   
    483497# End /etc/profile.d/qt4.sh</literal>
  • x/lib/qt5.xml

    r233a4949 r1b0d0188  
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
    6 
    7   <!-- Change for new minor releases !!! -->
    86
    97  <!ENTITY qt5-major "5.4">
     
    3634
    3735    <para>
    38       <application>Qt5</application> is a cross-platform application
    39       framework that is widely used for developing application software
    40       with a graphical user interface (GUI) (in which cases
    41       <application>Qt5</application> is classified as a widget toolkit), and
    42       also used for developing non-GUI programs such as command-line tools
    43       and consoles for servers.
     36      <application>Qt5</application> is a cross-platform application framework
     37      that is widely used for developing application software with a graphical
     38      user interface (GUI) (in which cases <application>Qt5</application> is
     39      classified as a widget toolkit), and also used for developing non-GUI
     40      programs such as command-line tools and consoles for servers. One of the
     41      major users of <application>Qt</application> is <application>KDE
     42      Frameworks 5 (KF5)</application>.
    4443    </para>
    4544
     
    139138    <title>Setting the installation prefix</title>
    140139
    141     <bridgehead renderas="sect3">Installing in /usr</bridgehead>
    142 
    143     <para>
    144       If you want to install <application>Qt5</application>
    145       in <filename class="directory">/usr</filename>, set the
     140    <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
     141
     142    <para>
     143      The BLFS editors recommend installing <application>Qt5</application> in a
     144      directory other than <filename class="directory">/usr</filename>, ie
     145      <filename class="directory">/opt/qt5</filename>.  To do this,  set the
    146146      following environment variable:
    147     </para>
    148 
    149 <screen><userinput>export QT5PREFIX=/usr</userinput></screen>
    150 
    151     <bridgehead renderas="sect3">Installing in /opt/qt5</bridgehead>
    152 
    153     <para>
    154       If you want to install <application>Qt5</application> in a directory
    155       other than <filename class="directory">/usr</filename>, ie <filename
    156       class="directory">/opt/qt4</filename>, set the following environment
    157       variable:
    158147    </para>
    159148
     
    175164      <para>
    176165        Later on, you may want to install other versions of
    177         <application>Qt4</application>. To do that, just remove the symlink
     166        <application>Qt5</application>. To do that, just remove the symlink
    178167        and use <filename class="directory">/opt/qt5</filename> as the
    179168        prefix again. Which version of <application>Qt5</application> you
     
    186175  <sect2 role="installation">
    187176    <title>Installation of Qt5</title>
    188 
    189     <caution>
    190       <para>
    191         If you did not install some of the recommended dependencies, examine
    192         <command>./configure --help</command> output to check how to disable
    193         them or use internal versions bundled in the source tarball.
    194       </para>
    195     </caution>
    196177
    197178    <warning>
     
    206187    </warning>
    207188
    208     <para>
    209       Install <application>Qt5</application> by running the
    210       following commands:
    211     </para>
    212 
    213 <screen><userinput>./configure -prefix         $QT5PREFIX                        \
    214             -sysconfdir     /etc/xdg                          \
    215             -bindir         $QT5BINDIR                        \
    216             -headerdir      $QT5PREFIX/include/qt5            \
    217             -archdatadir    $QT5PREFIX/lib/qt5                \
    218             -datadir        $QT5PREFIX/share/qt5              \
    219             -docdir         $QT5PREFIX/share/doc/qt5          \
    220             -translationdir $QT5PREFIX/share/qt5/translations \
    221             -examplesdir    $QT5PREFIX/share/doc/qt5/examples \
    222             -confirm-license  \
    223             -opensource       \
    224             -dbus-linked      \
    225             -openssl-linked   \
    226             -journald         \
    227             -system-harfbuzz  \
    228             -system-sqlite    \
    229             -nomake examples  \
    230             -no-rpath         \
    231             -optimized-qmake  \
    232             -skip qtwebengine &amp;&amp;
     189    <caution>
     190      <para>
     191        If you did not install some of the recommended dependencies, examine
     192        <command>./configure --help</command> output to check how to disable
     193        them or use internal versions bundled in the source tarball.
     194      </para>
     195    </caution>
     196
     197    <note>
     198      <para>
     199        The build time and space required for the full
     200        <application>Qt5</application> is quite long. The instructions below
     201        do not build the tutorials and examples. Removing the
     202        <parameter>-nomake</parameter> line will create a complete build.
     203      </para>
     204    </note>
     205
     206    <note>
     207      <para>
     208        The BLFS editors do not recommend installing <application>Qt5</application>
     209        into the /usr hierarchy because it becomes difficult to find
     210        components and to update to a new version.  If you do want to install
     211        <application>Qt5</application> in /usr, the directories need to
     212        be specified explicitly.  In this case, set QT5PREFIX=/usr and add
     213        the following to the configure arguments below:</para>
     214
     215        <screen><userinput>-bindir         /usr/bin/qt4                \
     216-plugindir      /usr/lib/qt5/plugins        \
     217-importdir      /usr/lib/qt5/imports        \
     218-headerdir      /usr/include/qt5            \
     219-datadir        /usr/share/qt5              \
     220-docdir         /usr/share/doc/qt5          \
     221-translationdir /usr/share/qt5/translations \
     222-demosdir       /usr/share/doc/qt5/demos    \
     223-examplesdir    /usr/share/doc/qt5/examples </userinput></screen>
     224    </note>
     225
     226    <para>
     227      Install <application>Qt5</application> by running the following commands:
     228    </para>
     229
     230<screen><userinput>./configure -prefix         $QT5PREFIX \
     231            -sysconfdir     /etc/xdg   \
     232            -confirm-license           \
     233            -opensource                \
     234            -dbus-linked               \
     235            -openssl-linked            \
     236            -journald                  \
     237            -system-harfbuzz           \
     238            -system-sqlite             \
     239            -nomake examples           \
     240            -no-rpath                  \
     241            -optimized-qmake           \
     242            -skip qtwebengine          &amp;&amp;
    233243
    234244make</userinput></screen>
     
    239249
    240250    <para>
    241       Remove references to the build directory from the
     251      Now, as the <systemitem class="username">root</systemitem> user:
     252    </para>
     253
     254<screen role="root"><userinput>make install</userinput></screen>
     255
     256    <para>
     257      Remove references to the build directory from the installed
    242258      <filename class="extension">.pc</filename> files by running
    243259      the following command:
    244260    </para>
    245261
    246 <screen><userinput>find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
    247 
    248     <para>
    249       Now, as the <systemitem class="username">root</systemitem> user:
    250     </para>
    251 
    252 <screen role="root"><userinput>make install</userinput></screen>
    253 
    254     <para>
    255       Remove references to the build directory from installed files by
    256       running the following commands as the
    257       <systemitem class="username">root</systemitem> user:
     262<screen><userinput>find $QT5PREFIX/lib/pkgconfig -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
     263
     264    <para>
     265      Remove references to the build directory from installed library dependency
     266      (prl) and profile include (pri) files by running the following commands as
     267      the <systemitem class="username">root</systemitem> user:
    258268    </para>
    259269
    260270<screen role="root"><userinput>sed -e "s:$PWD/qtbase:/usr/lib/qt5:g" \
    261     -i /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri &amp;&amp;
    262 
    263 find /usr/lib/lib{qgsttools_p,Qt5*}.prl -exec sed -i -r \
     271    -i $QT5PREFIX/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri &amp;&amp;
     272
     273find $QT5PREFIX/lib/lib{qgsttools_p,Qt5*}.prl -exec sed -i -r \
    264274     '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' {} \;</userinput></screen>
    265275
    266276    <para>
    267       Install images and create the menu entries
    268       for installed applications.  Be sure that the <envar>QT5PREFIX</envar>
    269       variable is defined in root's environment and
    270       as the <systemitem class="username">root</systemitem> user:
    271     </para>
    272 
    273 <screen role="root"><userinput>install -v -dm755 /usr/share/pixmaps/                  &amp;&amp;
     277      Install images and create the menu entries for installed applications.
     278      The <envar>QT4BINDIR</envar> variable is used here to point to the
     279      directory for the executable programs.  If you have changed the bindir
     280      above, <envar>QT4BINDIR</envar> will need to be adjusted below.  Be sure
     281      that the <envar>QT5BINDIR</envar> variable is defined in root's
     282      environment and as the <systemitem class="username">root</systemitem>
     283      user:
     284    </para>
     285
     286<screen role="root"><userinput>QT5BINDIR=$QT5PREFIX/bin
     287
     288install -v -dm755 /usr/share/pixmaps/                  &amp;&amp;
    274289
    275290install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
     
    291306Name=Qt5 Assistant
    292307Comment=Shows Qt5 documentation and examples
    293 Exec=$QT5PREFIX/bin/assistant
     308Exec=$QT5BINDIR/assistant
    294309Icon=assistant-qt5.png
    295310Terminal=false
     
    304319GenericName=Interface Designer
    305320Comment=Design GUIs for Qt5 applications
    306 Exec=$QT5PREFIX/bin/designer
     321Exec=$QT5BINDIR/designer
    307322Icon=designer-qt5.png
    308323MimeType=application/x-designer;
     
    317332Name=Qt5 Linguist
    318333Comment=Add translations to Qt5 applications
    319 Exec=$QT5PREFIX/bin/linguist
     334Exec=$QT5BINDOR/linguist
    320335Icon=linguist-qt5.png
    321336MimeType=text/vnd.trolltech.linguist;application/x-linguist;
     
    331346GenericName=D-Bus Debugger
    332347Comment=Debug D-Bus applications
    333 Exec=$QT5PREFIX/bin/qdbusviewer
     348Exec=$QT5BINDIR/qdbusviewer
    334349Icon=qdbusviewer-qt5.png
    335350Terminal=false
     
    339354EOF</userinput></screen>
    340355
     356    <para>Some packages such as <xref linkend='vlc'/> look for certain
     357    executables with a -qt5 suffix.  Run the following command as the root user
     358    to create the necessary symlinks:</para>
     359
     360<screen role="root"><userinput>for file in moc uic rcc qmake lconvert lrelease lupdate; do
     361  ln -sfrvn $QT5BINDIR/$file /usr/bin/$file-qt5
     362done</userinput></screen>
     363
    341364  </sect2>
    342365
     
    362385      <parameter>-nomake examples</parameter>: This switch
    363386      disables building of the example programs included
    364       in the source tarball. Remove it if you want to build
    365       them.
    366     </para>
    367 
    368     <para>
    369       <parameter>-nomake tests</parameter>: This switch
    370       disables building of the test programs included
    371387      in the source tarball. Remove it if you want to build
    372388      them.
     
    474490QT5DIR=/opt/qt5
    475491
    476 pathappend /opt/qt5/bin           PATH
    477 pathappend /opt/qt5/lib/pkgconfig PKG_CONFIG_PATH
     492pathappend $QT5DIR/bin           PATH
     493pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
    478494
    479495export QT5DIR
Note: See TracChangeset for help on using the changeset viewer.