December 7, 2010

cazador7907 cazador7907
Lab Rat
78 posts

Other tools for Qt Development

 

Ok. I’m slowly getting used to coding with Qt. I’m currently working on coding a graph and I’ve gotten to a point where I want to start unit testing the code.

Is there a tool out there that I can use to track issues in coding such as memory leaks?

 Signature 

Laurence -

 

8 replies

December 7, 2010

Gerolf Gerolf
Area 51 Engineer
3211 posts

Check this thread: Diskussion about memory profiler… [developer.qt.nokia.com]
There are several tools and it depends on the platform…

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 7, 2010

Vass Vass
Hobby Entomologist
738 posts

Valgrind [valgrind.org]

 Signature 


Vasiliy

December 7, 2010

Gerolf Gerolf
Area 51 Engineer
3211 posts

That depens on the platform :-) (see noted thread above)

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 7, 2010

cazador7907 cazador7907
Lab Rat
78 posts

Grrrr. I keep forgetting to put down platform information.

Qt 4.7/Mac OS X 10.6.5

 Signature 

Laurence -

 

December 7, 2010

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

cazador7907, Valgrind should be ok for you then.

December 8, 2010

maciek maciek
Lab Rat
67 posts

Valgrind also has GUI written in Qt4 called Valkyrie [valgrind.org]

 Signature 

Earth is a beta site.

December 8, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts

There is also a nice visualizer for the massif (one of the valgrind tools) output called massif-visualizer [gitorious.org].

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

December 8, 2010

GordonSchumacher GordonSchuma..
Lab Rat
93 posts

By the by – I have had good success using Boost::Graph and Qt together. This might be overkill for what you need, but it’s the best I’ve found.

I’ve not done any OSX development at all, but I’ve also had good success with simple tools like dmalloc, DUMA, and mpatrol.

I wrote an (IMNSHO) incredibly awesome one about ten years ago, but it breaks badly on C++ templates so it never got released. Someday I will have time to figure out how to rewrite it to make it work again…

 
  ‹‹ Qt Creator Mouse Question      Qt Creator with multiple monitors ››

You must log in to post a reply. Not a member yet? Register here!