while compiling kopete with the messenger flag enabled I hit the following errors:
/var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/messenger/messengerprotocol.h:39: error: expected ',' or '...' before '&' token /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/messenger/messengerprotocol.h:39: error: ISO C++ forbids declaration of 'QVariantList' with no type /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/messenger/messengerprotocol.cpp:32: error: prototype for 'MessengerProtocol::MessengerProtocol(QObject*, const QVariantList&)' does not match any in class 'MessengerProtocol' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/messenger/messengerprotocol.h:37: error: candidates are: MessengerProtocol::MessengerProtocol(const MessengerProtocol&) /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/messenger/messengerprotocol.h:39: error: MessengerProtocol::MessengerProtocol(QObject*, int) looks like the QVariant definition is not there, so tried to fix it myself see attached patch, where I simply add an include line
Index: protocols/messenger/messengerprotocol.h =================================================================== --- protocols/messenger/messengerprotocol.h (revision 765762) +++ protocols/messenger/messengerprotocol.h (working copy) @@ -17,6 +17,8 @@ #ifndef MESSENGERPROTOCOL_H #define MESSENGERPROTOCOL_H +#include <QVariant>; + #include <kopeteprotocol.h> #include <kopete_export.h>
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
