[PyKDE] PyKDE 3.11alpha6
Steven Robson
s.a.robson at sms.ed.ac.uk
Sat Apr 24 14:33:01 BST 2004
On Friday 23 April 2004 22:25, Jim Bublitz wrote:
> The KIconThemeDir issue has been an annoyance since the first
> PyKDE version I worked on. Lately, the problem seemed to have
> disappeared for some unknown reason.
>
> KIconThemeDir is a class that's forward declared in the h file,
> but defined in the .cpp file, so it's inaccessible to sip (and
> to PyKDE as well). Ordinarily sip handles these, but in this
> case it never has until the last 2 or 3 versions (on my
> systems). That being the case, I quit modifying the kicontheme.h
> file in recent releases.
>
> The fix is very easy - open extra/kde3xx/kicontheme.h in an
> editor and comment out (//) the 2 lines that contain a reference
> to KIconThemeDir (the forward declaration and another reference
> near the end of the file). Look at one of the
> extra/kde30x/kicontheme.h files if you're not sure.
>
> I'll go back to doing this again in future releases (I was hoping
> to be able to drop the modified file altogether). kde3xx is the
> directory that corresponds to your KDE version (eg extra/kde320
> for KDE3.2.0).
>
> If you upgrade KDE, you'll probably need to change kicontheme.h
> in the corresponding new kde3xx directory.
I've done what you suggested, and it gets even further now.
But it still fails with kjspart0.cpp, error log enlosed.
Thanks again,
Steven
-------------- next part --------------
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/dcop'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o dcoppart0.o dcoppart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_dcoppart0.cpp dcoppart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_dcoppart0.o moc_dcoppart0.cpp
g++ -shared -Wl,-soname,libdcopcmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libdcopcmodule.so dcoppart0.o moc_dcoppart0.o -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lqtcmodule -lDCOP -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/dcop'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdecore'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kdecorepart0.o kdecorepart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kdecorepart0.cpp kdecorepart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kdecorepart0.o moc_kdecorepart0.cpp
g++ -shared -Wl,-soname,libkdecorecmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkdecorecmodule.so kdecorepart0.o moc_kdecorepart0.o -L../dcop -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -ldcopcmodule -lqtcmodule -lkdecore -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdecore'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdesu'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kdesu -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kdesupart0.o kdesupart0.cpp
g++ -shared -Wl,-soname,libkdesucmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkdesucmodule.so kdesupart0.o -L../kdecore -L../dcop -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkdecorecmodule -ldcopcmodule -lqtcmodule -lkdesu -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdesu'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdefx'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kdefxpart0.o kdefxpart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kdefxpart0.cpp kdefxpart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kdefxpart0.o moc_kdefxpart0.cpp
g++ -shared -Wl,-soname,libkdefxcmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkdefxcmodule.so kdefxpart0.o moc_kdefxpart0.o -L../kdecore -L../dcop -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkdecorecmodule -ldcopcmodule -lqtcmodule -lkdefx -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdefx'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdeui'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kdeuipart0.o kdeuipart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kdeuipart0.cpp kdeuipart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kdeuipart0.o moc_kdeuipart0.cpp
g++ -shared -Wl,-soname,libkdeuicmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkdeuicmodule.so kdeuipart0.o moc_kdeuipart0.o -L../kdefx -L../kdecore -L../dcop -L../qtxml -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkdefxcmodule -lkdecorecmodule -ldcopcmodule -lqtxmlcmodule -lqtcmodule -lkdeui -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kdeui'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kio'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kiopart0.o kiopart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kiopart0.cpp kiopart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kiopart0.o moc_kiopart0.cpp
g++ -shared -Wl,-soname,libkiocmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkiocmodule.so kiopart0.o moc_kiopart0.o -L../kdeui -L../kdefx -L../kdecore -L../dcop -L../qtxml -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkdeuicmodule -lkdefxcmodule -lkdecorecmodule -ldcopcmodule -lqtxmlcmodule -lqtcmodule -lkio -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kio'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kfile'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kfilepart0.o kfilepart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kfilepart0.cpp kfilepart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kfilepart0.o moc_kfilepart0.cpp
g++ -shared -Wl,-soname,libkfilecmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkfilecmodule.so kfilepart0.o moc_kfilepart0.o -L../kio -L../kdeui -L../kdefx -L../kdecore -L../dcop -L../qtxml -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkiocmodule -lkdeuicmodule -lkdefxcmodule -lkdecorecmodule -ldcopcmodule -lqtxmlcmodule -lqtcmodule -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kfile'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kparts'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/opt/kde/include/kparts -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kpartspart0.o kpartspart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_kpartspart0.cpp kpartspart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/opt/kde/include/kparts -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_kpartspart0.o moc_kpartspart0.cpp
g++ -shared -Wl,-soname,libkpartscmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkpartscmodule.so kpartspart0.o moc_kpartspart0.o -L../kio -L../kdeui -L../kdefx -L../kdecore -L../dcop -L../qtxml -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkiocmodule -lkdeuicmodule -lkdefxcmodule -lkdecorecmodule -ldcopcmodule -lqtxmlcmodule -lqtcmodule -lkparts -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kparts'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/khtml'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/opt/kde/include/kparts -I/opt/kde/include/dom -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o khtmlpart0.o khtmlpart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_khtmlpart0.cpp khtmlpart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/opt/kde/include/kparts -I/opt/kde/include/dom -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_khtmlpart0.o moc_khtmlpart0.cpp
g++ -shared -Wl,-soname,libkhtmlcmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libkhtmlcmodule.so khtmlpart0.o moc_khtmlpart0.o -L../kparts -L../kio -L../kdeui -L../kdefx -L../kdecore -L../dcop -L../qtxml -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lkpartscmodule -lkiocmodule -lkdeuicmodule -lkdefxcmodule -lkdecorecmodule -ldcopcmodule -lqtxmlcmodule -lqtcmodule -lkhtml -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/khtml'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kjs'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/opt/kde/include/kio -I../kio -I/opt/kde/include/kparts -I/opt/kde/include/dom -I/opt/kde/include/kjs -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kjspart0.o kjspart0.cpp
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha6/kjs'
)':
kjspart0.cpp:13218: uninitialized const member `KJS::HashTable::entries'
kjspart0.cpp:13218: uninitialized const member `KJS::HashTable::sbase'
make[1]: *** [kjspart0.o] Error 1
make: *** [all] Error 2
More information about the PyQt
mailing list