ssbssa / heob

Detects buffer overruns and memory leaks.
Boost Software License 1.0
155 stars 25 forks source link

Plugin with Qt 5.8. #14

Closed aospiridonov closed 5 years ago

aospiridonov commented 6 years ago

Dear Hannes Domani,

I can not configure to be used in Qt Creator analogous http://doc.qt.io/qtcreator/creator-heob.html

Thanks, Alex

ssbssa commented 6 years ago

What Qt Creator version? What is your actual problem?

aospiridonov commented 6 years ago

Qt Creator 4.2.1 (Qt 5.8.0 MSVC 2015)

I don't know how to build from the repository to get the plugin installer. (I build with msvs and have heob.exe but I don't know how to integrate with Qt Creator) I want to get as http://doc.qt.io/qtcreator/creator-heob.html

ssbssa commented 6 years ago

heob integration was introduced with Qt Creator 4.6. So you need to upgrade Qt Creator if you want the simple usage via the heob dialog.

For older version you could still call heob manually, and then open the generated xml in Qt Creator. That's how i started and even got the idea for the integration in the first place.

aospiridonov commented 6 years ago

Thanks. But, I started in Qt Creator 4.7.1, it worked and there was a window where it's written to "kill". I press "k", but no reports (leaks.xml not found). Is there any manual or an available example?

ssbssa commented 6 years ago

The "kill" text should only be visible short on startup of the program, you shouldn't actually press it, only if something is wrong.

Some antivirus software interfere with heob, maybe that's what's happening here.

ssbssa commented 6 years ago

Were you able to make it work?

aospiridonov commented 5 years ago

Yes, I was able to run it to work. But it only works for the x64 compiler (msvs 14.0 amd64). In x86 does not work. Put testing for Qt Creator 4.7.1 x86 and x64 version separately. Files heob I download with https://sourceforge.net/projects/heob/files/heob-2.1/

ssbssa commented 5 years ago

It should work for x86 as well, have you tried it with disabled antivirus?

aospiridonov commented 5 years ago

Files heob32.exe and heob64.exe added to exceptions in antivirus.

ssbssa commented 5 years ago

Hmmm, the antivirus software I use still interferes with heob even if it's added as exceptions, it only works if I disable antivirus completely.

ssbssa commented 5 years ago

I'm gonna close this now. If you have any more questions, feel free to reopen.