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

Matthias Barmeier barmeier at barmeier.com
Sat Jan 25 12:55:52 UTC 2014


Hi,

do you mean that all these packages:


qt5-qtdeclarative-pim-organizer

qt5-qtdeclarative-pim-organizer-debuginfo

qt5-qtpim-organizer

qt5-qtpim-organizer-debuginfo

qt5-qtpim-organizer-devel

qt5-qtpim-versitorganizer

qt5-qtpim-versitorganizer-debuginfo

qt5-qtpim-versitorganizer-devel


are obsolete or am  I unable to use them from QML ?

Do you have a hint where I can found an example on how to access the 
calendar with nemo.mobile.org ?

Thanks.

Ciao
     Matze



Am 25.01.2014 13:01, schrieb Andrey Kozhevnikov:
> there are no organizer in Sailfish
>
> Sailfish using org.nemomobile.calendar module
>
> On 25.01.2014 17:57, Matthias Barmeier wrote:
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list

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


More information about the Devel mailing list