<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
the include error is fixed, but now I am back to my old problem:<br>
<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span
style=" font-family:'Monospace'; font-size:9pt;
color:#1a1a1a;">[W] unknown:33 -
<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 </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Monospace'; font-size:9pt;
color:#1a1a1a;"> import QtContacts 5.0 </span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style> <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>
</div>
<blockquote cite="mid:52B59958.3020904@gmail.com" 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>
</body>
</html>