Issue
I've created a new QT project for android and desktop but when I try to build for android I get the following errors
:-1: error: error: Files\QT\5.7\android_x86\include: No such file or directory
:-1: error: error: Files\QT\5.7\android_x86\include\QtWidgets: No such file or directory
:-1: error: error: Files\QT\5.7\android_x86\include\QtGui: No such file or directory
:-1: error: error: Files\QT\5.7\android_x86\include\QtCore: No such file or directory
:-1: error: error: Files\QT\5.7\android_x86\mkspecs\android-g++: No such file or directory
my .pro file
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Test
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
CONFIG += mobility
MOBILITY =
I have both x86 and x86_64 ndk.
Any suggestions?
Solution
Try to reinstall original Qt into path without spaces or non-latin symbols. I think there was such recommendation somewhere in Qt documentation.
Answered By - Max Pashkov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.