[SailfishDevel] QtContacts available
Matthias Barmeier
barmeier at barmeier.com
Sat Dec 21 14:26:25 UTC 2013
Hi,
the include error is fixed, but now I am back to my old problem:
[W] unknown:33 - file:///usr/share/test/qml/pages/FirstPage.qml:33:1:
module "QtContacts" is not installed
import QtContacts 5.0
my QML:
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtContacts 5.0
Page {
id: page
...
my test.cpp:
#ifdef QT_QML_DEBUG
#include <QtQuick>
#endif
#include <sailfishapp.h>
#include <QtContacts/QtContacts>
...
What else must I do ?
Ciao
Matze
Am 21.12.2013 14:36, schrieb Andrey Kozhevnikov:
> add
> INCLUDEPATH += /usr/include/qt5/QtContacts
> to pro file
>
> On 21.12.2013 18:44, Matthias Barmeier wrote:
>> Hi,
>>
>> I added the CONFIG line to my project file. And added the include to
>> my .cpp file, but got this.
>>
>> /usr/include/qt5/QtContacts/qcontact.h:53: Fehler:qcontactsglobal.h:
>> No such file or directory
>>
>> This file is availables under:
>> /opt/SailfishOS/mersdk/targets/SailfishOS-i486-x86/usr/include/qt5/QtContacts
>>
>>
>> I try to use QtContacts from qml ist this possible ?
>>
>> Ciao
>> Matze
>>
>> Am 21.12.2013 13:04, schrieb Andrey Kozhevnikov:
>>> add it to pro file CONFIG += Qt5Contacts
>>> and then include in Qt <QtContacs/...>
>>>
>>> On 21.12.2013 18:02, Matthias Barmeier wrote:
>>>> Hi,
>>>>
>>>> I am new to SailfishOS coming from Harmattan. How can I add this
>>>> module ?
>>>> Is there any Dev Introduction available on how to add modules or
>>>> which modules are available ?
>>>>
>>>> Thanks.
>>>>
>>>> Ciao
>>>> Matze
>>>>
>>>> Am 21.12.2013 12:59, schrieb Andrey Kozhevnikov:
>>>>> its Qt5Contacts module
>>>>>
>>>>> On 21.12.2013 17:58, Matthias Barmeier wrote:
>>>>>> Hi,
>>>>>>
>>>>>> is QtContacts available for SDK emulator or Device ? And if it is
>>>>>> available where and how can I get it ?
>>>>>>
>>>>>> Ciao
>>>>>> Matze
>>>>>> _______________________________________________
>>>>>> SailfishOS.org Devel mailing list
>>>>>
>>>>> _______________________________________________
>>>>> SailfishOS.org Devel mailing list
>>>>
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>
>>> _______________________________________________
>>> 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/20131221/d51874bb/attachment.html>
More information about the Devel
mailing list