[Kde-pim] build issues in akonadi

Tobias Koenig tokoe at kde.org
Mon Jun 7 12:08:14 BST 2010


On Sun, Jun 06, 2010 at 08:37:10PM +0200, Pavel Heimlich, a.k.a. hajma wrote:
> Hi,
Hej Pavel,

> [ 68%] Building CXX object
> akonadi/contact/CMakeFiles/akonadi-contact.dir/akonadi-contact_automoc.o
> 
> "/.../builddir-SunOS-CMake-2.6.4-sunstudio-12.1-cmake-2.6.4/akonadi/contact/../../../srcdir/akonadi/contact/contactstreemodel.h",
> line 166: Error: Redefining Akonadi::EntityTreeModel::UserRole after
> use in Akonadi::ContactsTreeModel.
Hmm, looks actually like a bug in SunOS compiler to me.

While in 'DateRole = UserRole' UserRole is the one from EntityTreeModel, the UserRole in
'UserRole = DateRole + 42' is in the namespace ContactsTreeModel.
EntityTreeModel uses similar code, however it references UserRole as Qt::UserRole explicitly.
Does it help to write 'DateRole = EntityTreeModel::UserRole'?

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100607/61b4c8ad/attachment.sig>
-------------- next part --------------
_______________________________________________
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