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 11.4k 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.
  • 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
                                • BlasterB Blaster

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

                                  Pablo J. RoginaP Offline
                                  Pablo J. RoginaP Offline
                                  Pablo J. Rogina
                                  wrote on last edited by
                                  #27

                                  @Blaster ok, so if your issue is solved please don't forget to mark your post as such.

                                  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

                                  1 Reply Last reply
                                  0
                                  • E Offline
                                    E Offline
                                    efofex
                                    wrote on last edited by
                                    #28

                                    SOMETIMES, this will not be a configuration issue as mentioned in other answers. In my case, the problem was one file that happened to have been saved with a .CPP extension rather than .cpp. QMake (Qt5) was misidentifying the file and trying to compile it with the C compiler rather than the C++ compiler. The QMake from Qt4 was not exhibiting this issue. Renaming the file fixed the issue.

                                    My comment at the time was "Could this really be that f&%%& simple!!"

                                    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