Results 1 to 7 of 7

Thread: QCoreApplication::postEvent();

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    13
    Qt products
    Qt4
    Platforms
    Windows

    Default QCoreApplication::postEvent();

    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


    Qt Code:
    1. QCoreApplication::postEvent(splash, QHideEvent::QHideEvent());
    To copy to clipboard, switch view to plain text mode 

    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
    Last edited by jpn; 1st April 2008 at 06:25. Reason: missing tags

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.