[SailfishDevel] How can I setup calendar access via QML ?

Matthias Barmeier barmeier at barmeier.com
Sat Jan 25 11:57:00 UTC 2014


Hi,

does anybody know how how to setup calendar access from QML ?
I have successfully gained access to contacts. I tried the same 
approach, but it does not work :(.

What I have tried:

.pro:
CONFIG += QtOrganizer
INCLUDEPATH += /usr/include/qt5/QtOrganizer


.qml:
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtOrganizer 5.0


I get this during compile:

[W] unknown:37 - file:///usr/share/CalDav/qml/CalDav.qml:37:30: Type 
FirstPage unavailable

initialPage: Component { FirstPage { } }

^

[W] unknown:33 - file:///usr/share/CalDav/qml/pages/FirstPage.qml:33:1: 
module "QtOrganizer" is not installed

import QtOrganizer 5.0



What can I do to make it work ?

Ciao
     Matze


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140125/f4cf78a2/attachment.html>


More information about the Devel mailing list