Answer the question
In order to leave comments, you need to log in
How to implement command line in QT console application without threads?
I want to implement a command line in a server-side console application without threads. If you use an infinite loop in the application itself, then the application remains in it and does not process slots and signals when a client connects, for example. I couldn't find any tools in QT itself. The only option I found is to make a separate class inherit from QThread? Making a separate class only for processing command input is somehow bold in my opinion.
Answer the question
In order to leave comments, you need to log in
https://gist.github.com/gjorquera/2576569
https://github.com/juangburgos/QConsoleListener
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question