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. Valgrind executable?

Valgrind executable?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
valgrindsettingserroranalyzer
6 Posts 2 Posters 8.6k Views
  • 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.
  • test_connectT Offline
    test_connectT Offline
    test_connect
    wrote on last edited by test_connect
    #1

    There is a field of settings of Analizer > Generic Settings > Valgrind executable.
    How can I set this field?

    I have a problem with Valgrind on Qt when debug with Memcheck or Callgrind.
    The next error appears:
    Error: "valgrind" could not be started: execve: No such file or directory
    and I dont know its cause.

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

      Hi and welcome to devnet,

      What OS are you on ?

      Did you install Valgrind for it if available ?

      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
      1
      • test_connectT Offline
        test_connectT Offline
        test_connect
        wrote on last edited by test_connect
        #3

        Mac OS 10.11.6
        Xcode 7.3.1
        I installed Valgrind
        (with some preliminary steps as:
        command line of Xcode, brew updated,
        autoconf, automake, libtool).

        Thanks for the welcome!

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

          Then put the path to valgrind into the settings of Qt Creator and you should be good to go.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          test_connectT 1 Reply Last reply
          1
          • SGaistS SGaist

            Then put the path to valgrind into the settings of Qt Creator and you should be good to go.

            test_connectT Offline
            test_connectT Offline
            test_connect
            wrote on last edited by
            #5

            @SGaist
            $ which valgrind

            /usr/local/bin/valgrind

            Thank you, SGaist!

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

              You're welcome !

              Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

              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