Hi all,
i m using QDesktopServices::openUrl(QUrl("file://"+filePath)) to open a file in finder. by this file is open in the finder but selection is not appear on the file so what can i do for the file selection in finder.
please help.
Thanks
Hi all,
i m using QDesktopServices::openUrl(QUrl("file://"+filePath)) to open a file in finder. by this file is open in the finder but selection is not appear on the file so what can i do for the file selection in finder.
please help.
Thanks
Last edited by wysota; 27th June 2011 at 08:21.
I assume you are doing this on MacOS, I am not much aware of MacOS, but what I can tell is you are trying to open a file / directory, with system application, which needs some start up arguments to select the file, all you can set using openUrl is path, even if you specify the arguments, they will be considered as part of file name. So I think it may not be possible
Bookmarks