Seems it is fixed in sailfishapp.prf Earlier, adding PKGCONFIG did break things. Now those are already in, so just adding PKGCONFIG += mlite5 is enough.
ref: https://sailfishos.org/develop/sdk-overview/develop-packaging-apps/ -kimmo From: Devel [mailto:[email protected]] On Behalf Of Marcin Mielniczuk Sent: 5. marraskuuta 2016 11:30 To: Sailfish OS Developers Subject: Re: [SailfishDevel] Documentation for mlite5 Why do I need CONFIG += link_pkgconfig? It seemed to work with only PKGCONFIG += mlite5, but maybe I just didn't find the pitfall. And I didn't have PKGCONFIG += sailfishapp at all in my pro, just CONFIG += sailfishapp Marcin On 05.11.2016 08:07, Kimmo Lindholm wrote: Yes. +1 for docs. PKGCONFIG is a good way doing ir. In .pro CONFIG += link_pkgconfig sailfishapp PKGCONFIG += mlite5 sailfishapp in .spec BuildRequires: pkgconfig(mlite5) -kimmo ________________________________ Lähettäjä: Devel <[email protected]><mailto:[email protected]> käyttäjän Marcin Mielniczuk <[email protected]><mailto:[email protected]> puolesta Lähetetty: 4. marraskuuta 2016 22:29:02 Vastaanottaja: Sailfish OS Developers Aihe: [SailfishDevel] Documentation for mlite5 Is there any online documentation regarding mlite5? I'm not really sure how I should use it in my project, whether I should include <MGonfItem> or <mlite5/MGConfItem>. What is the preferred way of achieving decent linking? I found some examples using PKGCONFIG - is it the good way? There should be at least a minimal example in the README, the rest can be derived from the doxygen comments. But, since the doxygen comments are already there, why not put the docs online? -- Marcin _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to [email protected]<mailto:[email protected]> _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to [email protected]<mailto:[email protected]>
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to [email protected]
