<p dir="ltr">Well that is good news!</p>
<p dir="ltr">Don't let the bloke who messed it anywhere near that code until then :D</p>
<div class="gmail_quote">2.12.2014 11.00 kirjoitti "Reto Zingg" <<a href="mailto:reto.zingg@jolla.com">reto.zingg@jolla.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 01.12.2014 23:34, sailfishmail 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-<u></u>sdk/sdk-harbour-rpmvalidator/<u></u>blob/1.18/allowed_requires.<u></u>conf</a><br>
<br>
</blockquote>
<br>
It's a mistake that qt5-qtfeedback made it into the allowed_requires.conf file.<br>
<br>
It's out for update 10:<br>
<a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.21/allowed_requires.conf" target="_blank">https://github.com/sailfish-<u></u>sdk/sdk-harbour-rpmvalidator/<u></u>blob/1.21/allowed_requires.<u></u>conf</a><br>
<br>
As soon as this libQt0Feedback.so.0 naming mess (note the 0 between Qt and Feedback!) is clean up, we will allow QtFeedback in Harbour (will probably not make it to the next update, but in a later one).<br>
<br>
br<br>
Reto<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
which installs<br>
   /usr/lib/libQt0Feedback.so.0<br>
   /usr/lib/libQt0Feedback.so.0.0<br>
   /usr/lib/libQt0Feedback.so.0.<u></u>0.0<br>
   /usr/lib/qt5/qml<br>
   /usr/lib/qt5/qml/QtFeedback<br>
   /usr/lib/qt5/qml/QtFeedback/<u></u>libdeclarative_feedback.so<br>
   /usr/lib/qt5/qml/QtFeedback/<u></u>plugins.qmltypes<br>
   /usr/lib/qt5/qml/QtFeedback/<u></u>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-<u></u>sdk/sdk-harbour-rpmvalidator/<u></u>blob/1.18/allowed_libraries.<u></u>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-<u></u>sdk/sdk-harbour-rpmvalidator/<u></u>blob/1.18/allowed_qmlimports.<u></u>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" target="_blank">peter.pykalainen@gmail.com</a>> kirjoitti:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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#<u></u>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#<u></u>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" target="_blank">Kimmo.Lindholm@eke.fi</a>><br>
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  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/<u></u>harbour_tools/</a> )<br>
<br>
<br>
<br>
-kimmo<br>
<br>
<br>
<br>
*From:* <a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.<u></u>sailfishos.org</a> [mailto:<br>
<a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.<u></u>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>
<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" target="_blank">m.gabrielboehme@googlemail.<u></u>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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I give up!<br>
<br>
Once I figured out how to add the stupid haptics stuff into<br>
the .pro<br>
</blockquote>
file I<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
then get errors on my main when I try to compile:<br>
<br>
error: undefined reference to `SailfishApp::application(int&<u></u>,<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>
</blockquote>
more<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
     // control over initialization, you can use:<br>
<br>
     //<br>
<br>
     //   - SailfishApp::application(int, char *[]) to get the<br>
</blockquote>
QGuiApplication *<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
</blockquote>
device).<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
//    return SailfishApp::main(argc, argv);<br>
<br>
     QScopedPointer<<u></u>QGuiApplication><br>
app(SailfishApp::application(<u></u>argc,<br>
</blockquote>
argv));<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
     QScopedPointer<QQuickView> view(SailfishApp::createView()<u></u>);<br>
<br>
<br>
     Rumbler rumbler;<br>
<br>
<br>
     view->rootContext()-><u></u>setContextProperty("Rumbler", &rumbler);<br>
<br>
     view->setSource(SailfishApp::<u></u>pathTo("qml/harbour-myapp.qml"<u></u>));<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" target="_blank">coderusinbox@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  I can suggest you to use QtFeedback from Qt side and register<br>
QML<br>
</blockquote></blockquote>
type.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
</blockquote></blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
*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>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to<br>
</blockquote></blockquote>
<a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to<br>
<a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<br>
</blockquote>
<br>
</blockquote>
<br>
--<br>
Gesendet von meinem Jolla<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to<br>
<a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to<br>
<a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<br>
</blockquote></blockquote>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a></blockquote></div>