path
get current path
#include <QCoreApplication>
QString appDirPath = QCoreApplication::applicationDirPath();
Convert to the corresponding system path
Returns the pathname with the delimiter converted to the appropriate delimiter for the underlying operating system.
"\" under windows; "/" under linux
#include <QDir>
appDirPath = QDir::toNativeSeparators(appDirPath);