Unsolved QT5.10.1 cross compile rpi3 ubuntu 16.04 make command error
-
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,
from ../corelib/global/qt_pch.h:56:
../../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'
QT_REQUIRE_CONFIG(library);
^
Makefile:27974: recipe for target '.obj/qsslsocket_opensslpre11.o' failed
make[2]: *** [.obj/qsslsocket_opensslpre11.o] Error 1
make[2]: 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[1]: *** [sub-network-make_first] Error 2
make[1]: 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 -