- Timestamp:
- 04/22/2004 09:35:36 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, 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, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9f39870
- Parents:
- fa48bf3
- Location:
- x/lib/qt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt/qt-config.xml
rfa48bf3 rfff069f 4 4 <sect3><title>Configuration Information</title> 5 5 6 <para>As with most libraries, there is no configuration to do, save that 7 the library directory <filename class="directory">/opt/qt/lib</filename> should appear 8 in <filename>/etc/ld.so.conf</filename> so that ldd can find the 9 shared libraries. The following command will add it if it is missing:</para> 10 11 <screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command> 12 # Begin qt addition to /etc/ld.so.conf 13 14 /opt/qt/lib 15 16 # End qt addition 17 <command>EOF 18 ldconfig</command></userinput></screen> 19 20 <para>You need to add the path for the <application>Qt</application> man pages to the 21 <filename>man.conf</filename> 22 file. This can be done with the following command:</para> 23 24 <screen><userinput><command>cat >> /etc/man.conf << "EOF"</command> 25 # Begin qt addition to man.conf 26 27 MANPATH /opt/qt/doc/man 28 29 # End qt addition to man.conf 30 <command>EOF</command></userinput></screen> 31 32 <para>Most of the <application>Qt</application> based applications (such as 33 <application>KDE</application>) require the <envar>QTDIR</envar> to be 34 set during compilation. This can be achieved by the following command. 35 For convenience, this command may be added to <filename>/etc/profile</filename> 36 or <filename>$HOME/.bash_profile</filename>.</para> 37 38 <screen><userinput><command>export QTDIR=/opt/qt</command></userinput></screen> 6 &library-config; 39 7 40 8 </sect3> 41 9 42 10 </sect2> 43 -
x/lib/qt/qt-desc.xml
rfa48bf3 rfff069f 23 23 <para>The <application>Qt</application>/<application>X11</application> 24 24 library contains <acronym>API</acronym>'s necessary to use 25 <application><acronym>KDE</acronym></application> 26 programs.</para></sect3> 25 programs based on Qt <acronym>GUI</acronym> toolkit.</para></sect3> 27 26 28 27 </sect2> -
x/lib/qt/qt-exp.xml
rfa48bf3 rfff069f 1 1 <sect2> 2 2 <title>Command explanations</title> 3 4 <para><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf</command>: 5 <command>install</command> is safer than <command>cp</command> when 6 libraries are in use.</para> 3 7 4 8 <para><command>bash</command>: This command enters a sub-shell to isolate 5 9 environment changes.</para> 6 10 7 <para><command>export QTDIR=$PWD</command>: This command defines where the 8 root of the <application>Qt</application> directory is located.</para> 9 10 <para><command>export LD_LIBRARY_PATH=$QTDIR/lib</command>: This command 11 <para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command 11 12 sets up the location of libraries for the build process.</para> 12 13 13 <para><command>export PATH=$ QTDIR/bin:$PATH</command>: This command14 <para><command>export PATH=$PWD/bin:$PATH</command>: This command 14 15 allows the build process to find supporting executables.</para> 15 16 16 <para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up 17 the install destination.</para> 18 19 <para><option>-qt-gif</option>: This command adds support for gif 17 <para><parameter>-qt-gif</parameter>: This switch adds support for gif 20 18 files to the libraries.</para> 21 19 22 <para>< option>-system-libpng -system-libmng -system-zlib23 -system-libjpeg</option>: This command forces the library to use the 24 shared libraries that are on your system instead of recreating its own 25 set of support libraries for thesefunctions.</para>20 <para><parameter>-system-zlib -system-libpng</parameter>: This switch 21 forces the library to use the shared libraries that are on your system 22 instead of recreating its own set of support libraries for these 23 functions.</para> 26 24 27 <para>< option>-no-g++-exceptions</option>: This commanddisables25 <para><parameter>-no-g++-exceptions</parameter>: This switch disables 28 26 the exceptions coding generated by the <application>C++</application> compiler.</para> 29 27 30 <para>< option>-thread</option>: This command compiles the library31 to supportmulti-threading.</para>28 <para><parameter>-thread</parameter>: This switch adds 29 support for multi-threading.</para> 32 30 33 <para><command> ln -sfn qt-&qt-version; /opt/qt</command>: This command34 standardizes the location of the <application>Qt</application> libraries 35 to the <filename>ld.so.conf</filename> entry 36 described below.</para>31 <para><command>find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g"</command>: 32 This command removes hardcoded run-time path, else 33 <command>uic</command> tries to run with system installed Qt 34 libraries.</para> 37 35 38 <para><command>ln -s libqt-mt.so / opt/qt/lib/libqt.so</command>: This36 <para><command>ln -s libqt-mt.so /usr/lib/libqt.so</command>: This 39 37 command allows configure scripts 40 38 to find a working <application>Qt</application> installation.</para> 41 39 42 <para><command>cp -r doc/man / opt/qt/doc</command>: This command43 installs the man directory which ismissed by <command>make40 <para><command>cp -r doc/man /usr/share</command>: This command 41 installs the man pages which are missed by <command>make 44 42 install</command>.</para> 45 43 46 <para><command>cp -r examples / opt/qt/doc</command>: This command47 installs the examples directory which ismissed by <command>make44 <para><command>cp -r examples /usr/share/doc/qt</command>: This command 45 installs the examples which are missed by <command>make 48 46 install</command>.</para> 49 47 50 48 <para><command>exit</command>: This command returns to the parent shell 51 and eliminates envir nment variables set earlier.</para>49 and eliminates environment variables set earlier.</para> 52 50 53 51 </sect2> 54 -
x/lib/qt/qt-inst.xml
rfa48bf3 rfff069f 2 2 <title>Installation of <application>Qt</application></title> 3 3 4 <screen><userinput><command>bash 5 export QTDIR=$PWD && 6 export LD_LIBRARY_PATH=$QTDIR/lib && 7 export PATH=$QTDIR/bin:$PATH && 8 ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \ 9 -system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \ 10 -thread && 4 <para>Install <application>Qt</application> by running the following 5 commands:</para> 6 7 <screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf && 8 bash 9 export PATH=$PWD/bin:$PATH && 10 export LD_LIBRARY_PATH=$PWD/lib && 11 ./configure -prefix /usr -docdir /usr/share/doc/qt \ 12 -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \ 13 -datadir /usr/share/qt -translationdir /usr/share/qt/translations \ 14 -sysconfdir /etc/qt -release -shared -qt-gif -system-zlib \ 15 -no-g++-exceptions -thread -plugin-imgfmt-png -system-libpng && 11 16 make && 17 find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" && 12 18 make install && 13 ln -sfn qt-&qt-version; /opt/qt && 14 ln -s libqt-mt.so /opt/qt/lib/libqt.so && 15 cp -r doc/man /opt/qt/doc && 16 cp -r examples /opt/qt/doc 19 ln -sf libqt-mt.so /usr/lib/libqt.so && 20 cp -r doc/man /usr/share && 21 cp -r examples /usr/share/doc/qt && 17 22 exit</command></userinput></screen> 18 23 … … 27 32 28 33 </sect2> 34 35 <!-- 36 -cups 37 -plugin-imgfmt-jpeg 38 -plugin-imgfmt-mng 39 -system-libjpeg 40 -system-libmng 41 -system-nas-sound 42 --> -
x/lib/qt/qt-intro.xml
rfa48bf3 rfff069f 18 18 <sect3><title><application>Qt</application> dependencies</title> 19 19 <sect4><title>Required</title> 20 <para><xref linkend="xfree86"/> and 21 <xref linkend="libmng"/></para></sect4> 20 <para> 21 <xref linkend="xfree86"/> 22 </para></sect4> 22 23 <sect4><title>Optional</title> 23 <para><xref linkend="nas"/> and <xref 24 linkend="cups"/></para></sect4> 24 <para> 25 <xref linkend="libjpeg"/>, 26 <xref linkend="libmng"/>, 27 <xref linkend="nas"/>, 28 <xref linkend="cups"/>, 29 <xref linkend="mysql"/>, 30 <xref linkend="postgresql"/>, 31 <ulink url="http://firebird.sourceforge.net/">Firebird</ulink> and 32 <ulink url="http://www.unixodbc.org/">unixODBC</ulink> 33 </para></sect4> 25 34 </sect3> 26 35
Note:
See TracChangeset
for help on using the changeset viewer.