I guess I was little rash about the solution. Adding Q_DECL_EXPORT to the app's main function did not solve the issue. When testing it I forgot that I was again starting the executable directly without the invoker.
So it still only starts when using "generic" booster type. I was using a private library before, when the booster worked as expected. Main difference now is, that I am using a C++ QML plugin that uses the library previously used directly in the app. Am Mittwoch, 12. Dezember 2018, 23:21:39 CET schrieb Matthias Fehring: > 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 > > <buschm...@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-unsubscr...@lists.sailfishos.org -- Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. (Friedrich Schiller - Die Räuber) Und der Buschfunk spielt gerade "Mausen" von "MIA.". www.buschmann23.de GPG-Key: 0x614C3258 GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org