- Timestamp:
- 08/24/2013 02:08:53 AM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- f374379d
- Parents:
- 54e9eea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt4.xml
r54e9eea ra8ece039 80 80 <bridgehead renderas="sect4">Required</bridgehead> 81 81 <para role="required"> 82 <xref linkend="alsa-lib"/>, 83 <xref linkend="mesalib"/> and 84 <xref linkend="qtchooser"/> 82 <xref linkend="alsa-lib"/> and 83 <xref linkend="mesalib"/> 85 84 </para> 86 85 … … 95 94 <xref linkend="libpng"/>, 96 95 <xref linkend="libtiff"/>, 97 <xref linkend="openssl"/> and96 <xref linkend="openssl"/>, and 98 97 <xref linkend="sqlite"/> 99 98 </para> … … 106 105 <xref linkend="mysql"/>, 107 106 <xref linkend="postgresql"/>, 108 <xref linkend="pulseaudio"/> and 107 <xref linkend="pulseaudio"/>, 108 <xref linkend="qtchooser"/> (if also installing Qt5), and 109 109 <xref linkend="unixodbc"/> 110 110 </para> … … 119 119 120 120 <para> 121 121 122 There are several ways to install a complicated package such as 122 123 <application>Qt</application>. The files are not completely position … … 129 130 correctly by the build process. 130 131 </para> 131 132 132 133 <para> 133 134 The default installation places the files in <filename 134 class= "directory">/usr/local/qt</filename>. Many commercial135 class='directory'>/usr/local/qt/</filename>. Many commercial 135 136 distributions place the files in the system's <filename 136 class= "directory">/usr</filename> hierarchy. The package can also be137 class='directory'>/usr</filename> hierarchy. The package can also be 137 138 installed in an arbitrary directory. 138 139 </para> … … 140 141 <para> 141 142 The advantage of installing in <filename 142 class= "directory">/usr</filename> is that no updates to the143 class='directory'>/usr</filename> is that no updates to the 143 144 <filename>/etc/ld.so.conf</filename> or 144 145 <filename>/etc/man_db.conf</filename> files are required. The package 145 146 files are distributed within several subdirectories of the <filename 146 class= "directory">/usr</filename> hierarchy.This is the method that147 most commercial distributions use. It is also supported by the148 <application>qtchooser</application> application.149 </para> 150 151 <para> 152 The advantage of installing <application>Qt </application> in a custom147 class='directory'>/usr</filename> hierarchy. This is the method that 148 most commercial distributions use. It is also supported by the 149 optional <application>qtchooser</application> application. 150 </para> 151 152 <para> 153 The advantage of installing <application>Qt4</application> in a custom 153 154 directory such as <filename 154 class= "directory">/opt/qt-&qt4-version;</filename> is that it keeps all155 class='directory'>/opt/qt-&qt4-version;</filename> is that it keeps all 155 156 the package files consolidated in a dedicated directory hierarchy. By 156 157 using this method, an update can be made without overwriting a previous 157 158 installation and users can easily revert to a previous version by 158 changing one symbolic link or merely changing the PATH variable. It159 also allows a developer to maintain multiple versions of 160 <application>Qt </application> for testing.159 changing one symbolic link or merely changing the PATH variable. It 160 also allows a developer to maintain multiple versions of 161 <application>Qt4</application> for testing. 161 162 </para> 162 163 … … 198 199 config.tests/unix/libmng/libmng.cpp && 199 200 200 ./configure -confirm-license \ 201 -opensource \ 202 -release \ 203 -prefix /usr \ 204 -bindir /usr/lib/qt4/bin \ 205 -headerdir /usr/include/qt4 \ 206 -datadir /usr/share/qt4 \ 207 -plugindir /usr/lib/qt4/plugins \ 208 -importdir /usr/lib/qt4/imports \ 201 ./configure -prefix /usr \ 202 -bindir /usr/lib/qt4/bin \ 203 -plugindir /usr/lib/qt4/plugins \ 204 -importdir /usr/lib/qt4/imports \ 205 -headerdir /usr/include/qt4 \ 206 -datadir /usr/share/qt4 \ 207 -sysconfdir /etc/xdg \ 208 -docdir /usr/share/doc/qt4 \ 209 -demosdir /usr/share/doc/qt4/demos \ 210 -examplesdir /usr/share/doc/qt4/examples \ 209 211 -translationdir /usr/share/qt4/translations \ 210 -sysconfdir /etc/xdg \ 211 -docdir /usr/share/doc/qt4 \ 212 -demosdir /usr/share/doc/qt4/demos \ 213 -examplesdir /usr/share/doc/qt4/examples \ 214 -dbus-linked \ 215 -openssl-linked \ 216 -system-sqlite \ 217 -no-phonon \ 212 -confirm-license \ 213 -opensource \ 214 -release \ 215 -dbus-linked \ 216 -openssl-linked \ 217 -system-sqlite \ 218 -no-phonon \ 218 219 -no-phonon-backend \ 219 -no-nis \ 220 -no-openvg \ 221 -nomake demos \ 222 -nomake examples \ 223 -optimized-qmake && 220 -no-nis \ 221 -no-openvg \ 222 -nomake demos \ 223 -nomake examples \ 224 -optimized-qmake && 225 224 226 make</userinput></screen> 225 227 … … 235 237 rm -rf /usr/tests && 236 238 install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \ 237 /usr/share/pixmaps/qt4logo.png &&239 /usr/share/pixmaps/qt4logo.png && 238 240 install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \ 239 241 /usr/share/pixmaps/assistant-qt4.png && 240 242 install -v -Dm644 tools/designer/src/designer/images/designer.png \ 241 /usr/share/pixmaps/designer-qt4.png &&243 /usr/share/pixmaps/designer-qt4.png && 242 244 install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \ 243 /usr/share/pixmaps/linguist-qt4.png &&245 /usr/share/pixmaps/linguist-qt4.png && 244 246 install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \ 245 247 /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen> … … 276 278 277 279 <para> 278 Install <application>Qt</application> in /opt/qt-&qt4-version; 280 Install <application>Qt</application> in /opt/qt-&qt4-version; 279 281 by running the following commands: 280 282 </para> … … 416 418 417 419 <para> 418 If you installed <application>Qt</application> in 419 <filename class="directory">/usr</filename>, create 420 an environment variable needed by certain packages. 420 If you installed <application>Qt</application> in /usr, 421 create an environment variable needed by certain packages. 421 422 As the <systemitem class="username">root</systemitem> user: 422 423 </para> … … 434 435 <para> 435 436 If you installed <application>Qt</application> in a location other 436 than <filename class="directory">/usr</filename>, you need to update 437 the following configuration files so that <application>Qt</application> 438 is correctly found by other packages and system processes. 439 </para> 440 441 <para> 442 As the <systemitem class="username">root</systemitem> user, update 437 than /usr, you need to update the following configuration files so 438 that <application>Qt</application> is correctly found by other packages 439 and system processes.</para> 440 441 <para>As the <systemitem class="username">root</systemitem> user, update 443 442 the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's 444 443 run-time cache file: 445 444 </para> 446 445 447 446 <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF 448 <literal># Begin Qt addition447 <literal># Begin Qt addition 449 448 450 449 /opt/qt/lib … … 454 453 455 454 ldconfig</userinput></screen> 456 455 456 <indexterm zone="qt4 qtconfig-qt4"> 457 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary> 458 </indexterm> 459 457 460 <para> 458 461 As the <systemitem class="username">root</systemitem> user, create 459 462 the <filename>/etc/profile.d/qt.sh</filename> file: 460 463 </para> 461 464 462 465 <screen role="root"><userinput>cat > /etc/profile.d/qt.sh << EOF 463 <literal># Begin /etc/profile.d/qt.sh464 466 <literal># Begin /etc/profile.d/qt.sh 467 465 468 QTDIR=/opt/qt 466 469 467 470 pathappend /opt/qt/bin PATH 468 471 pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH 469 472 470 473 export QTDIR 471 474 472 475 # End /etc/profile.d/qt.sh</literal> 473 476 EOF</userinput></screen> 474 475 <indexterm zone="qt4 qtconfig-qt4">476 <primary sortas="e-etc-profile.d-qt.sh">/etc/profile.d/qt.sh</primary>477 </indexterm>478 477 479 478 <para> … … 581 580 /usr/lib/qt4, 582 581 /usr/share/doc/qt4, and 583 /usr/share/qt4 582 /usr/share/qt4 (OR $QTDIR) 584 583 (OR $QTDIR) 585 584 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.