Hi
Is there any problem using QTimer in staticlib?
I am using QTimer in small staticlib, but timer is not starting at all.
Even QTimer::singleShot( 3000, this, SLOT( launch()) ); in not working.
Please help me out..
Thanks in advance..
Hi
Is there any problem using QTimer in staticlib?
I am using QTimer in small staticlib, but timer is not starting at all.
Even QTimer::singleShot( 3000, this, SLOT( launch()) ); in not working.
Please help me out..
Thanks in advance..
Have you used the Q_IMPORT_PLUGIN to import your plugin? Look here for more information http://doc.trolltech.com/4.2/plugins...static-plugins .
Also make sure the event loop is running.
how to check whether event loop is running??
my scenario is like..i am writing a engine(staticlib) to provide services to UI..
but if i use QTimer in staticlib, it is not working..timer is not ticking at all..
pleasee reply
thanks
QCoreApplication::exec() and QThread::exec() start the event loop.
Bookmarks