Parameters to be added after Qt create Android project

Source: Internet
Author: User

By default, a quick project is created with qtcreator5.2.0, but the following error is reported:

Error:cstdlib.h no such file or directory

Workaround:

Open project file Untitled4.pro, plus includepath = d:/soft/cygwin/usr/local/android-ndk-r10/platforms/android-l/arch-arm/usr/ include/

If the report cannot find CRTBEGIN_SO.O, you can add qmake_lflags + =-nostdlib

If it's a z m DL or something plus libs + =-ld:/soft/cygwin/usr/local/android-ndk-r10/platforms/android-l/arch-arm/usr/lib/-LZ-LDL-LM

# defines + =-dandroid
Qmake_lflags + =-nostdlib
# Qmake_cxxflags + =
# Qmake_lflags_debug + =
# Qmake_lflags_release + =
# Qmake_cflags_debug + =
# Qmake_cflags_release + =
Includepath = d:/soft/cygwin/usr/local/android-ndk-r10/platforms/android-l/arch-arm/usr/include/
LIBS + =-ld:/soft/cygwin/usr/local/android-ndk-r10/platforms/android-l/arch-arm/usr/lib/-lz-ldl-lm

Parameters to be added after Qt create Android project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.