enable-opengl-checkbox for qtcreator

BogDan bog_dan_ro at yahoo.com
Tue Jul 12 10:33:55 CEST 2011

Hi Thomas,

I don't think you need an "enable-opengl-checkbox" for qtcreator, if an application requires QtOpenGL module we'll switch automatically to androidGL-x.so plugin, Ministro support should be there, QtCreaor needs a little love in order to pass the right library when "use local libs" is checked.


>From: Thomas Senyk <thomas.senyk at nokia.com>
>To: "necessitas-devel at kde.org" <necessitas-devel at kde.org>
>Sent: Monday, July 11, 2011 6:17 PM
>Subject: enable-opengl-checkbox for qtcreator
>Hi Folks,
>I tried to find out who builds String[]libs for:
>    private void startApplication(String [] libs, String environment, String 
>As far as I understand it this is done by Ministro ... so far correct?
>The first step is:
>            m_qtLibs=getResources().getStringArray(resourceId);
>(... but this is without libandroid-X.so)
>The second and interesting step is:
>    if (!bindService(new 
>m_ministroConnection, Context.BIND_AUTO_CREATE))
>                    throw new SecurityException("");
>This causes
>        public void onServiceConnected(ComponentName name, IBinder service) {
>to be called which calls:  m_service.checkModules
>And there the magic happens:
>Ministro takes the module names (m_qtLibs) and makes real file-paths out of 
>        ... AND: he adds libandroid-X.so to the link-files???
>The last part is the one I'm interested in:
>The one who adds libandroid-X.so is Ministro right? ... 
>If this is the case: There should be some way to tell him you want to link to 
>an opengl-android-plugin (libandroidGL-X.so)  ... and then he decides if this 
>is possible
>Any other opinions?
>Is anyone here who want/can help me about this?
>A cool thing would be "Use local qt libs PERMANENTLY"  ... meaning he also 
>uses local-libs when you call the application from the Menu
>... This is just a small wish as I can do this manually quite easy.
>Qt Developer Days 2011 - REGISTER NOW!
>October 24 - 26, Munich
>November 29 - December 1, San Francisco
>Learn more and Register at http://qt.nokia.com/qtdevdays2011
>Necessitas-devel mailing list
>Necessitas-devel at kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/necessitas-devel/attachments/20110712/8081772c/attachment.htm 

More information about the Necessitas-devel mailing list