[Interest] QDir("~").absoluteFilePath(".mozilla")

Alexander Dyagilev alervdvcw at gmail.com
Sat Nov 17 04:39:40 CET 2018


Thanks! I've also found QDir::home().


On 11/17/2018 6:35 AM, Andy wrote:
> "~" is a shell variable (bash/sh/etc), so that won't work here.
>
> What you probably want is QStandardPaths::HomeLocation.
>
> https://doc.qt.io/qt-5/qstandardpaths.html
>
>




More information about the Interest mailing list