Changeset 2b6bee98 for general/genutils
- Timestamp:
- 07/24/2014 11:57:12 AM (10 years ago)
- Branches:
- systemd-11177
- Children:
- 41d4b7ec
- Parents:
- 4b422698
- Location:
- general/genutils
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
general/genutils/genutils.xml
r4b422698 r2b6bee98 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lsof.xml"/> 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pinentry.xml"/> 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtchooser-systemd.xml"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rarian.xml"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rep-gtk.xml"/> -
general/genutils/qtchooser-systemd.xml
r4b422698 r2b6bee98 33 33 34 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; 35 The <application>qtchooser</application> package contains a wrapper used to 36 select between <application>Qt</application> binary versions. 37 </para> 38 39 &lfs75_checked; 41 40 42 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 70 69 <para> 71 70 Estimated build time: &qtchooser-time; 71 </para> 72 </listitem> 73 </itemizedlist> 74 75 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 76 <itemizedlist spacing="compact"> 77 <listitem> 78 <para> 79 Required patch: 80 <ulink url="&patch-root;/qtchooser-&qtchooser-version;-upstream_fixes-1.patch"/> 72 81 </para> 73 82 </listitem> … … 103 112 </para> 104 113 105 <screen><userinput>make</userinput></screen> 114 <screen><userinput>patch -Np1 -i ../qtchooser-&qtchooser-version;-upstream_fixes-1.patch && 115 make</userinput></screen> 106 116 107 117 <para> … … 113 123 </para> 114 124 115 <screen role="root"><userinput>make install && 116 install -m644 doc/qtchooser.1 /usr/share/man/man1</userinput></screen> 125 <screen role="root"><userinput>make install</userinput></screen> 117 126 118 127 </sect2> … … 149 158 150 159 <para> 151 Create the configuration files by running the following commands as 160 If both <application>Qt4</application> and 161 <application>Qt5</application> are installed in 162 <filename class="directory">/usr</filename>, create the 163 configuration files by running the following commands as 152 164 the <systemitem class="username">root</systemitem> user: 153 165 </para> 154 166 155 167 <screen role="root"><userinput>install -dm755 /etc/xdg/qtchooser && 156 cat > /etc/xdg/qtchooser/ 4.conf << "EOF"168 cat > /etc/xdg/qtchooser/qt4.conf << "EOF" 157 169 <literal>/usr/lib/qt4/bin 158 170 /usr/lib</literal> 159 171 EOF 160 cat > /etc/xdg/qtchooser/ 5.conf << "EOF"172 cat > /etc/xdg/qtchooser/qt5.conf << "EOF" 161 173 <literal>/usr/lib/qt5/bin 162 174 /usr/lib</literal> … … 164 176 165 177 <para> 178 If both <application>Qt4</application> and 179 <application>Qt5</application> are installed in 180 <filename class="directory">/usr</filename>, create the 181 configuration files by running the following commands as 182 the <systemitem class="username">root</systemitem> user: 183 </para> 184 185 <screen role="root"><userinput>install -dm755 /etc/xdg/qtchooser && 186 cat > /etc/xdg/qtchooser/qt4.conf << "EOF" 187 <literal>/opt/qt4/lib/qt4/bin 188 /opt/qt4/lib</literal> 189 EOF 190 cat > /etc/xdg/qtchooser/qt5.conf << "EOF" 191 <literal>/opt/qt5/lib/qt5/bin 192 /opt/qt5/lib</literal> 193 EOF</userinput></screen> 194 195 <para> 196 Replace <filename class="directory">/opt/qt4</filename> and/or 197 <filename class="directory">/opt/qt5</filename> if you used 198 different prefix. 199 </para> 200 201 <para> 166 202 To set <application>Qt4</application> as the default, run the following 167 203 command as the <systemitem class="username">root</systemitem> user: 168 204 </para> 169 205 170 <screen role="root"><userinput>ln -sfv 4.conf /etc/xdg/qtchooser/default.conf</userinput></screen>206 <screen role="root"><userinput>ln -sfv qt4.conf /etc/xdg/qtchooser/default.conf</userinput></screen> 171 207 172 208 <para> … … 175 211 </para> 176 212 177 <screen role="root"><userinput>ln -sfv 5.conf /etc/xdg/qtchooser/default.conf</userinput></screen>213 <screen role="root"><userinput>ln -sfv qt5.conf /etc/xdg/qtchooser/default.conf</userinput></screen> 178 214 179 215 <para> … … 186 222 </para> 187 223 188 <screen><userinput>export QT_SELECT= 4</userinput></screen>224 <screen><userinput>export QT_SELECT=qt4</userinput></screen> 189 225 190 226 <para> … … 192 228 </para> 193 229 194 <screen><userinput>export QT_SELECT= 5</userinput></screen>230 <screen><userinput>export QT_SELECT=qt5</userinput></screen> 195 231 196 232 </sect3> … … 211 247 pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml, qdbusviewer, 212 248 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 249 qlalr, qmake, qml, qml1plugindump, qmlbundle, qmlimportscanner, 250 qmlmin, qmlplugindump, qmlprofiler, qmlscene, qmltestrunner, 251 qmlviewer, qtchooser, qtconfig, qtdiag, qtpaths, rcc, uic, uic3, 252 xmlpatterns and xmlpatternsvalidator 216 253 </seg> 217 254 <seg>
Note:
See TracChangeset
for help on using the changeset viewer.