Hi,

for example I have Object with slot start.

And I create that object with the next code:

QCoreApplication app( argc, argv );

Object o;
QThread t;
o.moveToThread( &t );
t.start();

QTimer::singleShot( 0, &o, SLOT( start() ) );

app.exec();

But this code doesn’t invoke slot start() after launching.

And there is my question: how to invoke SLOT start() of Object on the different 
thread and app start-up?

Thanks.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to