Thanks!
That seems to be a good way to do it. But I would also like to know how to do this without Qt, because I want to make it easy to change Qt with something else if that is necessary.
But it is nice to know that I can do it with Qt if I'm getting tired of looking for a solution.
I found out that getenv() makes it possible to get the home directory for Linux.
thanks
pir
Bookmarks