[SailfishDevel] mapplauncherd/booster and C++ QML plugin

Matthias Fehring buschmann at huessenbergnetz.de
Wed Dec 12 22:21:39 UTC 2018


Thank you for  the solution Coderus :)

IMHO the hint about using Q_DECL_EXPORT for the main function is a bit hidden 
in the comments of sailfishapp.h. (found it there after your answer)

Best greetings

Matthias

Am Mittwoch, 12. Dezember 2018, 21:58:19 CET schrieb Андрей Кожевников:
> your app main lacks of Q_DECL_EXPORT, so it can't be boosted.
> 
> ср, 12 дек. 2018 г. в 21:00, Matthias Fehring <buschmann at huessenbergnetz.de
> 
> > Hello
> > 
> > I am using a C++ QML plugin in an application that works as expected when
> > the
> > app executable is called directly. But when the application is loaded via
> > mapplauncherd/booster, the window is blank without any error message.
> > 
> > So, the following works:
> > /usr/bin/harbour-intfuorit
> > 
> > But with the silica-qt5 booster the app window is blank:
> > /usr/bin/invoker -s --type=silica-qt5 /usr/bin/harbour-intfuorit
> > 
> > I also tried to use booster type "qt5", but the result is the same as with
> > "silica-qt5".
> > 
> > But what works is when I use "generic" booster type, then the app works.
> > 
> > Now my question:
> > Is that the expected behvior? Does only the "generic" booster support
> > private
> > C++ QML plugins? Or have i made a mistake somwhere?
> > 
> > App code is here:
> > https://github.com/Huessenbergnetz/Intfuorit
> > 
> > QML plugin code:
> > https://github.com/Huessenbergnetz/libintfuorit/tree/master/imports/de/
> > huessenbergnetz/intfuorit
> > <https://github.com/Huessenbergnetz/libintfuorit/tree/master/imports/de/hu
> > essenbergnetz/intfuorit>
> > 
> > Best greetings
> > Matthias
> > 
> > --
> > Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
> > (Friedrich Schiller - Die Räuber)
> > 
> > Und der Buschfunk spielt gerade "Phobos Grunt" von "Turbostaat".
> > 
> > www.buschmann23.de
> > GPG-Key: 0x614C3258
> > GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscribe at lists.sailfishos.org


-- 
Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
(Friedrich Schiller - Die Räuber)

Und der Buschfunk spielt gerade "Eine Stadt gibt auf" von "Turbostaat".

www.buschmann23.de
GPG-Key: 0x614C3258
GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20181212/8737ce80/attachment-0001.sig>


More information about the Devel mailing list