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?
Forum Updated to NodeBB v4.3 + New Features

Valgrind executable?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
valgrindsettingserroranalyzer
6 Posts 2 Posters 8.7k 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.
  • T Offline
    T Offline
    test_connect
    wrote on 18 Aug 2016, 15:24 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Aug 2016, 21:14 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
      • T Offline
        T Offline
        test_connect
        wrote on 18 Aug 2016, 21:57 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 18 Aug 2016, 21:58 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

          T 1 Reply Last reply 18 Aug 2016, 22:09
          1
          • S SGaist
            18 Aug 2016, 21:58

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

            T Offline
            T Offline
            test_connect
            wrote on 18 Aug 2016, 22:09 last edited by
            #5

            @SGaist
            $ which valgrind

            /usr/local/bin/valgrind

            Thank you, SGaist!

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 18 Aug 2016, 22:12 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

              4/6

              18 Aug 2016, 21:58

              • Login

              • Login or register to search.
              4 out of 6
              • First post
                4/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved