i want create python server application using pyqt4
without gui ( signal/slots, threads, process , other core patterns ).
how can create this?
if need qt eventloop without gui can use qcoreapplication
instead of qapplication
: http://pyqt.sourceforge.net/docs/pyqt4/qcoreapplication.html
from docs:
the qcoreapplication class provides event loop console qt applications.
this class used non-gui applications provide event loop. non-gui application uses qt, there should 1 qcoreapplication object. gui applications, see qapplication.
qcoreapplication contains main event loop, events operating system (e.g., timer , network events) , other sources processed , dispatched. handles application's initialization , finalization, system-wide , application-wide settings.
Comments
Post a Comment