I can' compile for Android / No puedo compilar para Android
-
@dream_captain 
These are the kits@Blaster
Seems it's MinGW related problem. Try to add-std=gnu++11
to your build command. -
@Blaster
Seems it's MinGW related problem. Try to add-std=gnu++11
to your build command.@dream_captain Where is that going exactly?
-
@dream_captain Where is that going exactly?
@Blaster
I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps. -
@Blaster
I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps.@dream_captain Nothing happens. The same error is maintained. I'm going to download the latest version of Qt to try.
-
@Blaster
I use msvc build, so can't point the exact location. Look for something like "make arguments" in Projects->Build Steps.@dream_captain I was doing what you told me wrong. Now it gives me a single error, which says "invalid option - ="
-
-
@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
-
@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)"
-
@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)"
@Pablo-J.-Rogina Yes.. thanks
-
Hi,
Did you install all the prerequisites listed here ?
-
Hi,
Did you install all the prerequisites listed here ?
-
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.
@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. -
Sorry for the delay in publishing my solution. The problem was the ndk version, thanks to all those who responded
@Blaster ok, so if your issue is solved please don't forget to mark your post as such.
-
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!!"