<div dir="ltr"><div>Good point Asser!<br></div>Not to mention how big of a misunderstading it is not to allow vibration all together.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>// Peter Pykäläinen</div></div>
<br><div class="gmail_quote">On 1 December 2014 at 23:34, sailfishmail <span dir="ltr"><<a href="mailto:sailfishmail@denden.pw" target="_blank">sailfishmail@denden.pw</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Another observation:<br>
<br>
You're allowed to require qt5-qtfeedback in your RPM-packaging<br>
according to the faq:<br>
<a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_requires.conf" target="_blank">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_requires.conf</a><br>
<br>
which installs<br>
  /usr/lib/libQt0Feedback.so.0<br>
  /usr/lib/libQt0Feedback.so.0.0<br>
  /usr/lib/libQt0Feedback.so.0.0.0<br>
  /usr/lib/qt5/qml<br>
  /usr/lib/qt5/qml/QtFeedback<br>
  /usr/lib/qt5/qml/QtFeedback/libdeclarative_feedback.so<br>
  /usr/lib/qt5/qml/QtFeedback/plugins.qmltypes<br>
  /usr/lib/qt5/qml/QtFeedback/qmldir<br>
<br>
However, according to<br>
<a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_libraries.conf" target="_blank">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_libraries.conf</a><br>
and<br>
<a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_qmlimports.conf" target="_blank">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_qmlimports.conf</a><br>
you're not allowed to use what you required to be installed.<br>
<br>
Maybe some misunderstanding when making the harbour validation scripts?<br>
<br>
-Asser<br>
<br>
Mon, 01 Dec 2014 22:08:34 +0100<br>
"Peter Pykäläinen" <<a href="mailto:peter.pykalainen@gmail.com">peter.pykalainen@gmail.com</a>> kirjoitti:<br>
<div><div class="h5"><br>
> Thanks Kimmo!<br>
><br>
> That was new.<br>
><br>
> And it fails:<br>
><br>
> Libraries<br>
> =========<br>
> ERROR [/usr/bin/harbour-sailraid] Cannot link to shared library:<br>
> libQt0Feedback.so.0<br>
> INFO [/usr/bin/harbour-sailraid] Please see our FAQ here:<br>
> <a href="https://harbour.jolla.com/faq#Shared_Libraries" target="_blank">https://harbour.jolla.com/faq#Shared_Libraries</a><br>
> FAILED<br>
><br>
><br>
> Requires<br>
> ========<br>
> ERROR [libQt0Feedback.so.0] Cannot require shared library:<br>
> 'libQt0Feedback.so.0'<br>
> INFO [harbour-sailraid] Please see our FAQ here:<br>
> <a href="https://harbour.jolla.com/faq#2.6.0" target="_blank">https://harbour.jolla.com/faq#2.6.0</a> how to use<br>
> '__provides_exclude_from' and '__requires_exclude' .spec file to<br>
> avoid that FAILED<br>
><br>
> And it fails totally.<br>
> Not fun.<br>
><br>
> So no vibration then, how can this basic stuff not be accepted?<br>
><br>
> // Peter Pykäläinen<br>
><br>
> On 1 December 2014 at 22:57, Kimmo Lindholm <<a href="mailto:Kimmo.Lindholm@eke.fi">Kimmo.Lindholm@eke.fi</a>><br>
> wrote:<br>
><br>
> >  Run the pre-validation tool from SDK, if you get green there, it’s<br>
> > much closer to approval…<br>
> ><br>
> ><br>
> ><br>
> > (I prefer accessing it through browser,<br>
> > <a href="http://127.0.0.1:8080/C/harbour_tools/" target="_blank">http://127.0.0.1:8080/C/harbour_tools/</a> )<br>
> ><br>
> ><br>
> ><br>
> > -kimmo<br>
> ><br>
> ><br>
> ><br>
</div></div>> > *From:* <a href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a> [mailto:<br>
> > <a href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>] *On Behalf Of *Peter Pykäläinen<br>
> > *Sent:* Monday, December 01, 2014 10:34 PM<br>
> > *To:* Sailfish OS Developers<br>
> > *Subject:* Re: [SailfishDevel] QtFeedback 5.0 not allowed? Really?<br>
<div class="HOEnZb"><div class="h5">> ><br>
> ><br>
> ><br>
> > Hi,<br>
> ><br>
> > yes I did, thank you all for your help.<br>
> ><br>
> > Especially Andrey, you are the man!<br>
> ><br>
> > Let's see now if this passes harbour QA or not :)<br>
> ><br>
> ><br>
> ><br>
> > // Peter Pykäläinen<br>
> ><br>
> ><br>
> ><br>
> > On 1 December 2014 at 22:30, Gabriel Böhme<br>
> > <<a href="mailto:m.gabrielboehme@googlemail.com">m.gabrielboehme@googlemail.com</a>> wrote:<br>
> ><br>
> > 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:<br>
> ><br>
> > > I give up!<br>
> > ><br>
> > > Once I figured out how to add the stupid haptics stuff into<br>
> > > the .pro<br>
> > file I<br>
> > > then get errors on my main when I try to compile:<br>
> > ><br>
> > > error: undefined reference to `SailfishApp::application(int&,<br>
> > > char**)' error: undefined reference to `SailfishApp::createView()'<br>
> > > error: undefined reference to `SailfishApp::pathTo(QString<br>
> > > const&)'<br>
> > ><br>
> > > I have used this kind of code succesfully in my other app and no<br>
> > > issue 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<br>
> > > you need<br>
> > more<br>
> > ><br>
> > >     // control over initialization, you can use:<br>
> > ><br>
> > >     //<br>
> > ><br>
> > >     //   - SailfishApp::application(int, char *[]) to get the<br>
> > QGuiApplication *<br>
> > ><br>
> > >     //   - SailfishApp::createView() to get a new QQuickView *<br>
> > > instance<br>
> > ><br>
> > >     //   - SailfishApp::pathTo(QString) to get a QUrl to a<br>
> > > resource file<br>
> > ><br>
> > >     //<br>
> > ><br>
> > >     // To display the view, call "show()" (will show fullscreen on<br>
> > device).<br>
> > ><br>
> > ><br>
> > > //    return SailfishApp::main(argc, argv);<br>
> > ><br>
> > >     QScopedPointer<QGuiApplication><br>
> > > app(SailfishApp::application(argc,<br>
> > 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<br>
> > > <<a href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a>> wrote:<br>
> > ><br>
> > > >  I can suggest you to use QtFeedback from Qt side and register<br>
> > > > QML<br>
> > 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<br>
> > > > to:<br>
> > > ><br>
> > > ><br>
> ><br>
> > > > *Import 'QtFeedback 5.0' is not allowed *<br>
> > > > Is it really so that vibration is not allowed in Harbour apps?<br>
> > > >  Is there any alternative?<br>
> > > ><br>
> > > > // Peter Pykäläinen<br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > SailfishOS.org Devel mailing list<br>
> > > > To unsubscribe, please send a mail to<br>
> > <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > SailfishOS.org Devel mailing list<br>
> > > > To unsubscribe, please send a mail to<br>
> > > > <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
> > > ><br>
> > ><br>
> ><br>
> > --<br>
> > Gesendet von meinem Jolla<br>
> ><br>
> > _______________________________________________<br>
> > SailfishOS.org Devel mailing list<br>
> > To unsubscribe, please send a mail to<br>
> > <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > SailfishOS.org Devel mailing list<br>
> > To unsubscribe, please send a mail to<br>
> > <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
> ><br>
<br>
_______________________________________________<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></div></div></blockquote></div><br></div>