Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I use the Toolchain file from https://github.com/LaurentGomila/qt-android-cmake?files=1 > Am 10.05.2016 um 11:50 schrieb Gian Maxera : > > I don’t think the problem is on makefile … but on the tool are using. > I want to insist on check if you are using gradle … because I don’t have any > of y

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
From what I can see in the compile output window in QtCreator is: 1) QtCreator calls make on the shadow build directory. This will execute the Makefile generated by qmake and compile the C++ code. 2) QtCreator calls "/Users/nsantos/Qt/5.6/android_armv7/bin/androiddeployqt" --input /tmp/build-dr

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Gian Maxera
I suppose that qmake is generating different Makefiles depending on what is using for build the java part. So, my supposition is: - when you select “ant” as java builder, then Qt Creator generate a Makefile for using “ant” … and this may contain some bugs that doesn’t allow to change the Qt ap

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
Who generates the Makefile for C++ code compiling? Is grade involved? My conviction is that grade is only involved in the java related parts. > On 10 May 2016, at 10:50, Gian Maxera wrote: > > I don’t think the problem is on makefile … but on the tool are using. > I want to insist on check if y

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Gian Maxera
I don’t think the problem is on makefile … but on the tool are using. I want to insist on check if you are using gradle … because I don’t have any of your problem with default settings of Qt Creator and using gradle. When I create a new project with Qt Creator and I set to use gradle … the app n

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I think this too, because I can't override the android-23 nor the QtApp name > Am 10.05.2016 um 10:06 schrieb Nuno Santos : > > I think this problem is on qmake because the Qt Makefile is using android-9 > instead of android-21. I need API 21 for NDK things and not for Java things, > and that m

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread NoRulez
I use ant because I can't get gradle working. Some error with build and test. I don't know the exact message at the moment. > Am 10.05.2016 um 08:26 schrieb Gianluca : > > Please, can you tell us if all these problems appear using “ant” or using > “gradle” ? > (Old Android build was with “ant”

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-10 Thread Nuno Santos
I think this problem is on qmake because the Qt Makefile is using android-9 instead of android-21. I need API 21 for NDK things and not for Java things, and that must be specified on the Qt Makefile which is generated by qmake. > On 10 May 2016, at 07:38, Gianluca wrote: > > If you use gradle

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Gianluca
If you use gradle and there is some problems on setting properly it using Qt Creator, you can override some settings adding the gradle.properties file to your Android source directory. I got problem on selecting the right Java version for compile java code and this is my gradle.properties that

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Nuno Santos
I have been using Gradle all the time for more than 6 months now. I have been noticing some random problems, but lately I have been having the need to change the API more regularly and the problem become evident. > On 10 May 2016, at 07:26, Gianluca wrote: > > Please, can you tell us if all t

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Gianluca
Please, can you tell us if all these problems appear using “ant” or using “gradle” ? (Old Android build was with “ant”, now ant is deprecated and you should use only “gradle” … but Qt still support both) Il giorno 10/mag/2016, alle ore 05:04, NoRulez ha scritto: > Hello, > > I've the same pro

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread NoRulez
Hello, I've the same problem when building with CMake on the command line. I want target android-21 but android-23 is used. It seems that there is maybe a bug somewhere. > Am 09.05.2016 um 23:17 schrieb Igor Mironchik : > > Really weird... > > What is command lines when you compiling? > > I

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Igor Mironchik
Really weird... What is command lines when you compiling? Is there android-9 or android-23 in pathes? On 10.05.2016 00:12, Nuno Santos wrote: Even more weird... ➜ ~ cat app.pro.user | grep Sdk android-23 android-23 android-23 ➜ ~ On 09 May 2016, at 22:03, Igor Mironchik <

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Nuno Santos
Even more weird... ➜ ~ cat app.pro.user | grep Sdk android-23 android-23 android-23 ➜ ~ > On 09 May 2016, at 22:03, Igor Mironchik wrote: > > Can you open *.user file and search for android record like this: > > android-9 > > If you will see here android-9 then you project

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Igor Mironchik
Can you open *.user file and search for android record like this: android-9 If you will see here android-9 then you project will be built with API 9, I guess... On 09.05.2016 23:35, Nuno Santos wrote: That doesn’t seem to be true. At least with the following Qt Creator: Qt Creator 3.6.1 Ba

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Nuno Santos
That doesn’t seem to be true. At least with the following Qt Creator: Qt Creator 3.6.1 Based on Qt 5.6.0 (Clang 7.0 (Apple), 64 bit) Built on Mar 14 2016 09:38:07 From revision 53b8ca08bf I had to open the generated Makefile and make a global replace of android-9 for android-21 to be able

Re: [Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Igor Mironchik
Hi, Do you build with QtCreator? If so then when QtCreator configures project it invokes tools/android Android NDK tool and select highest API available and build with such settings. On 09.05.2016 22:47, Nuno Santos wrote: Nuno Santos Founder / CEO / CTO www.imaginando.pt

[Interest] AndroidManifest Minimum required API not working as expected

2016-05-09 Thread Nuno Santos
Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 I’m selecting Android 5.0 (API 21) in Android Manifest and it is compiling against 17. I have deleted all the build directories as well as all the project .pro.user and selected API 21 again. Hit qmake and builded. It is now bu