Changeset c52af0c for x/lib/qt.xml


Ignore:
Timestamp:
07/20/2005 06:01:17 AM (19 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
884db0e3
Parents:
a1fd0f2
Message:

Avoid qt reinstallation problems

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt.xml

    ra1fd0f2 rc52af0c  
    117117
    118118      <note>
    119         <para>If <application>Qt</application> is being reinstalled, run the
    120         following commands from a console or non-Qt based window manager.
    121         It overwrites <application>Qt</application> libraries that should not
    122         be in use during the install process.</para>
     119                <para>The installation incorrectly uses cp to install the files.
     120                This causes problems if the <application>Qt</application> libraries
     121                are already in use (e.g. you are logged in into your
     122                <application>KDE</application> desktop environment). To avoid problems,
     123                "cp -f" is replaced by "install" in <filename>qmake.conf</filename>.</para>
    123124      </note>
    124125
    125126<screen><userinput>sed -i -e 's:$(QTDIR)/include:&amp;/qt:' \
    126127       -e 's:$(QTDIR)/lib:&amp;/qt:' \
     128       -e "s:cp -f:install:" \
    127129       mkspecs/linux*/qmake.conf   &amp;&amp;
    128130bash
     
    136138    -system-libjpeg -system-libpng &amp;&amp;
    137139find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &amp;&amp;
    138 make</userinput></screen>
     140make &amp;&amp;
     141exit</userinput></screen>
    139142
    140143      <para>Now, as the <systemitem class="username">root</systemitem>
     
    146149cp -v -r examples /usr/share/doc/qt</userinput></screen>
    147150
    148       <para>And finally back as the regular user:</para>
    149 
    150 <screen><userinput>exit</userinput></screen>
    151 
    152151    </sect3>
    153152
     
    159158      consolidated in a dedicated directory hierarchy. By using this method,
    160159      an update can be made without overwriting a previous installation and
    161       users can easily revert to a previous version by changing one symbolic l
    162       ink.</para>
     160      users can easily revert to a previous version by changing one symbolic link.</para>
    163161
    164162      <para>The <application>Qt</application> developers use a default location
     
    186184cp -v -r examples /opt/qt/doc</userinput></screen>
    187185
    188       <para>And finally back as the regular user:</para>
    189 
    190 <screen><userinput>exit</userinput></screen>
    191 
    192186      <note>
    193187        <para>If you pass the
     
    277271      <filename>/etc/profile</filename> file.</para>
    278272
    279       <para>For Method 1:</para>
     273      <para>For Method 1 (This is optional, only set this if an application is
     274                unable to find the installed libraries):</para>
    280275
    281276<screen><literal>export QTDIR=/usr</literal></screen>
Note: See TracChangeset for help on using the changeset viewer.