[SOLVED]Ministro & Qt 5.1



  • I user Qt 5.0.1 for deploying my applications to Android, but I found it unpractical solution because it depends on Ministro.apk which mean I've to connect to the internet whenever I want to deploy one of my applications.

    I'm wondering does this issue still exits in the upcoming Qt 5.1 ?


  • Moderators

    AFAIK, there is a possibility (or at least it was discussed) to bundle all the libraries with your application. This is not recommended, though - Qt libraries are big in size, and Ministro helps you keep memory consumption low.



  • bq. AFAIK, there is a possibility (or at least it was discussed) to bundle all the libraries with your application.

    I don't want to bundle all Qt libraries, I just want to bundle what my application needs (just like desktop by dependencywalker or ldd) because I'm not always online.

    Using Ministro whenever run simulator or make a bundle is really stupid idea it takes a century to finish specially for users who use 256 kps internet connection (and as I said not always connected)

    From my side, I couldn’t find it practical because deployment process of Qt applications took more than developing process by Phonegap!!! This is against the rapid development.

    PS
    I'm not glad at all to use Phonegap but I forced to use it because I found it much easier to build Android UI from scratch rather than using current (5.0.1) unpractical solution of Qt.
    Ministro is a piece of hell unless someone find a solution for allowing Qt developer to work offline.


  • Lifetime Qt Champion

    Since you deploy on the simulator (it also work on a phone/tablet), you can always check the "deploy local libraries" option then the libs on your computer will be sent to the simulator/device and used to run the application.



  • [quote author="SGaist" date="1370208535"]Since you deploy on the simulator (it also work on a phone/tablet), you can always check the "deploy local libraries" option then the libs on your computer will be sent to the simulator/device and used to run the application.
    [/quote]

    It seems I missing something... "deploy local libraries" didn't work at all, whenever I want to deploy my application to the simulator/device it fails until I use Ministro! by the way when I tried to use Android with Qt the documentation was so poor, any way I didn't test it under Qt 5.1 preview so if you put screencast or anything explain the procedure of offline deployment I'll be very thankful.


  • Lifetime Qt Champion

    Did you also check the "use qt local libs" option ?



  • [quote author="SGaist" date="1370859375"]Did you also check the "use qt local libs" option ?[/quote]

    Unfortunately, it didn't work!



  • Hey, ho, Hey, ho, Hey, ho, Hey, ho, New campaign with Qt 5.1

    As you can see in the following screenshot I chose local deployment but my Android emulator still asks me for Ministro!

    How can I fix this issue? I'm not always online!

    !http://img17.imageshack.us/img17/7093/k0lw.png(deplyment)!

    !http://img844.imageshack.us/img844/2296/uh5g.png(Emulator)!



  • BTW, When I enabled "use Qt local libraries" my application made exception and crashed!

    !http://img716.imageshack.us/img716/2788/tzeh.png(deploy)!

    !http://img4.imageshack.us/img4/5752/c2lc.png(message)!



  • Dont use the emulator. Test it on a real device. The android emulator has serious issues with Qt and also opengl in general.

    Also, you might want to try the new Qt 5.1.1 http://qt-project.org/downloads
    It makes the usage of libraries in the deploy configurations more clear :)



  • Thanks,

    [quote]Dont use the emulator. Test it on a real device. The android emulator has serious issues with Qt and also opengl in general.[/quote]
    Oops; My mobile phone has Android 2.1 damn it! I can't use real device. I forced to use Android Emulator.

    [quote]Also, you might want to try the new Qt 5.1.1 http://qt-project.org/downloads
    It makes the usage of libraries in the deploy configurations more clear :)[/quote]
    I'll download it today.



  • Voila, with Qt 5.1.1 I don't have to use damn Ministro any more.

    Thanks you Qt Project.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.