chrisdsimpson
31st March 2008, 22:24
Hi
I am trying to do a postEvent to the QSplash screen that i created in the main statup.
I am not sure how to build the event can someone help
QCoreApplication::postEvent(splash, QHideEvent::QHideEvent());
I not quite sure what I am doing wrong but I get a build error undder Windows VS 2005
1>.\ine-de.cpp(108) : error C2665: 'QCoreApplication::postEvent' : none of the 2 overloads could convert all the argument types
1> c:\qt\4.3.3\include\qtcore\../../src/corelib/kernel/qcoreapplication.h(83): could be 'void QCoreApplication::postEvent(QObject *,QEvent *)'
1> while trying to match the argument list '(QSplashScreen *, QHideEvent)'
Thanks
Chris
I am trying to do a postEvent to the QSplash screen that i created in the main statup.
I am not sure how to build the event can someone help
QCoreApplication::postEvent(splash, QHideEvent::QHideEvent());
I not quite sure what I am doing wrong but I get a build error undder Windows VS 2005
1>.\ine-de.cpp(108) : error C2665: 'QCoreApplication::postEvent' : none of the 2 overloads could convert all the argument types
1> c:\qt\4.3.3\include\qtcore\../../src/corelib/kernel/qcoreapplication.h(83): could be 'void QCoreApplication::postEvent(QObject *,QEvent *)'
1> while trying to match the argument list '(QSplashScreen *, QHideEvent)'
Thanks
Chris