Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT5.10.1 cross compile rpi3 ubuntu 16.04 make command error
hem1 last edited by
I am trying to cross compile Qt 5.10.1 for rpi3 on ubuntu 16.04, i am able to run configure command succesfully but while executing make i am getting following errors, i am struggling with cross compiling thing from last one week. has anybody have any idea why i am getting these errors although i seen one post but that is unsolved the solution was not mentioned there so kindly suggest something or tell me exact procedure that anybody followed for successful compilation.
In file included from ../../include/QtCore/qglobal.h:1:0,
../../include/QtCore/../../src/corelib/global/qglobal.h:762:47: error: static assertion failed: Required feature library for file ../../include/QtCore/../../src/corelib/plugin/qlibrary.h not available.
#define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
../../include/QtCore/../../src/corelib/global/qglobal.h:86:36: note: in expansion of macro 'Q_STATIC_ASSERT_X'
#define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " FILE " not available.")
../../include/QtCore/../../src/corelib/plugin/qlibrary.h:45:1: note: in expansion of macro 'QT_REQUIRE_CONFIG'
Makefile:27974: recipe for target '.obj/qsslsocket_opensslpre11.o' failed
make: *** [.obj/qsslsocket_opensslpre11.o] Error 1
make: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src/network'
Makefile:273: recipe for target 'sub-network-make_first' failed
make: *** [sub-network-make_first] Error 2
make: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
which cross toolchain are you using?