Important: Please read the Qt Code of Conduct -

Assert failure in QCoreApplication

  • Hi All,

    I have using Qt 5.1.1 in Visual studio 2008. But I am getting Assert failure in qcoreapplication.cpp at line 699.

    Q_ASSERT(QCoreApplicationPrivate::eventDispatcher != 0);

    Do any one is having idea what is going wrong or how I can fix this issue ?

    Following is the call stack :

    [Frames below may be incorrect and/or missing, no symbols loaded for Qt5Guid.dll]
    Qt5Cored.dll!QCoreApplication::init() Line 699
    Qt5Cored.dll!QCoreApplication::QCoreApplication(QCoreApplicationPrivate & p={...}) Line 628

  • Moderators

    How are you instantiating the Q*Application in your code?

  • Hello
    You have two solutions :
    Copy theses dll (Qt5Guid.dll ...) next your exe
    Add in your sytem PATH the path where theses dll are ..

    Because your programm search theses dll

    PS : sorry for my english :-)

  • Lifetime Qt Champion

    @ zeecrowddev

    Not very likely since the assert is triggered inside Qt's library

  • @SGaist

    of course ...
    sorry for the wrong way ...

  • Thanks for your reply.
    I compiled Qt myself and forgot to add windows.dll in plugins->platforms. When I added the same, it ran successfully.

  • Lifetime Qt Champion

    Great you found out !

    Please update the thread title prepending [solved] so other forum users may know a solution has been found :)

Log in to reply