Are you able to build, deploy, and run a simple "Hello world!" program that uses iostream for Android using your build environment?
Your pro file does indeed include a bunch of folders for your native environment: all includes and libraries should be coming from the NDK. It also contains what looks like the wrong name for the freesteam library. Try this cut down version
TEMPLATE = app
QT += qml quick
SOURCES += main.cpp \
mysteamclass.cpp
RESOURCES += qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
HEADERS += \
mysteamclass.h
#--------------------------------ME= C++11 AND LIBRARIES-----------------#
CONFIG+=c++11
LIBS += -lgsl
LIBS += -lfreesteam
LIBS += -lgslcblas
TEMPLATE = app
QT += qml quick
SOURCES += main.cpp \
mysteamclass.cpp
RESOURCES += qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
HEADERS += \
mysteamclass.h
#--------------------------------ME= C++11 AND LIBRARIES-----------------#
CONFIG+=c++11
LIBS += -lgsl
LIBS += -lfreesteam
LIBS += -lgslcblas
To copy to clipboard, switch view to plain text mode
I am assuming the the three libs have been built with the cross-compiler and installed in the NDK default library path.
Bookmarks