[PyKDE] Problem running pyuic

Torsten Marek shlomme at gmx.net
Fri Sep 13 00:49:00 BST 2002


Jim Bublitz schrieb:
> On 11-Sep-02 Detlev Offenbach wrote:
> 
>>The libqt-mt of build 46 of SuSE 8.0 doesn't work either. Sip and
>>PyQt must be compiled with libqt instead (-l qt).
> 
> 
> Just be aware that PyKDE for KDE >= 3.0 requires libqt-mt
> (-lqt-mt). KDE2 uses libqt.
> 
> Jim
> 
If you feel to recompile Qt 3.0.5 for SuSE 8.0, try the following (I 
already wrote that, but my stupid mailer didn't send it to the list but 
to a user)

Compiling large software packages is often very difficult.
To get your own compiled version of Qt running, do the following:
get qt-x11-3.0.5
(untar, cd into directory)
 >> export QTDIR=`pwd`
 >> ./configure -prefix /usr/lib/qt-3.0.5 -qt-gif -system-zlib -thread 
-no-g++-exceptions -system-libpng -system-libjpeg -system-libmng
This takes some time.
no cd into include
 >> chmod u+w qconfig.h
load qconfig.h into an editor and change buildkey into "g++-2.95.* 
full-config no-stl" (this is extremly important, otherwise the plugins 
shipped with KDE won't work)
 >> chmod u-w qconfig.h
cd into main qt dir
 >> make
(wait till its down, read a good book or just look on the messages 
flushing over the screen)
 >> make -k install (-k is important since the makefile is buggy (or it 
was, at least until last week))
You may save your old Qt dir (/usr/lib/qt-3.0.5), but then you have to 
install qt3-non-mt*.rpm and qt3-devel-doc*.rpm again (due to the buggy 
makefile).

That worked for me, but don't beat me if any mistake occured in this 
description.

Good luck
Torsten




-- 
Ogg Vorbis: open, free audio
www.xiph.org -- www.vorbis.com
What is Ogg Vorbis:
Ogg Vorbis is a completely open, patent-free, professional audio 
encoding and streaming technology with all the benefits of Open Source.




More information about the PyQt mailing list