Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Assert failure in QCoreApplication
Forum Updated to NodeBB v4.3 + New Features

Assert failure in QCoreApplication

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 4 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mahima
    wrote on last edited by
    #1

    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()

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

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

      (Z(:^

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zeecrowddev
        wrote on last edited by
        #3

        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 :-)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ zeecrowddev

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zeecrowddev
            wrote on last edited by
            #5

            @SGaist

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

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mahima
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Great you found out !

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

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved