Open an external program in Qt with an attached file extension

Posted by Phil on Stack Overflow See other posts from Stack Overflow or by Phil
Published on 2010-06-16T16:51:14Z Indexed on 2010/06/16 16:52 UTC
Read the original article Hit count: 205

Filed under:
|
|

I am making a qt application which allows the user to select a file and then upon clicking ok, start the associated program with the file already loaded. The program I want to start is java based, and I know how to use QProcess to get it to open, I don't know however how to add the file extension which the user is selecting. Any suggestions?

© Stack Overflow or respective owner

Related posts about java

Related posts about qt