source: xincludes/qt-alternatives.xml@ 6c91a92a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6c91a92a was d027410, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Set svn keywords

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

  • Property mode set to 100644
File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<!-- $LastChangedBy$
9 $Date$ -->
10
11<sect2>
12 <title>Qt Installation Alternatives</title>
13
14 <para>The installation of <application>Qt</application> presents
15 several challenges and choices. Complicating the Qt installation is the fact
16 that there are two versions, <application>Qt4</application> and
17 <application>Qt5</application>, that have executable programs with
18 identical names. If both packages are installed on one system,
19 the only methods to manage which set of programs is used is to
20 either control the users' <envar>PATH</envar> or to rename files
21 either directly or via symbolic links. Both packages cannot
22 be installed in the same directory.
23 </para>
24
25 <para>If you are only going to install one of the Qt versions,
26 the choice of installation methods is easier. You can either
27 install the components in the several directories of the <filename
28 class='directory'>/usr</filename> hierarchy or install the
29 entire package in a separate directory of your choice. <!-- We
30 refer to these options below as "Method 1: Installing in /usr"
31 and "Method 2: Installing in /opt". --></para>
32
33 <para>If both versions of Qt are to be installed, one or both versions need
34 to be installed in a separate directory. For the purposes here we use the
35 <filename class='directory'>/opt</filename> directory. The selection of
36 which version is being used by individual users on a system is controlled
37 by the <envar>PATH</envar> variable. Other systems can be designed, but
38 the BLFS editors find the <envar>PATH</envar> method easiest.</para>
39
40 <para> The advantage of installing in <filename
41 class='directory'>/usr</filename> is that no updates to the
42 <filename>/etc/ld.so.conf</filename> or
43 <filename>/etc/man_db.conf</filename> files are required. The package files
44 are distributed within several subdirectories of the <filename
45 class='directory'>/usr</filename> hierarchy. This is the method that most
46 commercial distributions use. The disadvantage for BLFS users is that this
47 Qt instance cannot be upgraded while it is in use. For instance, it cannot
48 be upgraded from a running KDE environment. It also precludes having
49 multiple versions of Qt on your system and does not allow reverting to
50 an existing, known working instance of Qt.</para>
51
52 <para> The advantage of installing <application>Qt</application> in a
53 custom directory such as <filename
54 class='directory'>/opt/qt-&qt4-version;</filename> or <filename
55 class='directory'>/opt/qt-&qt5-version;</filename> is that it keeps all
56 the package files consolidated in a dedicated directory hierarchy. By using
57 this method, an update can be made without overwriting a previous
58 installation and users can easily revert to a previous version by changing
59 one symbolic link or merely changing the PATH variable. It also allows a
60 developer to maintain multiple versions of <application>Qt4</application>
61 or <application>Qt5</application> for testing. </para>
62
63</sect2>
Note: See TracBrowser for help on using the repository browser.