Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED]Ministro & Qt 5.1

[SOLVED]Ministro & Qt 5.1

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 4 Posters 9.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mbnoimi
    wrote on last edited by
    #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 ?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mbnoimi
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbnoimi
            wrote on last edited by
            #5

            [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.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mbnoimi
                wrote on last edited by
                #7

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

                Unfortunately, it didn't work!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mbnoimi
                  wrote on last edited by
                  #8

                  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)!

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mbnoimi
                    wrote on last edited by
                    #9

                    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)!

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Moster
                      wrote on last edited by
                      #10

                      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 :)

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mbnoimi
                        wrote on last edited by
                        #11

                        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.

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mbnoimi
                          wrote on last edited by
                          #12

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

                          Thanks you Qt Project.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved