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 :
Qt5Guid.dll!0f9d9daa()
[Frames below may be incorrect and/or missing, no symbols loaded for Qt5Guid.dll]
Qt5Widgetsd.dll!646b4d80()
Qt5Cored.dll!QCoreApplication::init() Line 699
Qt5Cored.dll!QCoreApplication::QCoreApplication(QCoreApplicationPrivate & p={...}) Line 628
Qt5Guid.dll!0f9d80a4()
Qt5Widgetsd.dll!6463ac3c() -
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 :-)
-
@ zeecrowddev
Not very likely since the assert is triggered inside Qt's library
-
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. -
Great you found out !
Please update the thread title prepending [solved] so other forum users may know a solution has been found :)