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



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to