Fixing previous commit on Qt5 side for QStandardPaths