[PyKDE] PB to compile PyKDE-3.3.2
Jim Bublitz
jbublitz at nwinternet.com
Tue Feb 11 18:34:01 GMT 2003
On 11-Feb-03 Gerard Breiner wrote:
> First of all, thank indeed for your help.
Thanks for your patience and effort.
>> First, what version of KDE are you running? It should be a 2.x.x
> it is exact
It would help to know the specific version you're running -
it looks like KDE 2.2.1 from the error below. You can find the
version by looking in kapp.h (the value for KDE_VERSION) and should
double-check by choosing Help | About KDE in any KDE app and
checking that the version there matches the version in kapp.h.
<snip>
It appears Qt and PyKDE are now in sync, and you shouldn't have to
rebuild PyQt again.
> *sipDo_KStandardDirs_calcResourceHash (PyObject *, PyObject *)':
> sipkdecoreKStandardDirs.cpp:79: no matching function for call to
> `KStandardDirs::calcResourceHash (char *&, QString &, bool)'
In the kstddirs.sip file:
%If ( KDE_2_2_1 - )
Q_UINT32 calcResourceHash (const char*, const QString&, bool)
const;
%End
The first line should be:
%If ( KDE_2_2_2 - )
as this method doesn't appear until KDE 2.2.2. It looks like you
have KDE 2.2.1 and are catching this error. Hopefully there aren't
any more errors like this. If you find more "no matching function"
errors, you check the corresponding KDE h file for the function and
if it's not there, use the same fix as above.
You can edit the sip file with any text editor, and then re-run
build.py. Alternatively, you can comment out ("//") the three lines
above from %If ... to %End.
If this isn't the problem, then you might be having some problems
with build.py finding the correct KDE version, and we can
troubleshoot that instead.
The build test for this version of PyKDE was against KDE 2.2.2, so
the error above slipped by.
Sorry for all the difficulties you've had. I hope this is the last
one, but if not I'll be happy to keep helping.
Jim
More information about the PyQt
mailing list