source: archive/qtchooser.xml@ 81076bb6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 81076bb6 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

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

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 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 <!ENTITY qtchooser-git-revision "g4717841">
8
9 <!ENTITY qtchooser-download-http "http://macieira.org/qtchooser/qtchooser-&qtchooser-version;-&qtchooser-git-revision;.tar.gz">
10 <!ENTITY qtchooser-download-ftp " ">
11 <!ENTITY qtchooser-md5sum "fcf1b5e8373147e48ce72b9c1ffe3d10">
12 <!ENTITY qtchooser-size "32 KB">
13 <!ENTITY qtchooser-buildsize "1.6 MB">
14 <!ENTITY qtchooser-time "less than 0.1 SBU">
15]>
16
17<sect1 id="qtchooser" xreflabel="qtchooser-&qtchooser-version;">
18 <?dbhtml filename="qtchooser.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>qtchooser-&qtchooser-version;</title>
26
27 <indexterm zone="qtchooser">
28 <primary sortas="a-qtchooser">qtchooser</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to qtchooser</title>
33
34 <para>
35 The <application>qtchooser</application> package contains a wrapper used to select
36 between <application>Qt</application> binary versions. It is only needed if
37 both Qt4 and Qt5 are installed for access via the /usr/bin directory.
38 </para>
39
40 &lfs74_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&qtchooser-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&qtchooser-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &qtchooser-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &qtchooser-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &qtchooser-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &qtchooser-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">qtchooser Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="qt4"/> (for the testsuite)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/qtchooser"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of qtchooser</title>
90
91 <warning>
92 <para>
93 If both <application>Qt4</application> and
94 <application>Qt5</application> are installed on the system,
95 then <application>Qt4</application> should be set as
96 default unless stated otherwise.
97 </para>
98 </warning>
99
100 <para>
101 Install <application>qtchooser</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>make</userinput></screen>
106
107 <para>
108 To test the results, issue: <command>make check</command>.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make install &amp;&amp;
116install -m644 doc/qtchooser.1 /usr/share/man/man1</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="configuration">
121 <title>Configuring qtchooser</title>
122
123 <sect3 id="qtchooser-config">
124 <title>Config Files</title>
125 <para>
126 <filename>/etc/xdg/qtchooser/default.conf</filename>
127 </para>
128
129 <indexterm zone="qtchooser qtchooser-config">
130 <primary
131 sortas="e-etc-xdg-qtchooser-default.conf">/etc/xdg/qtchooser/default.conf</primary>
132 </indexterm>
133
134 </sect3>
135
136 <sect3>
137 <title>Configuration Information</title>
138
139 <para>
140 The <filename>/etc/xdg/qtchooser/default.conf</filename>
141 configuration file contains paths to the
142 <application>Qt</application> binaries and libraries which will
143 be used when the wrapper is run. It is ussually a symlink to a
144 package specific file, such as <filename>4.conf</filename> or
145 <filename>5.conf</filename>. In first case, when invoking the wrappers,
146 <application>Qt4</application> equivalents will be invoked. In second
147 case, <application>Qt5</application> equivalents will be invoked.
148 </para>
149
150 <para>
151 Create the configuration files by running the following commands as
152 the <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>install -dm755 /etc/xdg/qtchooser &amp;&amp;
156cat &gt; /etc/xdg/qtchooser/4.conf &lt;&lt; "EOF"
157<literal>/usr/lib/qt4/bin
158/usr/lib</literal>
159EOF
160cat &gt; /etc/xdg/qtchooser/5.conf &lt;&lt; "EOF"
161<literal>/usr/lib/qt5/bin
162/usr/lib</literal>
163EOF</userinput></screen>
164
165 <para>
166 To set <application>Qt4</application> as the default, run the following
167 command as the <systemitem class="username">root</systemitem> user:
168 </para>
169
170<screen role="root"><userinput>ln -sfv 4.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
171
172 <para>
173 To set <application>Qt5</application> as the default, run the following
174 command as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>ln -sfv 5.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
178
179 <para>
180 You can also select default <application>Qt</application> using an environment
181 variable.
182 </para>
183
184 <para>
185 To set <application>Qt4</application> as the default, run the following command:
186 </para>
187
188<screen><userinput>export QT_SELECT=4</userinput></screen>
189
190 <para>
191 To set <application>Qt5</application> as the default, run the following command:
192 </para>
193
194<screen><userinput>export QT_SELECT=5</userinput></screen>
195
196 </sect3>
197
198 </sect2>
199
200 <sect2 role="content">
201 <title>Contents</title>
202
203 <segmentedlist>
204 <segtitle>Installed Programs</segtitle>
205 <segtitle>Installed Libraries</segtitle>
206 <segtitle>Installed Directories</segtitle>
207
208 <seglistitem>
209 <seg>
210 assistant, designer, lconvert, linguist, lrelease, lupdate, moc,
211 pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml, qdbusviewer,
212 qdbusxml2cpp, qdoc, qdoc3, qglinfo, qhelpconverter, qhelpgenerator,
213 qmake, qml, qml1plugindump, qmlbundle, qmlmin, qmlplugindump,
214 qmlprofiler, qmlscene, qmltestrunner, qmlviewer, qtchooser,
215 qtconfig, rcc, uic, uic3, xmlpatterns, and xmlpatternsvalidator
216 </seg>
217 <seg>
218 None
219 </seg>
220 <seg>
221 None
222 </seg>
223 </seglistitem>
224 </segmentedlist>
225
226 <variablelist>
227 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
228 <?dbfo list-presentation="list"?>
229 <?dbhtml list-presentation="table"?>
230
231 <varlistentry id="qtchooser-prog">
232 <term><command>qtchooser</command></term>
233 <listitem>
234 <para>
235 is a wrapper used to select between <application>Qt</application>
236 binary versions.
237 </para>
238 <indexterm zone="qtchooser qtchooser-prog">
239 <primary sortas="b-qtchooser">qtchooser</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect2>
247
248</sect1>
Note: See TracBrowser for help on using the repository browser.