I am making a simple application using . In that app, i am using C/C++ static library. I compiled this library using Qt-Creator. This static library has one function
loadFile(std:string fileName)
loadFile(std:string fileName)
To copy to clipboard, switch view to plain text mode
This function load the files using .
fstream data_file(file_name.c_str(), ios::in | ios::binary);
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
QFile
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.
Bookmarks