No point hard-coding as well - just use QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation), and Q_ASSERT non-empty if you like.