[Kde-pim] Error building kdepim. Log shows some akonadi issue

Sudhendu Roy sudhendu.kumar.roy at gmail.com
Thu Jun 9 21:46:53 BST 2011


Hi all,

I updated my kdepim module and tried building it, but it shows the following
error. Any idea what is wrong? My akonadi, kdepim-runtime and kdepimlibs
modules are all up to date and built.

In file included from
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:21:

/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.h:49:
error: expected class-name before '{' token
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:
In constructor
'Akonadi::QuotaColorProxyModel::QuotaColorProxyModel(QObject*)':
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:50:
error: class 'Akonadi::QuotaColorProxyModel' does not have any field named
'KIdentityProxyModel'
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:
In member function 'virtual QVariant
Akonadi::QuotaColorProxyModel::data(const QModelIndex&, int) const':
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:83:
error: 'mapToSource' was not declared in this scope
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:85:
error: 'sourceModel' was not declared in this scope
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:85:
error: expected primary-expression before '>' token
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:85:
error: expected primary-expression before ')' token
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:100:
error: 'KIdentityProxyModel' has not been declared
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:
In member function 'virtual void
Akonadi::QuotaColorProxyModel::setSourceModel(QAbstractItemModel*)':
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:105:
error: 'KIdentityProxyModel' has not been declared
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:110:
error: 'setRoleNames' was not declared in this scope
In file included from
/home/sudhendu/kde/src/kdePim/kdepim/akonadi_next/quotacolorproxymodel.cpp:114:
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:
At global scope:
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:41:
error: 'KIdentityProxyModel' has not been declared
/home/sudhendu/kde/src/qt-kde/include/QtCore/../../src/corelib/kernel/qobject.h:
In member function 'virtual const QMetaObject*
Akonadi::QuotaColorProxyModel::metaObject() const':
/home/sudhendu/kde/src/qt-kde/include/QtCore/../../src/corelib/kernel/qobject.h:296:
error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >
QObject::d_ptr' is protected
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:51:
error: within this context
/home/sudhendu/kde/src/qt-kde/include/QtCore/../../src/corelib/kernel/qobject.h:296:
error: object missing in reference to 'QObject::d_ptr'
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:51:
error: from this location
/home/sudhendu/kde/src/qt-kde/include/QtCore/../../src/corelib/kernel/qobject.h:296:
error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >
QObject::d_ptr' is protected
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:51:
error: within this context
/home/sudhendu/kde/src/qt-kde/include/QtCore/../../src/corelib/kernel/qobject.h:296:
error: object missing in reference to 'QObject::d_ptr'
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:51:
error: from this location
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:
In member function 'virtual void*
Akonadi::QuotaColorProxyModel::qt_metacast(const char*)':
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:59:
error: 'KIdentityProxyModel' has not been declared
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:
In member function 'virtual int
Akonadi::QuotaColorProxyModel::qt_metacall(QMetaObject::Call, int, void**)':
/home/sudhendu/kde/build/kdePim/kdepim/akonadi_next/quotacolorproxymodel.moc:64:
error: 'KIdentityProxyModel' has not been declared
make[2]: ***
[akonadi_next/CMakeFiles/akonadi_next.dir/quotacolorproxymodel.o] Error 1
make[1]: *** [akonadi_next/CMakeFiles/akonadi_next.dir/all] Error 2
make: *** [all] Error 2



Thanks & Regards

Sudhendu Kumar

http://sudhendu.in
_______________________________________________
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