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. I can' compile for Android / No puedo compilar para Android
Forum Updated to NodeBB v4.3 + New Features

I can' compile for Android / No puedo compilar para Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
28 Posts 7 Posters 10.5k Views 4 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.
  • jsulmJ jsulm

    @Blaster I'm not sure there is one - I cannot find it on the Qt website. I always use the online installer and Qt Maintenance Tool.

    BlasterB Offline
    BlasterB Offline
    Blaster
    wrote on last edited by
    #7

    @jsulm So what do you suggest?
    I have the Qt Creator 4.4.1 with Qt 5.8 ... is there no way to activate C++11 support?

    1 Reply Last reply
    0
    • BlasterB Blaster

      @jsulm How do I get it? Can you share a link for download a offline installer?

      dream_captainD Offline
      dream_captainD Offline
      dream_captain
      wrote on last edited by
      #8

      @Blaster
      if you need Qt 5.8, you can download it from archive:

      if you need the latest version, you can grab the offline installer from here

      BlasterB 1 Reply Last reply
      0
      • dream_captainD dream_captain

        @Blaster
        if you need Qt 5.8, you can download it from archive:

        if you need the latest version, you can grab the offline installer from here

        BlasterB Offline
        BlasterB Offline
        Blaster
        wrote on last edited by
        #9

        @dream_captain What I want is to solve the error mentioned above

        dream_captainD 1 Reply Last reply
        0
        • BlasterB Blaster

          @dream_captain What I want is to solve the error mentioned above

          dream_captainD Offline
          dream_captainD Offline
          dream_captain
          wrote on last edited by
          #10

          @Blaster
          What compiler are you using?
          Please, post a screenshot of active kit (Options->Build&Run->Kits tab)

          BlasterB 1 Reply Last reply
          0
          • dream_captainD dream_captain

            @Blaster
            What compiler are you using?
            Please, post a screenshot of active kit (Options->Build&Run->Kits tab)

            BlasterB Offline
            BlasterB Offline
            Blaster
            wrote on last edited by
            #11

            @dream_captain ![alt text](0_1511859200450_Captura de pantalla (1).png image url)
            These are the kits

            dream_captainD 1 Reply Last reply
            0
            • BlasterB Blaster

              @dream_captain ![alt text](0_1511859200450_Captura de pantalla (1).png image url)
              These are the kits

              dream_captainD Offline
              dream_captainD Offline
              dream_captain
              wrote on last edited by
              #12

              @Blaster
              Seems it's MinGW related problem. Try to add -std=gnu++11 to your build command.

              BlasterB 1 Reply Last reply
              0
              • dream_captainD dream_captain

                @Blaster
                Seems it's MinGW related problem. Try to add -std=gnu++11 to your build command.

                BlasterB Offline
                BlasterB Offline
                Blaster
                wrote on last edited by
                #13

                @dream_captain Where is that going exactly?

                dream_captainD 1 Reply Last reply
                0
                • BlasterB Blaster

                  @dream_captain Where is that going exactly?

                  dream_captainD Offline
                  dream_captainD Offline
                  dream_captain
                  wrote on last edited by
                  #14

                  @Blaster
                  I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps.

                  BlasterB 2 Replies Last reply
                  0
                  • dream_captainD dream_captain

                    @Blaster
                    I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps.

                    BlasterB Offline
                    BlasterB Offline
                    Blaster
                    wrote on last edited by
                    #15

                    @dream_captain Nothing happens. The same error is maintained. I'm going to download the latest version of Qt to try.

                    1 Reply Last reply
                    0
                    • dream_captainD dream_captain

                      @Blaster
                      I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps.

                      BlasterB Offline
                      BlasterB Offline
                      Blaster
                      wrote on last edited by
                      #16

                      @dream_captain I was doing what you told me wrong. Now it gives me a single error, which says "invalid option - ="

                      1 Reply Last reply
                      0
                      • Pablo J. RoginaP Offline
                        Pablo J. RoginaP Offline
                        Pablo J. Rogina
                        wrote on last edited by
                        #17

                        @Blaster could it be possible for you to reinstall Qt and start from scratch? It seems that you'll be looking for a needle in a haystack.
                        If you really need to stick to Qt 5.8 release under Windows, use this link for the offline installer.

                        Upvote the answer(s) that helped you solve the issue
                        Use "Topic Tools" button to mark your post as Solved
                        Add screenshots via postimage.org
                        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                        BlasterB 1 Reply Last reply
                        0
                        • Pablo J. RoginaP Pablo J. Rogina

                          @Blaster could it be possible for you to reinstall Qt and start from scratch? It seems that you'll be looking for a needle in a haystack.
                          If you really need to stick to Qt 5.8 release under Windows, use this link for the offline installer.

                          BlasterB Offline
                          BlasterB Offline
                          Blaster
                          wrote on last edited by
                          #18

                          @Pablo-J.-Rogina let's see, and the option to reinstall the used, the same failure remains. I'm not attached to version 5.8, that's what I have, but I'm downloading version 5.9 to use that ... let's see how it goes

                          1 Reply Last reply
                          0
                          • Pablo J. RoginaP Offline
                            Pablo J. RoginaP Offline
                            Pablo J. Rogina
                            wrote on last edited by
                            #19

                            @Blaster please be aware that if you want to develop Qt application for Android, before Qt release 5.9.x the installer must refer to Android :-) i.e. "Qt 5.6.3 for Android (Linux 64-bit, 744 MB)"

                            Upvote the answer(s) that helped you solve the issue
                            Use "Topic Tools" button to mark your post as Solved
                            Add screenshots via postimage.org
                            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                            BlasterB 1 Reply Last reply
                            1
                            • Pablo J. RoginaP Pablo J. Rogina

                              @Blaster please be aware that if you want to develop Qt application for Android, before Qt release 5.9.x the installer must refer to Android :-) i.e. "Qt 5.6.3 for Android (Linux 64-bit, 744 MB)"

                              BlasterB Offline
                              BlasterB Offline
                              Blaster
                              wrote on last edited by
                              #20

                              @Pablo-J.-Rogina Yes.. thanks

                              1 Reply Last reply
                              0
                              • BlasterB Offline
                                BlasterB Offline
                                Blaster
                                wrote on last edited by
                                #21

                                There is no way that I can compile in Qt for android

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

                                  Hi,

                                  Did you install all the prerequisites listed here ?

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

                                  BlasterB 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Hi,

                                    Did you install all the prerequisites listed here ?

                                    BlasterB Offline
                                    BlasterB Offline
                                    Blaster
                                    wrote on last edited by
                                    #23

                                    @SGaist I think the only thing that may be giving the problem is the NDK. The one I have is the r8c. You could put a link to the NDK r10e to download it, which is not from Google. Is that the Google link is not allowed for my country. I am cuban

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

                                      Do you mean that this link doesn't work ?

                                      By the way, why are you using such an old version of Qt ? The current version is 5.10 and Qt Creator is at 4.5.

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

                                      BlasterB 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Do you mean that this link doesn't work ?

                                        By the way, why are you using such an old version of Qt ? The current version is 5.10 and Qt Creator is at 4.5.

                                        BlasterB Offline
                                        BlasterB Offline
                                        Blaster
                                        wrote on last edited by
                                        #25

                                        @SGaist The link does work, but it is not available for my country. So I can not access it, thanks to the economic and commercial blockade that the US has against Cuba. Anyway I will use a WebProxy to access.
                                        I'm using this version of Qt because it's the one I could access, thanks to a friend. I'm a big fan of Qt and I recommend it to all the developers I know. Thanks for everything.

                                        1 Reply Last reply
                                        0
                                        • BlasterB Offline
                                          BlasterB Offline
                                          Blaster
                                          wrote on last edited by
                                          #26

                                          Sorry for the delay in publishing my solution. The problem was the ndk version, thanks to all those who responded

                                          Pablo J. RoginaP 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