Search code examples
androidqtboost

How to use boost libraries on Android


I am working on android application with Qt. How can i use boost libraries for devoloping android application? I have boost library for msvc, can i use for android?HOw to integrate boost library to Qt?

Thanks for answer.


Solution

  • I solved the problem. If anyone faces this problem, i am listing solution below

    Step 1: Go to this site https://github.com/PurpleI2P/Boost-for-Android-Prebuilt/branches

    Step2: Download the prebuilt library that want to download.

    Step3: Go to Qt and add library, Project->Add library-> external library

    Step4: Include library in your source code(i.e. include<boost\chrono.hpp>)

    It doesn't need editing pro file manually, Step3 will make automatically!