Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error when using HEOB in QT
QtWS25 Last Chance

Error when using HEOB in QT

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 1.4k Views
  • 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.
  • T Offline
    T Offline
    Thegoodstuff24
    wrote on last edited by
    #1

    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?

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

      Hi and welcome to devnet,

      What is HEOB ?

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

      JKSHJ T 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What is HEOB ?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @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?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        3
        • SGaistS SGaist

          Hi and welcome to devnet,

          What is HEOB ?

          T Offline
          T Offline
          Thegoodstuff24
          wrote on last edited by
          #4

          @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.

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

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

            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