Project

General

Profile

Actions

Bug #451

closed

Compiling a Qt application with QtCreator and Crystax NDK r8

Added by Dan W. about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/13/2014
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
x86
Host OS:
Mac OS X
Toolchain:
gcc-4.7
Android version:
CrystaX NDK Version:

Description

I just include the normal "#include " header file and get the following:

In file included from ../../../../../../development/android-ndk-r8-crystax/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/postypes.h:42:0,
from ../../../../../../development/android-ndk-r8-crystax/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/char_traits.h:42,
from ../../../../../../development/android-ndk-r8-crystax/sources/cxx-stl/gnu-libstdc++/4.7/include/string:42,
from ../../../Projects/Components/mdklib/MDKInclude.h:16,
from ../../../Projects/Components/mdklib/MDKApplication.cpp:19:
../../../../../../development/android-ndk-r8-crystax/sources/cxx-stl/gnu-libstdc++/4.7/include/cwchar:46:19: fatal error: wchar.h: No such file or directory

Is there any special instructions for compatibility with Qt 5.2.1.

The quickest way to reproduce is just create a basic project in QtCreator 3.1 after pointing it to Crystax NDK r8 and you will see the errors. I compiled it with NDK r9 from Google and it compiles just fine but with no swprintf/vswprintf/etc support.

Actions #1

Updated by Dmitry M. about 10 years ago

This happens because in CrystaX NDK you should also add $NDK_DIR/sources/crystax/include to include search paths. I don't know exactly how to do that in QtCreator, but there should be option for that.

Actions #2

Updated by Dmitry M. about 10 years ago

  • Status changed from Open to Resolved
  • % Done changed from 0 to 90
Actions #3

Updated by Dmitry M. about 10 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF