[SailfishDevel] How can I setup calendar access via QML ?
Andrey Kozhevnikov
coderusinbox at gmail.com
Sat Jan 25 13:02:31 UTC 2014
well, you should try. i dont know if it functioning. but just try.
you need to add "qt5-qtdeclarative-pim-organizer" to package depends to
be able to install it. its not on device by default.
On 25.01.2014 18:55, Matthias Barmeier wrote:
> 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
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140125/033438c7/attachment.html>
More information about the Devel
mailing list