Mouse Click in QCoreApplication
General and Desktop
2
Posts
2
Posters
1.8k
Views
1
Watching
-
wrote on 4 Aug 2011, 14:25 last edited by
Hello. I have basically an old-style console application. Before reaching a.exec(), a read-eval-print-loop thread is started.
But it would be nice to occasionally find out where in the window the user clicked. Can I find out about a mouse event in this situation?
Regards, Rick
-
wrote on 4 Aug 2011, 14:31 last edited by
I don't think Qt has any such functionality. You'll have to use a different library to find the mouse position in a console app.
1/2