<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,<br><br>No, it needs heavily redesigned. <br>Now you can use INSTALLS to copy *any* library where you want, <br>necessitas will try to automatically install all you targets [1].<br>We *only* need to implement into QtCreator an easy way to add <br>these libs to res/libs.xml file (bundled_libs array) 50% is already done, <br>Qt4AndroidTarget::availablePrebundledLibs() needs to be redesigned.<br><br>[1] <a target="_blank" href="https://projects.kde.org/projects/playground/mobile/necessitas/android-qt/repository/entry/mkspecs/features/qt.prf?rev=experimental#L192">https://projects.kde.org/projects/playground/mobile/necessitas/android-qt/repository/entry/mkspecs/features/qt.prf?rev=experimental#L192</a><br><br>Cheers,<br>BogDan.<br><br>>________________________________<br>>From: mingw
android <mingw.android@gmail.com><br>>To: BogDan <bog_dan_ro@yahoo.com>; necessitas-devel@kde.org; Thomas Senyk <thomas.senyk@nokia.com><br>>Sent: Wednesday, July 13, 2011 11:40 AM<br>>Subject: Re: enable-opengl-checkbox for qtcreator<br>><br>>Hi BogDan,<br>><br>>Is this patch correct?<br>><br>><a target="_blank" href="http://mail.kde.org/pipermail/necessitas-devel/2011-June/000087.html">http://mail.kde.org/pipermail/necessitas-devel/2011-June/000087.html</a><br>><br>>Should we apply and commit (with testing somewhere in between?)<br>><br>>Cheers,<br>><br>>Ray.<br>><br>>On Wed, Jul 13, 2011 at 8:49 AM, BogDan <bog_dan_ro@yahoo.com> wrote:<br>>> Hi,<br>>><br>>> Support added to Qt [1] and to QtCreator [2]<br>>><br>>> Cheers,<br>>> BogDan.<br>>><br>>> [1] <a target="_blank"
href="http://commits.kde.org/android-qt/026f9f5c01e9f5f0eb799131ec89f242dacbe920">http://commits.kde.org/android-qt/026f9f5c01e9f5f0eb799131ec89f242dacbe920</a><br>>> [2] <a target="_blank" href="http://commits.kde.org/android-qt-creator/7c17ad2b089f4ea46f4a5a808cebae043fb669a8">http://commits.kde.org/android-qt-creator/7c17ad2b089f4ea46f4a5a808cebae043fb669a8</a><br>>><br>>><br>>> ----- Original Message -----<br>>>> From: Thomas Senyk <thomas.senyk@nokia.com><br>>>> To: BogDan <bog_dan_ro@yahoo.com><br>>>> Cc: "necessitas-devel@kde.org" <necessitas-devel@kde.org><br>>>> Sent: Tuesday, July 12, 2011 3:58 PM<br>>>> Subject: Re: enable-opengl-checkbox for qtcreator<br>>>><br>>>> You mean if you do:<br>>>> QT += opengl<br>>>> in you .pro-file you link against libandroidGL-X.so?<br>>>><br>>>> Hmm I don't like it
very much :)<br>>>> But for now we can leave it ... for the next release it's OK<br>>>> (no matter what we do for the releases after that)<br>>>><br>>>><br>>>> So ... to conclude:<br>>>> I don't worry at the moment because the next release of Ministor will handle<br>>>><br>>>> this automatically... (and I do manual-local-linking anyway)<br>>>> ...right?<br>>>><br>>>><br>>>> Greets<br>>>> Thomas<br>>>><br>>>> On Tuesday, July 12, 2011 01:33:55 AM ext BogDan wrote:<br>>>>> Hi Thomas,<br>>>>><br>>>>> I don't think you need an "enable-opengl-checkbox" for<br>>>> qtcreator, if an<br>>>>> application requires QtOpenGL module we'll switch automatically to<br>>>>> androidGL-x.so plugin, Ministro
support should be there, QtCreaor needs a<br>>>>> little love in order to pass the right library when "use local<br>>>> libs" is<br>>>>> checked.<br>>>>><br>>>>> Cheers,<br>>>>> Bogdan.<br>>>>><br>>>>> >________________________________<br>>>>> >From: Thomas Senyk <thomas.senyk@nokia.com><br>>>>> >To: "necessitas-devel@kde.org"<br>>>> <necessitas-devel@kde.org><br>>>>> >Sent: Monday, July 11, 2011 6:17 PM<br>>>>> >Subject: enable-opengl-checkbox for qtcreator<br>>>>> ><br>>>>> >Hi Folks,<br>>>>> ><br>>>>> >I tried to find out who builds String[]libs for:<br>>>>> > private void startApplication(String [] libs,
String environment,<br>>>>> >String params)<br>>>>> ><br>>>>> ><br>>>>> >As far as I understand it this is done by Ministro ... so far correct?<br>>>>> ><br>>>>> ><br>>>>> >The first step is:<br>>>>> > m_qtLibs=getResources().getStringArray(resourceId);<br>>>>> >(... but this is without libandroid-X.so)<br>>>>> ><br>>>>> >The second and interesting step is:<br>>>>> > if (!bindService(new<br>>>>><br>>>>> Intent(eu.licentia.necessitas.ministro.IMinistro.class.getCanonicalName())<br>>>>> >, m_ministroConnection, Context.BIND_AUTO_CREATE))<br>>>>> >
throw new SecurityException("");<br>>>>> ><br>>>>> ><br>>>>> >This causes<br>>>>> > public void onServiceConnected(ComponentName name, IBinder<br>>>>> >service) {<br>>>>> ><br>>>>> >to be called which calls: m_service.checkModules<br>>>>> ><br>>>>> >And there the magic happens:<br>>>>> >Ministro takes the module names (m_qtLibs) and makes real file-paths<br>>>> out<br>>>>> >of them<br>>>>> > ... AND: he adds libandroid-X.so to the link-files???<br>>>>> >The last part is the one I'm interested in:<br>>>>> >The one who adds libandroid-X.so is Ministro right?
...<br>>>>> >If this is the case: There should be some way to tell him you want to<br>>>> link<br>>>>> >to an opengl-android-plugin (libandroidGL-X.so) ... and then he<br>>>> decides<br>>>>> >if this is possible<br>>>>> ><br>>>>> >Any other opinions?<br>>>>> >Is anyone here who want/can help me about this?<br>>>>> ><br>>>>> ><br>>>>> >Greets<br>>>>> >Thomas<br>>>>> ><br>>>>> ><br>>>>> >p.s.:<br>>>>> >A cool thing would be "Use local qt libs PERMANENTLY" ...<br>>>> meaning he also<br>>>>> >uses local-libs when you call the application from the Menu<br>>>>> >... This is just a small wish
as I can do this manually quite easy.<br>>>>> ><br>>>>> ><br>>>>> ><br>>>>> ><br>>>>> >Qt Developer Days 2011 - REGISTER NOW!<br>>>>> >October 24 - 26, Munich<br>>>>> >November 29 - December 1, San Francisco<br>>>>> >Learn more and Register at <a target="_blank" href="http://qt.nokia.com/qtdevdays2011">http://qt.nokia.com/qtdevdays2011</a><br>>>>> >_______________________________________________<br>>>>> >Necessitas-devel mailing list<br>>>>> >Necessitas-devel@kde.org<br>>>>> ><a target="_blank" href="https://mail.kde.org/mailman/listinfo/necessitas-devel">https://mail.kde.org/mailman/listinfo/necessitas-devel</a><br>>>><br>>><br>><br>><br>></div></div></body></html>