build issues in akonadi
Pavel Heimlich, a.k.a. hajma
tropikhajma at gmail.com
Mon Jun 7 23:25:29 CEST 2010
2010/6/6 Pavel Heimlich, a.k.a. hajma <tropikhajma at gmail.com>:
> since May 15 kdepimlibs is failing with
> [ 68%] Building CXX object
> line 166: Error: Redefining Akonadi::EntityTreeModel::UserRole after
> use in Akonadi::ContactsTreeModel.
> 1 Error(s) detected.
> This is using the Sun Studio compiler on opensolaris, it is usually
> more picky than gcc.
> asking at the irc I was pointed at this revision
> but I don't have the knowledge to figure out what's wrong and what the
> intention was.
> this prevents me from building most of kde, so any hints are welcome
thanks, this helped:
$ svn diff
--- akonadi/contact/contactstreemodel.h (revision 1135611)
+++ akonadi/contact/contactstreemodel.h (working copy)
@@ -161,7 +161,7 @@
- DateRole = UserRole + 1, ///< The QDate object for the current index.
+ DateRole = EntityTreeModel::UserRole + 1, ///< The QDate
object for the current index.
UserRole = DateRole + 42
(forgot to mention that I'm not subscribed to the list, please cc me
More information about the Kde-buildsystem