This time the compilation stops when I switched on the telepathy flag. The errors are:
/var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/telepathy/telepathyaccount.cpp:104: error: invalid use of undefined type 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/libkopete/kopeteaccount.h:34: error: forward declaration of 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/telepathy/telepathyaccount.cpp:105: error: invalid use of undefined type 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/libkopete/kopeteaccount.h:34: error: forward declaration of 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/telepathy/telepathyaccount.cpp:106: error: invalid use of undefined type 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/libkopete/kopeteaccount.h:34: error: forward declaration of 'struct KActionMenu' /var/tmp/portage/kde-base/kdenetwork-9999.4/work/kdenetwork-9999.4/kopete/protocols/telepathy/telepathyaccount.cpp:108: error: return-statement with a value, in function returning 'void' well these are two errors one with the KActionMenu and the other one with the return in the void function, both are patched in the attached patch
Index: protocols/telepathy/telepathyaccount.cpp =================================================================== --- protocols/telepathy/telepathyaccount.cpp (revision 765762) +++ protocols/telepathy/telepathyaccount.cpp (working copy) @@ -21,6 +21,7 @@ // KDE includes #include <kaction.h> +#include <kactionmenu.h> #include <kdebug.h> #include <klocale.h> #include <kmenu.h> @@ -104,8 +105,6 @@ actionMenu->addSeparator(); actionMenu->addAction( changeAliasAction ); actionMenu->addAction( changeAvatarAction ); - - return actionMenu; } TelepathyContact *TelepathyAccount::myself()
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
