[PyKDE] compile error in kio module

Hans-Peter Jansen hpj at urpla.net
Sun May 23 19:53:01 BST 2004


On Sunday 23 May 2004 05:30, Bonne Eggleston wrote:
> Hi,
> I attempted to compile PyKDE but got errors. I'm running SuSE 9.0
> with KDE 3.2.1, Python 2.3.0, Sip  3.10.2, Qt 3.2., PyQt 3.11.0
>
> Here's the compiler error:
>
> make[1]: Entering directory
> `/home/Bonne/Downloads/Libraries/PyKDE-3.11rc1/ kio'
> g++ -c -Wno-deprecated-declarations -pipe -O2 -march=i586
> -mcpu=i686 -fmessage-length=0 -fPIC -fPIC -O2 -march=i586
> -mcpu=i686 -fmessage-length=0 -fPIC -w -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I../extra/kde314 -I/opt/kde3/include
> -I/opt/kde3/include/kio -I/usr/include/ -I/usr/include/ python2.3
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o kiopart0.o
> kiopart0.cpp
> kiopart0.cpp: In function `PyObject*
> sipDo_KFileShare_setShared(PyObject*, PyObject*)':
> kiopart0.cpp:6848: error: no matching function for call to
> `KFileShare::setShared(QString&, bool&)'
> /opt/kde3/include/kfileshare.h:71: error: candidates are: static
> bool KFileShare::setShared(const QString&, bool, bool)
> make[1]: *** [kiopart0.o] Error 1
> make[1]: Leaving directory
> `/home/Bonne/Downloads/Libraries/PyKDE-3.11rc1/kio' make: *** [all]
> Error 2
>

Well, this is a unfortunate SuSEism. Try attached patch..

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-3.11-kfileshare-sip.diff
Type: text/x-diff
Size: 325 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040523/d7bace2e/PyKDE-3.11-kfileshare-sip.bin


More information about the PyQt mailing list