[Qt-interest] QApplication to QCoreApplication

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Wed Jan 14 09:17:01 CET 2009


Nitin wrote:

> I have a  QApplication with widget and UI capabilities. I need to
> convert this to behave like a QCoreApplication, meaning I dont want to
> see its UI, mouse etc. I just need to use t as a QCoreApplication.
> 
> What
> are the least changes I can do to convert this apater from disabling
> the call to show()? I dont want to see application's UI, 
> mouse pointer,
> and any pop up messages.
> 
> thanks in advance 
> 
> regards
> 
> -Nitin

Hi Nitin, 

I'm confused: 

- Have you just started working on this project, and realise that you need a
console application? Then search the examples for QCoreApplication, and copy
from that. 

- If the application is already written tied to a gui, then what do you want
the console version to do? 

Hope that helps, 

Tony Rietwyk





More information about the Qt-interest-old mailing list