console application using Qt
sean.murphy at veridian.com
Fri Oct 4 17:14:43 BST 2002
This is not the correct list since this is a Qt question, not a KDevelop
question. In the future, look at
qt-interest at trolltech.com
But to answer your question, the second constructor for a QApplication
takes a 3rd parameter that is of type bool. That parameter is called
"GUIenabled". Using this constructor and setting this parameter to
'false' will create a QApplication without a GUI.
See: http://doc.trolltech.com/3.0/qapplication.html for more interest...
From: Berge, Harry ten [mailto:berge at hitt.nl]
Sent: Friday, October 04, 2002 10:29 AM
To: 'kdevelop at kdevelop.org'
Subject: console application using Qt
Is it possible to make a console application where I use Qt
Because Qt needs an QApplication object and you have to call
QApplication::exec. But if you don't have widgets then 'exec' doesn't do
anything. So I want my own loop (while (1) or something like that) where
I can use for example QString.
I suppose it's possible but I don't know what 'the right way' to do
Met vriendelijke groet / Mit freundlichen Grüßen / Kind Regards,
H.J. ten Berge
Holland Institute of Traffic Technology HITT B.V.
P.O. box 717
E-Mail: mailto:berge at hitt.nl
World Wide Web: http://www.hitt.nl
tel : +31 555432537
fax : +31 555432554
to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body: unsubscribe
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
More information about the KDevelop