Okay, here's what I did.
I downloaded the QTM 1.1 package and compiled it in Scratchbox (with calendar-backend-dev installed)
./configure -release
make
fakeroot make install
I took the files in the install directory and copied them onto an N900 with PR1.3. I copied all files in install/lib to /usr/lib and install/plugins/* to /usr/lib/qt4/plugins/.
The maemo5 calender engine (well, kind of) works, because
Code:
foreach (const QString& manager, QOrganizerManager::availableManagers()) {
if (manager != "invalid" && manager != "skeleton") {
printf("%s\n", manager.toStdString().c_str());
}
}
prints "memory" and "maemo5".
Code:
QList<QOrganizerItem> items = man.itemsForExport();
printf("Found %d items\n", items.length());
results in "Found 0 items"
Code:
items = man.itemsForExport(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)),
QDateTime(QDate(2010, 12, 31), QTime(23, 59, 59)));
printf("Found %d items\n", items.length());
results in "Found 0 items"
And yes, I have entries in my calendar.