Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

How to get current working directory in a Qt application?

$
0
0
I’m writing a program in C++ using the Qt library. I would like to get current working directory of my program (I mean that is the absolute path which contains file .pro). I saw the *QDir::currentPath() function, but it gives back the directory where the binary is. Does anyone has any solutions? Thank you, Lee.

Viewing all articles
Browse latest Browse all 13965

Trending Articles