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:devel-boun...@lists.sailfishos.org] 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 
<devel-boun...@lists.sailfishos.org><mailto:devel-boun...@lists.sailfishos.org> 
käyttäjän Marcin Mielniczuk 
<marmistrz...@gmail.com><mailto: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<mailto:devel-unsubscr...@lists.sailfishos.org>




_______________________________________________

SailfishOS.org Devel mailing list

To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org<mailto: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