Can't find stdlib.h included in cstdlib.
-
@egg.nut Hi!
Did you read http://doc.qt.io/qt-5/androidgs.html ?
And you did not say what exactly you're trying to do?
Are you trying to build a Qt application for android?
Do you use QtCreator? -
@jsulm
In fact, I had been following http://doc.qt.io/qt-5/androidgs.html.
To build an android app.
With QtCreator.
Only ONE THING went wrong that the SDK Manager couldn't fetch any file and said there were nothing to install or update.
But,I don't think it causes this problem.
Dose it?
╮(╯▽╰)╭ -
@jsulm
the SDK Manager pops a window:Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-10.xml
Done loading packages.
Fetching http://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to http://dl-ssl.google.com refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-10.xml -
@jsulm
I set the INCLUDEPATH,
make links of many files.
and it works...
But there must be something wrong:why these paths goes wrong.that's what I did:
xiaodan@xiaodan-G41M-ES2L:~/qtproj/build-test_android-Android_for_armeabi_GCC_4_9_Qt_5_5_0-Debug$ ll lrwxrwxrwx 1 xiaodan xiaodan 85 7月 19 17:52 crtbegin_so.o -> /home/xiaodan/libs/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/crtbegin_so.o lrwxrwxrwx 1 xiaodan xiaodan 83 7月 19 17:52 crtend_so.o -> /home/xiaodan/libs/android-ndk-r10/platforms/android-L/arch-arm/usr/lib/crtend_so.o xiaodan@xiaodan-G41M-ES2L:~/libs/android-ndk-r10/prebuilt$ ll lrwxrwxrwx 1 xiaodan xiaodan 14 7月 19 17:58 android-arm -> android-arm64//
-
@egg.nut Did you configure QtCreator properly? Last time I did something for Android everything was working just fine after setting up SDK/NDK/QtCreator (and Qt for Android).
This one looks strange: android-arm -> android-arm64
Are you trying to build for arm64? -