<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thanks!<br>
</p>
<pre class="moz-signature" cols="72">Marcin</pre>
<div class="moz-cite-prefix">On 05.11.2016 11:15, Kimmo Lindholm
wrote:<br>
</div>
<blockquote
cite="mid:DB6PR0701MB2341CC005B088E1128146A6AFAA50@DB6PR0701MB2341.eurprd07.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas","serif";
color:black;}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:1.0pt;
margin-bottom:.0001pt;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.xpl-c1
{mso-style-name:x_pl-c1;}
span.xpl-k
{mso-style-name:x_pl-k;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Seems it is fixed in sailfishapp.prf
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Earlier, adding PKGCONFIG did break things. Now
those are already in, so just adding PKGCONFIG += mlite5 is
enough.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">ref:
<a moz-do-not-send="true"
href="https://sailfishos.org/develop/sdk-overview/develop-packaging-apps/">https://sailfishos.org/develop/sdk-overview/develop-packaging-apps/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">-kimmo<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> Devel
[<a class="moz-txt-link-freetext" href="mailto:devel-bounces@lists.sailfishos.org">mailto:devel-bounces@lists.sailfishos.org</a>]
<b>On Behalf Of </b>Marcin Mielniczuk<br>
<b>Sent:</b> 5. marraskuuta 2016 11:30<br>
<b>To:</b> Sailfish OS Developers<br>
<b>Subject:</b> Re: [SailfishDevel] Documentation for
mlite5<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Why do I need CONFIG += link_pkgconfig? It seemed to work
with only PKGCONFIG += mlite5, but maybe I just didn't find
the pitfall.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>And I didn't have PKGCONFIG += sailfishapp at all in my pro,
just CONFIG += sailfishapp<o:p></o:p></p>
<pre>Marcin<o:p></o:p></pre>
<div>
<p class="MsoNormal">On 05.11.2016 08:07, Kimmo Lindholm
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div id="x_divtagdefaultwrapper">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Yes.
+1 for docs.<br>
<br>
PKGCONFIG is a good way doing ir.<br>
<br>
In .pro<br>
<br>
CONFIG += link_pkgconfig sailfishapp<br>
PKGCONFIG += mlite5 <span class="xpl-c1">sailfishapp</span><br>
<br>
in .spec<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span class="xpl-k"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">BuildRequires:</span></span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">
pkgconfig(mlite5)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
</div>
<p><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">-kimmo<o:p></o:p></span></p>
</div>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="98%">
</div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Lähettäjä:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
Devel
<a moz-do-not-send="true"
href="mailto:devel-bounces@lists.sailfishos.org"><devel-bounces@lists.sailfishos.org></a>
käyttäjän Marcin Mielniczuk
<a moz-do-not-send="true"
href="mailto:marmistrzmar@gmail.com"><marmistrzmar@gmail.com></a>
puolesta<br>
<b>Lähetetty:</b> 4. marraskuuta 2016 22:29:02<br>
<b>Vastaanottaja:</b> Sailfish OS Developers<br>
<b>Aihe:</b> [SailfishDevel] Documentation for mlite5</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Is there
any online documentation regarding mlite5? I'm not
really sure<br>
how I should use it in my project, whether I should
include <MGonfItem><br>
or <mlite5/MGConfItem>. What is the preferred way
of achieving decent<br>
linking? I found some examples using PKGCONFIG - is it
the good way?<br>
<br>
There should be at least a minimal example in the
README, the rest can<br>
be derived from the doxygen comments. But, since the
doxygen comments<br>
are already there, why not put the docs online?<br>
<br>
-- <br>
Marcin<br>
<br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">
devel-unsubscribe@lists.sailfishos.org</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>SailfishOS.org Devel mailing list<o:p></o:p></pre>
<pre>To unsubscribe, please send a mail to <a moz-do-not-send="true" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>