Bug #1801
compile with early qt5
Status: | Closed | Start date: | 2017-03-03 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
Hi,
I'm using qtbase5-dev 5.3.2+dfsg-4+deb8u2 from debian's jessie, and there is no QStandardPaths::AppDataLocation there yet.
The following patch helped:
```
#if defined(AppDataLocation)
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
#else
return QStandardPaths::writableLocation(QStandardPaths::DataLocation);
#endif
```
cheers, piem
History
#1
Updated by Chris Cannam over 6 years ago
- Status changed from New to Closed