Hi,
I have a GUI application to which I would like to add command line support. Basically, if I was, from a command prompt, to enter something like
then the GUI would just show up. However, if I was to enter something like$ ./myApp
then my application would execute in 'silence', i.e. without the GUI ever showing up.$ ./myApp -i myInputFile -o myOutputFile
I thought I would use the QxtCommandOptions class (from LibQxt) to do this, but the only way I have got that class to work was by having a 'pure' Qt console application. As soon as the Qt application is a GUI application, then I am not able to use the class.
Any idea of what I might be doing wrong or what I would need to do get what I am after?
EDIT: I can do what I am after on Linux (and, I would assume, on Mac OS X), but not on Windows and I believe this is due to the way Windows handles console applications. Still working on finding a solution though...
Bookmarks