<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
There is no QML Contacts 5.0 in Sailfish.<br>
You can use Sailfish.Contacts in sailfish-components-contacts-qt5<br>
<br>
<div class="moz-cite-prefix">On 21.12.2013 20:26, Matthias Barmeier
wrote:<br>
</div>
<blockquote cite="mid:52B5A511.5050906@barmeier.com" type="cite">Hi,
<br>
<br>
the include error is fixed, but now I am back to my old problem:
<br>
<br>
[W] <a class="moz-txt-link-freetext" href="unknown:33">unknown:33</a> -
<a class="moz-txt-link-freetext" href="file:///usr/share/test/qml/pages/FirstPage.qml:33:1">file:///usr/share/test/qml/pages/FirstPage.qml:33:1</a>: module
"QtContacts" is not installed
<br>
<br>
import QtContacts 5.0
<br>
<br>
<br>
my QML:
<br>
<br>
import QtQuick 2.0
<br>
import Sailfish.Silica 1.0
<br>
import QtContacts 5.0
<br>
<br>
Page {
<br>
id: page
<br>
...
<br>
<br>
<br>
my test.cpp:
<br>
<br>
#ifdef QT_QML_DEBUG
<br>
#include <QtQuick>
<br>
#endif
<br>
<br>
#include <sailfishapp.h>
<br>
#include <QtContacts/QtContacts>
<br>
<br>
...
<br>
<br>
What else must I do ?
<br>
<br>
Ciao
<br>
Matze
<br>
<br>
Am 21.12.2013 14:36, schrieb Andrey Kozhevnikov:
<br>
<blockquote type="cite">add
<br>
INCLUDEPATH += /usr/include/qt5/QtContacts
<br>
to pro file
<br>
<br>
On 21.12.2013 18:44, Matthias Barmeier wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
I added the CONFIG line to my project file. And added the
include to my .cpp file, but got this.
<br>
<br>
/usr/include/qt5/QtContacts/qcontact.h:53:
Fehler:qcontactsglobal.h: No such file or directory
<br>
<br>
This file is availables under:
<br>
/opt/SailfishOS/mersdk/targets/SailfishOS-i486-x86/usr/include/qt5/QtContacts
<br>
<br>
I try to use QtContacts from qml ist this possible ?
<br>
<br>
Ciao
<br>
Matze
<br>
<br>
Am 21.12.2013 13:04, schrieb Andrey Kozhevnikov:
<br>
<blockquote type="cite">add it to pro file CONFIG +=
Qt5Contacts
<br>
and then include in Qt <QtContacs/...>
<br>
<br>
On 21.12.2013 18:02, Matthias Barmeier wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
I am new to SailfishOS coming from Harmattan. How can I
add this module ?
<br>
Is there any Dev Introduction available on how to add
modules or which modules are available ?
<br>
<br>
Thanks.
<br>
<br>
Ciao
<br>
Matze
<br>
<br>
Am 21.12.2013 12:59, schrieb Andrey Kozhevnikov:
<br>
<blockquote type="cite">its Qt5Contacts module
<br>
<br>
On 21.12.2013 17:58, Matthias Barmeier wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
is QtContacts available for SDK emulator or Device ?
And if it is available where and how can I get it ?
<br>
<br>
Ciao
<br>
Matze
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
_______________________________________________
<br>
SailfishOS.org Devel mailing list
<br>
</blockquote>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>