I want to add "Botan: Crypto and TLS for Modern C++" Library to Cross compiler of qt5.9.1 which is on Ubuntu 16.04 , 64 bit system.
When i try to compile .pro file using command -

Code: Select all

/usr/local/Trolltech/Qt-5.9.1-nexell32-x86tools/bin/qmake ../example.pro

gives Error message
build.h:432:6: error: #error "Trying to compile Botan configured as x86_64 with non-x86_64 compiler."
#error "Trying to compile Botan configured as x86_64 with non-x86_64 compiler."

Please let me know how to add or link Botan library with Cross compiler for Qt 5.9.1 on ubuntu 16.04

Please refer Following link:
Botan Library- https://github.com/randombit/botan
Cross Compiler installation guide - http://wiki.friendlyarm.com/wiki/index.php/How_to_Build,_Install_and_Setting_Qt_Application#Cross-compiling_Qt_application_in_Docker
CPU - S5P4418 (NanoPi Fire2A)


Please help me to know how to add library in cross compiler.
Thanks