QStandardPaths::AppDataLocation returns only \u0011 under FreeBSD
According to documentation of
AppDataLocationshould resolve to either of
under Linux. I was expecting that under FreeBSD it would resolve to something similar.
But all I am getting back is a Unicode symbol
QString defpath = ""; ... defpath.append(QStandardPaths::AppDataLocation); // this is where defpath == \u0011
Am I misusing the class/member or is its implementation broken under FreeBSD?
QStandardPaths::AppDataLocationis an enumerator value, so:
is actually saying: append an integer to the string.
I think you want to do something like this instead:
Who in their twisted mind?.. Oh, same old.