OK. Followed all the download and install directions.
Downloaded the Qt Enterprise trial.
Configured the Android stuff in Qt to point to the NDK and SDK locations.
Connected a Nexus7 via USB.
Trying to compile and run the Example: qmlqtsensors
Errors during build process on cannot find stdlib.h
—-Qt compile error msg
/Developer/Android-NDK/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include/cstdlib:72: error: stdlib.h: No such file or directory
#include <stdlib.h>
—-
I searched for the stdlib.h and found it in a “/tr1” folder..a subdirectory to the include
I searched for the stdlib.h and found it in a “/tr1” folder..a subdirectory to the include
Changed the #include <stdlib.h> statement in the cstdlib file to #include <tr1/stdlib.h>
No error on stdlib.h. Now I get..
—-Qt complie new error
/Developer/Android-NDK/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include/cmath:44: error: math.h: No such file or directory
#include <math.h>
—-
In the Sources folder for the NDK I found qmath.h tclmath.h clsMath.h..but NO math.h…
I used the Android SDK manager to try and install all the source packages. No Joy.
Shouldn’t the example shipped with the Enterprise Trial just work..or is this expecting too much.
New to Android development. Have used Qt for ~3yrs.
What am I doing wrong?
↧