Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Error when using HEOB in QT



  • Here are my specs:
    Windows 10
    Qt creator 4.10.1 (based on QT 5.13.1)
    HOEB 3.1

    I am am trying to debug me application using the tool HEOB. I followed QT's instructions and set the executable path and ran it without the debug option. I get the following error:

    "Program: C:\Users\skrutov\Desktop\debug\Qt5Cored.dll
    Module: 5.9.1
    File: kernel\qguiapplication.cpp
    Line: 1148

    This application failed to start because it could not find or load the Qt platform plugin "windows"
    in "".

    Reinstalling the application may fix this problem.

    (Press Retry to debug the application)
    Debug Error!"

    If I select the debug option it does the same thing. I tried the following to resolve it:

    "Open cmd and type echo %QT_PLUGIN_PATH% if it's not empty then delete it (just google: delete environmental variable windows #, where # is your windows version)

    Open cmd and type echo %PATH% and press enter. You'll see a list separated by ; of folder paths. Go line by line and make sure they do not point to a folder that contains a platforms folder that has qwindows.dll in it. If you find such a path edit the PATH variable and remove it (just google: edit environmental variable windows #, where # is your windows version)"

    I did not find any suspicious paths however, nothing pointing to a "Platform Folder" anyway.

    Is there anything else I can try?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What is HEOB ?


  • Moderators

    @SGaist said in Error when using HEOB in QT:

    What is HEOB ?

    Heap Observer, a debugging tool. Qt Creator supports it: https://doc.qt.io/qtcreator/creator-heob.html

    @Thegoodstuff24 said in Error when using HEOB in QT:

    I followed QT's instructions and set the executable path and ran it without the debug option.

    The official instructions are at https://doc.qt.io/qtcreator/creator-heob.html -- is this the one that you followed?



  • @SGaist

    Thank you for responding. I found and resolved the issue. Apparently the HEOB executable needs to be placed in root of the project folder. I did not see that in the instructions but guess it makes sense. In any case this issue can be marked resolved.


  • Lifetime Qt Champion

    Thanks for the infos ! I completely forgot about that tool.


Log in to reply