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 <devel-boun...@lists.sailfishos.org> käyttäjän Marcin Mielniczuk <marmistrz...@gmail.com> 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 devel-unsubscr...@lists.sailfishos.org
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org