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. Cannot set Valgrind's Kit

Cannot set Valgrind's Kit

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    sglet
    wrote on last edited by
    #1

    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

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

      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

      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
      • S Offline
        S Offline
        sglet
        wrote on last edited by
        #3

        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

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

          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.

          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
          • S Offline
            S Offline
            sglet
            wrote on last edited by
            #5

            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

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

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

              Happy coding !

              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