Nominate our 2022 Qt Champions!

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:

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

    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.

    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": 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