qt-2.2.2

qt-2.2.2

Requires: Removing old QT first, or major wizardry

Yarg! I had to upgrade the QT library for the next -to-be-mentioned package, avifile-0.51. QT is a graphics library that allows a nice standard library for developers. Because of this, it's widely used. It's a prerequisite for KDE. Changing this was not something I really wanted to do. Conveniently enough, I don't use KDE, so I just removed all traces of KDE and QT from my system. This required repeated use of the infamous "rpm ”erase <package>" command and left me with some extra empty disk space. After that, I pointed my copy of netscape to ftp://ftp.trolltech.com/qt/source/ and grabbed qt-2.2.2. Note that qt-2.2.3 is now available, and by the time you get this book qt-2.2.4 will likely be there as well. Might as well grab the latest, eh?

After you've done that, extract the package with a simple tar zxvf. I extracted the package and compiled it thusly:

cd /usr/src/qt-2.2.2
export QTDIR=/usr/src/qt-2.2.2
./configure -platform linux-g++ -shared
make
su -c"make install"

Note that I didn't bother compiling it with JPEG or PNG support. If you really want those, you can look at the ./configure ”help screen to see where to get those. Compiling this took some time ”1.5 hours on my machine. You might want to consider doing something else while your machine chugs along.

What should you do if you're a heavy KDE user ? Upgrade QT from the RPMs. I've tried compiling KDE several times and never had any luck.

 



Multitool Linux. Practical Uses for Open Source Software
Multitool Linux: Practical Uses for Open Source Software
ISBN: 0201734206
EAN: 2147483647
Year: 2002
Pages: 257

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net