trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] kdiff3 build failure - error: constructor KDiff3Plugin:: - 'addAction' was not declared in this scope

From: Darrell Anderson <humanreadable@...>
Date: Thu, 29 Mar 2012 12:06:16 -0700 (PDT)
> In file included from /opt/trinity/include/kfileitem.h:31:0,
>              
>    from /opt/trinity/include/konq_popupmenu.h:32,
>              
>    from kdiff3plugin.h:24,
>              
>    from kdiff3plugin.cpp:21:
> /opt/trinity/include/kfilemetainfo.h:1237:34: warning: type
> qualifiers ignored on function return type [-Wignored-qualifiers]
> kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*,
> const char*, const TQStringList&)':
> kdiff3plugin.cpp:153:27: error: 'addAction' was not declared
> in this scope

That looks familiar. Recently I pushed a patch to change occurrences in kdiff3 of tqAddAction to addAction:

http://www.trinitydesktop.org/patches/1332366465:3f02b2be383bb2ab233fe8885f062f75fd902e78.diff

Try updating your kdiff3 sources or temporarily apply the patch.

Darrell