Install debugger engine
-
@SGaist Thank you -- that helped.
Now the problem is that, when I try to run the untitled project appearing when you create a new project, qglobal.h seems to be missing and I cannot find it anywhere in my installation.
"
C:\Qt\5.8\android_x86\include\QtCore\qglobal.h:45: error: type_traits: No such file or directoryinclude <type_traits>
"
-
Which version of the NDK did you install ?
-
Take a look at the Kit you are using. Check whether there's any warning or error message related to the NDK.
They've had some disruptive update recently which might be a possible cause.
-
@SGaist Under Devices -> Android, after Android NDK location I have a warning "Qt versions for 3 architectures are missing". No other warnings.
I saw somewhere (can't find it again) about a problem similar to mine, related to NDK version 13, related to the order of includes in GCC. However no solution was presented.
Where in my installation are type_traits, cstddef and algorithm supposed to be found? How do I give the appropriate directive in the .pro file (or anywhere)? May type_traits, cstddef and algorithm not be installed (Windows search can't find them)?? -
These files should be provided by the Android SDK/NDKs
The tool chains missing is a warning that is harmless in the sense that you are not likely going to build your application for these missing architectures. Unless of course the warning concerns the targets you want to build for.
-
@PA-F Sorry -- I should have given some further information to give you a chance to help.
When I try to build untitled.pro I get the messages:
In file included from C:\Qt\5.8\android_x86\include/QtGui/qtguiglobal.h:43:0,
from C:\Qt\5.8\android_x86\include\QtGui/qguiapplication.h:43,
from C:\Qt\5.8\android_x86\include\QtGui/QGuiApplication:1,
from ..\untitled\main.cpp:1:
type_traits: No such file or directoryIn qglobal.h there are error marks for
include <type_traits>
include <cstddef>
and
#include <algorithm>but not for
#include <stddef.h>
#include <QtCore/qconfig-bootstrapped.h>
#include <QtCore/qconfig.h>
#include <QtCore/qtcore-config.h>
#include <QtCore/qsystemdetection.h>
#include <QtCore/qprocessordetection.h>
and
#include <QtCore/qcompilerdetection.h>For instance <stddef.h> is found in
c:\android\android-ndk-r13b\toolchains\x86-4.9\prebuilt\windows-86_64\lib\gcc\i686-linux-android\4.9.x\include\stddef.hDoes this give you any idea?
-
Following that wiki entry, recent versions of the Android NDK are problematic. It is recommended to use ndk-r10e.