source: archive/qtchooser.xml@ 48b59802

11.1 11.2 11.3 12.0 12.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 48b59802 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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