Bug #1801

compile with early qt5

Added by Paul Brossier about 7 years ago. Updated over 5 years ago.

Status:ClosedStart date:2017-03-03
Priority:NormalDue 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 5 years ago

  • Status changed from New to Closed

Also available in: Atom PDF