Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Unable to access 'Sample Music' with QDesktopServices::MusicLocation.
vivekmalik2466 last edited by
@searchLocation = QDesktopServices::storageLocation(QDesktopServices::MusicLocation);
it gives me "C:\Users\Administrator.VIVEK-PC\Music"
and with this i am able to search in this music folder
but at other side i am unable to access the file which are in C:\Users\Public\Music or we can say in 'Sample Music'.
if any how i also get "C:\Users\Public\Music" then i am able to do apply my search on this also.
tzander last edited by
The desktop services ask your OS (Windows in this case). The dir you post in Users doesn't look like a standard Windows dir, so why would Qt or Windows know about it?