On Sat, Dec 15, 2012 at 9:49 PM, Kate Alhola <span dir="ltr"><<a href="mailto:kate.alhola@gmail.com" target="_blank">kate.alhola@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Is there some easy way to override default necessitas libraries ? Now question <br>is that I have fixed libQtConnectivity.so . I can include it to my application libraries<br>but how I can prevent necessitas loading original library before my fixed one ?<span class="HOEnZb"><font color="#888888"></font></span></blockquote>
<div><br>I found some kind of working solution to override default libQtConnectivity so that<br>I could use fixed library also in non-rooted device.<br><br>I added QtConnectivity to bundled_libs section in libs.xml and removed it from qt_libs .<br>
It need to be removed from qt_libs because qt_libs are linked before bundled_libs.<br><br>There is still one minor issue, I have not found any pretty way to prevent necissitas<br>to overwrite libs.xml and add QtConnectivity to qt_libs every time when I build.<br>
Only way that I foiund was to chmod 444 libs.xml , that results dozen of error dialogs<br>during build but it works and it builds version that does not load default libQtConnectivity<br>but uses my fixed one included with application.<br>
<br>Is there any other way to prevent it automatically adding libQtConnectivity to qt_libs ?<br><br><br>Kate<br> <br></div></div>