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 <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

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to