Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Valgrind
Forum Updated to NodeBB v4.3 + New Features

How to use Valgrind

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 744 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.
  • I Offline
    I Offline
    ivanicy
    wrote on 26 Nov 2018, 11:35 last edited by
    #1

    Hello!

    I have a problem with my code and I have a memory leak. I notice that in the Analyze menu, there is a Valgrind Memory Analyzer tool but, when I click there, the window that appears is empty. How can I configure Valgrind in Qt on Windows?

    0_1543232135114_b17f5b7b-599d-4cf1-9b16-5a120962bc10-image.png

    Thank you very much!!

    V 1 Reply Last reply 26 Nov 2018, 11:37
    0
    • I ivanicy
      26 Nov 2018, 11:35

      Hello!

      I have a problem with my code and I have a memory leak. I notice that in the Analyze menu, there is a Valgrind Memory Analyzer tool but, when I click there, the window that appears is empty. How can I configure Valgrind in Qt on Windows?

      0_1543232135114_b17f5b7b-599d-4cf1-9b16-5a120962bc10-image.png

      Thank you very much!!

      V Offline
      V Offline
      VRonin
      wrote on 26 Nov 2018, 11:37 last edited by
      #2

      @ivanicy said in How to use Valgrind:

      on Windows

      You can't.

      Visual Studio has some memory analysis tools on windows but it requires using the MSVC compiler

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      I 1 Reply Last reply 26 Nov 2018, 11:39
      2
      • V VRonin
        26 Nov 2018, 11:37

        @ivanicy said in How to use Valgrind:

        on Windows

        You can't.

        Visual Studio has some memory analysis tools on windows but it requires using the MSVC compiler

        I Offline
        I Offline
        ivanicy
        wrote on 26 Nov 2018, 11:39 last edited by
        #3

        @VRonin I am using MSVC compiler, how can I use this Visual Studio tools?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRonin
          wrote on 26 Nov 2018, 11:48 last edited by
          #4

          Analyse->performance and diagnostic in VS

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          2

          1/4

          26 Nov 2018, 11:35

          • Login

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