[Interest] Opening Folder location on a linux GUI

Michael Jackson imikejackson at gmail.com
Thu May 23 20:29:32 CEST 2013

On May 23, 2013, at 2:22 PM, Thiago Macieira wrote:

> On quinta-feira, 23 de maio de 2013 13.03.26, Michael Jackson wrote:
>> I would like to be able to show the location of a file in the file system on
>> a Linux machine ( I have code for OS X and Windows). Is there something
>> built into Qt that I am just missing?
>> I have found the following links helpful but not really the solution for
>> Linux:
>> http://stackoverflow.com/questions/3490336/how-to-reveal-in-finder-or-show-i
>> n-explorer-with-qt http://lynxline.com/show-in-finder-show-in-explorer/
> Have you tried QDesktopServices::openUrl with the directory where the file is 
> located? It should open the file manager for the desktop, but there's no way to 
> pre-select the file.
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center

Actually, I hadn't even thought of that. I don't think I need to preselect the file, I'd be happy just getting the folder opened up.


More information about the Interest mailing list