Qt can't build Android apk on Mac



  • When I build android apk on Mac, it always error occurred :

    In file included from ../../Android/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:59:0,
                     from ../../Android/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
                     from ../../../Qt5.6.1/5.6/android_armv7/include/QtCore/qglobal.h:88,
                     from ../../../Qt5.6.1/5.6/android_armv7/include/QtCore/qcoreapplication.h:37,
                     from ../../../Qt5.6.1/5.6/android_armv7/include/QtGui/qguiapplication.h:37,
                     from ../../../Qt5.6.1/5.6/android_armv7/include/QtGui/QGuiApplication:1,
                     from ../Tribes/main.cpp:1:
    ../../Android/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.9/include/cstdlib:72:20: fatal error: stdlib.h: No such file or directory
     #include <stdlib.h>
    

    How can i deal with it?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.