how to call a library used QObject::connect from a non qt base application ?
-
If you want to use Qt functionality you need a running Q(Core|Gui)Application
-
If you want to use Qt functionality you need a running Q(Core|Gui)Application
@Christian-Ehrlicher
then how does qt for android work? -
@Mozzie said in how to call a library used QObject::connect from a non qt base application ?:
then how does qt for android work?
Exactly like on other OSes - a QApplication event loop is running.
-
@Mozzie said in how to call a library used QObject::connect from a non qt base application ?:
then how does qt for android work?
Exactly like on other OSes - a QApplication event loop is running.
so how to running QApplication event loop from other application as a library?
-
You could create a separate thread where you start the QApplication but then all gui operations have to be done there. I would say - leave it.