[SailfishDevel] Documentation for mlite5

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Sat Nov 5 10:15:15 UTC 2016


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-bounces at 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-bounces at lists.sailfishos.org><mailto:devel-bounces at lists.sailfishos.org> käyttäjän Marcin Mielniczuk <marmistrzmar at gmail.com><mailto:marmistrzmar at 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-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>




_______________________________________________

SailfishOS.org Devel mailing list

To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20161105/47ebff11/attachment.html>


More information about the Devel mailing list