Resource .dat error
I currently have a .dat file that I use for an algorithm. The .dat file is located in the release folder and I access it through c++ by giving its path. However, I would like this file to be included in my project to avoid external dependencies and having to give the file with the .exe. I succesfully did that with image files by adding them in the QRC resource file I tried to do the same with the .dat file but at build I get :
mingw32-make: *** [debug/qrc_qml.cpp] Error -1073741819
I am using Qt5.7 on Windows with MinGw
Thank you very much,
How big is that file ?
The file is 100 MB
That is most likely too big. It will generate source file from it and it can easy be too massive
to be included.
Is it possible to split in chunks ?
Then collect it runtime and use.
I don't think I can break it into separate parts, it comes from an external library.
But I will try to find a way to do that
You can create an external binary resource like described here.
Nice, thank you !