#include <QApplication>
#include <QDir>
#include <QFileInfo>
|
auto | getAppDataDir () |
| Returns the application data directory, based on the platform and build type.
|
◆ getAppDataDir()
Returns the application data directory, based on the platform and build type.
- On Windows, it returns the application directory. (portable app)
- On Linux, it returns the parent of the application directory. (portable app)
- In debug builds, it returns the application directory.
- Warning
- Instantiate the QApplication object first