[SailfishDevel] QtFeedback 5.0 not allowed? Really?

Peter Pykäläinen peter.pykalainen at gmail.com
Mon Dec 1 21:08:34 UTC 2014


Thanks Kimmo!

That was new.

And it fails:

Libraries
=========
ERROR [/usr/bin/harbour-sailraid] Cannot link to shared library:
libQt0Feedback.so.0
INFO [/usr/bin/harbour-sailraid] Please see our FAQ here:
https://harbour.jolla.com/faq#Shared_Libraries
FAILED


Requires
========
ERROR [libQt0Feedback.so.0] Cannot require shared library:
'libQt0Feedback.so.0'
INFO [harbour-sailraid] Please see our FAQ here:
https://harbour.jolla.com/faq#2.6.0 how to use '__provides_exclude_from'
and '__requires_exclude' .spec file to avoid that
FAILED

And it fails totally.
Not fun.

So no vibration then, how can this basic stuff not be accepted?

// Peter Pykäläinen

On 1 December 2014 at 22:57, Kimmo Lindholm <Kimmo.Lindholm at eke.fi> wrote:

>  Run the pre-validation tool from SDK, if you get green there, it’s much
> closer to approval…
>
>
>
> (I prefer accessing it through browser,
> http://127.0.0.1:8080/C/harbour_tools/ )
>
>
>
> -kimmo
>
>
>
> *From:* devel-bounces at lists.sailfishos.org [mailto:
> devel-bounces at lists.sailfishos.org] *On Behalf Of *Peter Pykäläinen
> *Sent:* Monday, December 01, 2014 10:34 PM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] QtFeedback 5.0 not allowed? Really?
>
>
>
> Hi,
>
> yes I did, thank you all for your help.
>
> Especially Andrey, you are the man!
>
> Let's see now if this passes harbour QA or not :)
>
>
>
> // Peter Pykäläinen
>
>
>
> On 1 December 2014 at 22:30, Gabriel Böhme <m.gabrielboehme at googlemail.com>
> wrote:
>
> Have you tried cleaning the project? Helps sometimes.
>
> Am Mon Dec 01 2014 21:18:17 GMT+0100 (CET) schrieb Peter Pykäläinen:
>
> > I give up!
> >
> > Once I figured out how to add the stupid haptics stuff into the .pro
> file I
> > then get errors on my main when I try to compile:
> >
> > error: undefined reference to `SailfishApp::application(int&, char**)'
> > error: undefined reference to `SailfishApp::createView()'
> > error: undefined reference to `SailfishApp::pathTo(QString const&)'
> >
> > I have used this kind of code succesfully in my other app and no issue
> > there.
> >
> > Any help would be much appreciated.
> >
> > My main looks like this:
> >
> > #ifdef QT_QML_DEBUG
> >
> > #include <QtQuick>
> >
> > #endif
> >
> >
> > #include <sailfishapp.h>
> >
> > #include <rumbler.h>
> >
> > #include <QQuickView>
> >
> > #include <QQmlContext>
> >
> > #include <QGuiApplication>
> >
> >
> >
> > int main(int argc, char *argv[])
> >
> > {
> >
> >     // SailfishApp::main() will display "qml/template.qml", if you need
> more
> >
> >     // control over initialization, you can use:
> >
> >     //
> >
> >     //   - SailfishApp::application(int, char *[]) to get the
> QGuiApplication *
> >
> >     //   - SailfishApp::createView() to get a new QQuickView * instance
> >
> >     //   - SailfishApp::pathTo(QString) to get a QUrl to a resource file
> >
> >     //
> >
> >     // To display the view, call "show()" (will show fullscreen on
> device).
> >
> >
> > //    return SailfishApp::main(argc, argv);
> >
> >     QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,
> argv));
> >
> >     QScopedPointer<QQuickView> view(SailfishApp::createView());
> >
> >
> >     Rumbler rumbler;
> >
> >
> >     view->rootContext()->setContextProperty("Rumbler", &rumbler);
> >
> >     view->setSource(SailfishApp::pathTo("qml/harbour-myapp.qml"));
> >
> >     view->show();
> >
> >     view->showFullScreen();
> >
> >
> >     return app->exec();
> >
> > }
> >
> >
> >
> >
> >
> > // Peter Pykäläinen
> >
> > On 1 December 2014 at 15:08, Andrey Kozhevnikov <coderusinbox at gmail.com>
> > wrote:
> >
> > >  I can suggest you to use QtFeedback from Qt side and register QML
> type.
> > >
> > > 01.12.2014 18:06, Peter Pykäläinen пишет:
> > >
> > >   Just got my game rejected in Jolla Harbour this morning due to:
> > >
> > >
>
> > > *Import 'QtFeedback 5.0' is not allowed *
> > > Is it really so that vibration is not allowed in Harbour apps?
> > >  Is there any alternative?
> > >
> > > // Peter Pykäläinen
> > >
> > >
> > > _______________________________________________
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
> > >
> > >
> > >
> > > _______________________________________________
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscribe at lists.sailfishos.org
> > >
> >
>
> --
> Gesendet von meinem Jolla
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20141201/bc260f20/attachment.html>


More information about the Devel mailing list