I am making a simple application using
qt-android
. In that app, i am using C/C++ static library. I compiled this library using Qt-Creator. This static library has one function

Qt Code:
  1. loadFile(std:string fileName)
To copy to clipboard, switch view to plain text mode 

This function load the files using
fstream
.

Qt Code:
  1. fstream data_file(file_name.c_str(), ios::in | ios::binary);
To copy to clipboard, switch view to plain text mode 

I read about the asset folder in the android and put my files there. I can check that this files exists by using
Qt Code:
To copy to clipboard, switch view to plain text mode 
. But how can i can load this files using the function available in my static library. From the Qt's MainWindow.cpp, how can tell LoadFile function that where is the file.