[Kde-pim] problems build kolab resource against Qt 4.5 (QDBus problems?)

Szymon Stefanek pragma at kvirc.net
Sun Aug 24 04:04:58 BST 2008


On Sunday 24 August 2008, Brad Hards wrote:
> I'm trying to build kdepim against Qt4.5 snapshot.
> It looks like something has changed about the QDBus signatures.
>
> /home/bradh/devel/kde-src/kdepim/kresources/kolab/shared/kmailconnection.cp
>p:160: error: no matching function for call to
> ‘Kolab::KMailConnection::checkReply(QDBusPendingReply<QList<KMail::SubResou
>rce>, void, void, void, void, void, void, void>,
> QList<KMail::SubResource>&)’
> /home/bradh/devel/kde-src/kdepim/kresources/kolab/shared/kmailconnection.h:
>130: note: candidates are: bool
> Kolab::KMailConnection::checkReply(QDBusReply<bool>) const

I get this too.

dbusxml2cpp has changed in the snapshot and it produces methods with
different return types. I guess that the kresources pieces of code will have 
to be fixed when dbusxml2cpp is updated in qt-copy. By the meantime some
preprocessor tricks could be also used...

You *could* try to temporairly #ifdef out the erroneous code lines
and see if it's enough to make it to the compilation end. I haven't tried for 
now. Please report if you proceed and succeed.

I also get an error about a zero-sized array in 
QDBusPendingReply::calculateMetaTypes()... but I guess that it depends on the 
compiler you're using and in fact it's a fault in the snapshot itself.
If it persists in later snapshots I'll report it...


-- 

Szymon Stefanek

------------------------------------------------------------------------------
-
- Somewhere, something incredible is waiting to be known.
-
------------------------------------------------------------------------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list