Desktop Path
-
How to find Desktop path
-
@
QDesktopServices::displayName(QDesktopServices::DesktopLocation)
@ -
an empty QString return
-
I think you need:
@QDesktopServices::storageLocation()@If that one returns an empty string for 'QDesktopServices::DesktopLocation', then it means that Qt couldn't determine the Desktop path.
-
Thanks,MuldeR Now its work
-
QStandardPaths::displayName( QStandardPaths::DesktopLocation );
-
QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)