Solved Including external text files into the Qt project
I have some text files that I'm reading on PC in a certain directory
and I would like to somehow include these text files in my Qt project
so that my app won't have troubles trying to load them when I run the app from my moblie phone or from an emulator
I'm using FILE as a pointer and fopen()and fgets()
so I want to "add an exisiting file" and use the relative path in my Qt project
so these files will become a part of my project
How can I do this ?
Or is there a topic about such a problem?
ODБOï last edited by ODБOï
@LeLev Thank you very much, it helped 😍
Pablo J. Rogina last edited by
@Rami just in case, keep in mind that files inside the Qt resource system should be read-only.