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

Cannot set Valgrind's Kit



  • Greetings,

    My Setup is:
    QTCreator: 3.1.0 openSource
    QT 4.8.5 recompiled with VS 2005 Professional (Windows 2000 is among the possible targets)
    Windows 7 Pro x64 Enterprise

    I can compile and debug but I cannot set the Valgrind Kit because the Options -> Build & Run -> QT Version has a red !.

    From the details the ABI and mkspec do not point the the same VS version:
    ABI:x86-windows-msvc2008-pe-32bit
    mkspec:win32-msvc2005

    How can I fix it ? I would really like to do some profiling :-)

    Thanks
    Simon Glet


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    AFAIK, Valgrind has not yet a port for Windows, you'd need to use Linux in order to use it



  • Hi SGaist,

    That is too bad ... As my application uses the Win32 API, I won't be able to set my development environment on Linux.

    I guess I will have to look for another profiling solution.

    Thanks
    Simon Glet


  • Lifetime Qt Champion

    Depending on what you want to profile, you can e.g. #ifdef the Win32 API calls and add some code to simulate the results on other platforms so you can check at least the cross-platform part with Valgrind.



  • Sure, that could work but not this time :-/

    I found that "Very Sleepy":http://www.codersnotes.com/sleepy does the profiling I need.

    Thanks for the follow up.
    Simon Glet


  • Lifetime Qt Champion

    You're welcome and thanks for sharing this interesting finding of yours.

    Happy coding !


Log in to reply