diff --git a/general.ent b/general.ent index 00eb6b7bfa..9d1ff8e8e9 100644 --- a/general.ent +++ b/general.ent @@ -1,4 +1,4 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index c13d654916..baf609d735 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -24,6 +24,11 @@ + + July 20th 2005 [tushar]: For qt, replace cp by install + to allow installation even if the libraries are in use. + + July 19th 2005 [randy]: Updated to Doxygen-1.4.3. diff --git a/x/lib/qt.xml b/x/lib/qt.xml index f23bd255f5..1b3c8de038 100644 --- a/x/lib/qt.xml +++ b/x/lib/qt.xml @@ -116,14 +116,16 @@ This is the method that most commercial distributions use. - If Qt is being reinstalled, run the - following commands from a console or non-Qt based window manager. - It overwrites Qt libraries that should not - be in use during the install process. + The installation incorrectly uses cp to install the files. + This causes problems if the Qt libraries + are already in use (e.g. you are logged in into your + KDE desktop environment). To avoid problems, + "cp -f" is replaced by "install" in qmake.conf. sed -i -e 's:$(QTDIR)/include:&/qt:' \ -e 's:$(QTDIR)/lib:&/qt:' \ + -e "s:cp -f:install:" \ mkspecs/linux*/qmake.conf && bash export PATH=$PWD/bin:$PATH && @@ -135,7 +137,8 @@ export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH && -no-exceptions -thread -plugin-imgfmt-png \ -system-libjpeg -system-libpng && find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" && -make +make && +exit Now, as the root user: @@ -145,10 +148,6 @@ ln -v -sf libqt-mt.so /usr/lib/libqt.so && cp -v -r doc/man /usr/share && cp -v -r examples /usr/share/doc/qt - And finally back as the regular user: - -exit - @@ -158,8 +157,7 @@ cp -v -r examples /usr/share/doc/qt developers. It has the advantage of keeping all the package files consolidated in a dedicated directory hierarchy. By using this method, an update can be made without overwriting a previous installation and - users can easily revert to a previous version by changing one symbolic l - ink. + users can easily revert to a previous version by changing one symbolic link. The Qt developers use a default location of /usr/local/qt/, however this @@ -185,10 +183,6 @@ ln -v -s libqt-mt.so /opt/qt/lib/libqt.so && cp -v -r doc/man /opt/qt/doc && cp -v -r examples /opt/qt/doc - And finally back as the regular user: - -exit - If you pass the @@ -276,7 +270,8 @@ cp -v -r examples /opt/qt/doc libraries. Alternatively, the variable can be set in the system wide /etc/profile file. - For Method 1: + For Method 1 (This is optional, only set this if an application is + unable to find the installed libraries): export QTDIR=/usr