<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.im
        {mso-style-name:im;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.Shkpostityyli19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Run the pre-validation tool from SDK, if you get green there, it’s much closer to approval…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">(I prefer accessing it through browser,
<a href="http://127.0.0.1:8080/C/harbour_tools/">http://127.0.0.1:8080/C/harbour_tools/</a> )<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-kimmo<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> devel-bounces@lists.sailfishos.org [mailto:devel-bounces@lists.sailfishos.org]
<b>On Behalf Of </b>Peter Pykäläinen<br>
<b>Sent:</b> Monday, December 01, 2014 10:34 PM<br>
<b>To:</b> Sailfish OS Developers<br>
<b>Subject:</b> Re: [SailfishDevel] QtFeedback 5.0 not allowed? </span><span lang="FI" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Really?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal">yes I did, thank you all for your help.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Especially Andrey, you are the man!<o:p></o:p></p>
</div>
<p class="MsoNormal">Let's see now if this passes harbour QA or not :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
// Peter Pykäläinen<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 1 December 2014 at 22:30, Gabriel Böhme <<a href="mailto:m.gabrielboehme@googlemail.com" target="_blank">m.gabrielboehme@googlemail.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Have you tried cleaning the project? Helps sometimes.<br>
<br>
Am Mon Dec 01 2014 21:18:17 GMT+0100 (CET) schrieb Peter Pykäläinen:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">> I give up!<br>
><br>
> Once I figured out how to add the stupid haptics stuff into the .pro file I<br>
> then get errors on my main when I try to compile:<br>
><br>
> error: undefined reference to `SailfishApp::application(int&, char**)'<br>
> error: undefined reference to `SailfishApp::createView()'<br>
> error: undefined reference to `SailfishApp::pathTo(QString const&)'<br>
><br>
> I have used this kind of code succesfully in my other app and no issue<br>
> there.<br>
><br>
> Any help would be much appreciated.<br>
><br>
> My main looks like this:<br>
><br>
> #ifdef QT_QML_DEBUG<br>
><br>
> #include <QtQuick><br>
><br>
> #endif<br>
><br>
><br>
> #include <sailfishapp.h><br>
><br>
> #include <rumbler.h><br>
><br>
> #include <QQuickView><br>
><br>
> #include <QQmlContext><br>
><br>
> #include <QGuiApplication><br>
><br>
><br>
><br>
> int main(int argc, char *argv[])<br>
><br>
> {<br>
><br>
>     // SailfishApp::main() will display "qml/template.qml", if you need more<br>
><br>
>     // control over initialization, you can use:<br>
><br>
>     //<br>
><br>
>     //   - SailfishApp::application(int, char *[]) to get the QGuiApplication *<br>
><br>
>     //   - SailfishApp::createView() to get a new QQuickView * instance<br>
><br>
>     //   - SailfishApp::pathTo(QString) to get a QUrl to a resource file<br>
><br>
>     //<br>
><br>
>     // To display the view, call "show()" (will show fullscreen on device).<br>
><br>
><br>
> //    return SailfishApp::main(argc, argv);<br>
><br>
>     QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));<br>
><br>
>     QScopedPointer<QQuickView> view(SailfishApp::createView());<br>
><br>
><br>
>     Rumbler rumbler;<br>
><br>
><br>
>     view->rootContext()->setContextProperty("Rumbler", &rumbler);<br>
><br>
>     view->setSource(SailfishApp::pathTo("qml/harbour-myapp.qml"));<br>
><br>
>     view->show();<br>
><br>
>     view->showFullScreen();<br>
><br>
><br>
>     return app->exec();<br>
><br>
> }<br>
><br>
><br>
><br>
><br>
><br>
> // Peter Pykäläinen<br>
><br>
> On 1 December 2014 at 15:08, Andrey Kozhevnikov <<a href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a>><br>
> wrote:<br>
><br>
> >  I can suggest you to use QtFeedback from Qt side and register QML type.<br>
> ><br>
> > 01.12.2014 18:06, Peter Pykäläinen пишет:<br>
> ><br>
> >   Just got my game rejected in Jolla Harbour this morning due to:<br>
> ><br>
> ><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">> > *Import 'QtFeedback 5.0' is not allowed *<br>
<span class="im">> > Is it really so that vibration is not allowed in Harbour apps?</span><br>
<span class="im">> >  Is there any alternative?</span><br>
<span class="im">> ></span><br>
<span class="im">> > // Peter Pykäläinen</span><br>
<span class="im">> ></span><br>
<span class="im">> ></span><br>
<span class="im">> > _______________________________________________</span><br>
<span class="im">> > SailfishOS.org Devel mailing list</span><br>
<span class="im">> > To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">
devel-unsubscribe@lists.sailfishos.org</a></span><br>
<span class="im">> ></span><br>
<span class="im">> ></span><br>
<span class="im">> ></span><br>
<span class="im">> > _______________________________________________</span><br>
<span class="im">> > SailfishOS.org Devel mailing list</span><br>
<span class="im">> > To unsubscribe, please send a mail to</span><br>
<span class="im">> > <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></span><br>
<span class="im">> ></span><br>
<span class="im">></span><br>
<br>
<span class="hoenzb"><span style="color:#888888">--</span></span><span style="color:#888888"><br>
<span class="hoenzb">Gesendet von meinem Jolla</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">
devel-unsubscribe@lists.sailfishos.org</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>