Hi everyone
I am having this small problem.
I have a folder name IMPORTANT, this folder is located on the main project folder(where the source code is located).
In this folder, I have a file that I have to open on the application I am doing, here it comes my problem.
I use QDir, and give the path where the File is located
and the rest of code.Qt Code:
To copy to clipboard, switch view to plain text mode
This works perfect. But here is my problem, what happens if I want to give this code to one friend of my, it will not run on his computer because he doesn't have this address /home/diego/Projects/
So what I can do to solve this problem?
Can someone give me an idea?
Thanks
Bookmarks