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. Memory Leak in Qt 4.10.0

Memory Leak in Qt 4.10.0

Scheduled Pinned Locked Moved Solved General and Desktop
30 Posts 6 Posters 4.3k 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.
  • N Offline
    N Offline
    ndiwan
    wrote on last edited by
    #18

    b19325b7-e01a-4bcb-b0c0-4aeeefc8247a-image.png

    In the above screenshot Kit combo dropdown is disable. If I click manage , I can see this:

    10ef1a27-cc0e-4834-8a40-c26bb764504e-image.png

    jsulmJ 1 Reply Last reply
    0
    • N ndiwan

      b19325b7-e01a-4bcb-b0c0-4aeeefc8247a-image.png

      In the above screenshot Kit combo dropdown is disable. If I click manage , I can see this:

      10ef1a27-cc0e-4834-8a40-c26bb764504e-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #19

      @ndiwan Do you have Valgrind? Check in Analyzer/Valgrind. You need to set the path to Valgrind executable.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Christian EhrlicherC 1 Reply Last reply
      0
      • jsulmJ jsulm

        @ndiwan Do you have Valgrind? Check in Analyzer/Valgrind. You need to set the path to Valgrind executable.

        Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #20

        @jsulm Since when does valgrind run on windows?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        jsulmJ JonBJ 2 Replies Last reply
        2
        • Christian EhrlicherC Christian Ehrlicher

          @jsulm Since when does valgrind run on windows?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #21

          @Christian-Ehrlicher Ah, Windows. Well, since never :-)

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • N Offline
            N Offline
            ndiwan
            wrote on last edited by ndiwan
            #22

            So How I can check memory leakage in Qt Creator running on Windows 10 ?

            Thanks

            JonBJ 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              @jsulm Since when does valgrind run on windows?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #23

              @Christian-Ehrlicher said in Memory Leak in Qt 4.10.0:

              Since when does valgrind run on windows?

              I am the person who originally replied to @ndiwan 's "Could you please help me with how I can detect memory leak." with "Use valgrind to detect memory leakages."

              I read the question carefully and nowhere did it mention using Windows. One of my pet bug-bears is if questioners cannot tell you what OS they are on for a question of this kind, why should I guess they are under Windows? Other OS people tell you what they are on, why do Windows users think people ought know they are on Windows...?

              Christian EhrlicherC 1 Reply Last reply
              0
              • N ndiwan

                So How I can check memory leakage in Qt Creator running on Windows 10 ?

                Thanks

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #24

                @ndiwan said in Memory Leak in Qt 4.10.0:

                So How I can check memory leakage in Qt Creator running on Windows 10 ?

                I would imagine it would depend on what compiler you have chosen to use, which we don't know....

                jsulmJ 1 Reply Last reply
                0
                • JonBJ JonB

                  @ndiwan said in Memory Leak in Qt 4.10.0:

                  So How I can check memory leakage in Qt Creator running on Windows 10 ?

                  I would imagine it would depend on what compiler you have chosen to use, which we don't know....

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #25

                  @JonB According to Kits it's MinGW

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • JonBJ JonB

                    @Christian-Ehrlicher said in Memory Leak in Qt 4.10.0:

                    Since when does valgrind run on windows?

                    I am the person who originally replied to @ndiwan 's "Could you please help me with how I can detect memory leak." with "Use valgrind to detect memory leakages."

                    I read the question carefully and nowhere did it mention using Windows. One of my pet bug-bears is if questioners cannot tell you what OS they are on for a question of this kind, why should I guess they are under Windows? Other OS people tell you what they are on, why do Windows users think people ought know they are on Windows...?

                    Christian EhrlicherC Online
                    Christian EhrlicherC Online
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #26

                    @JonB said in Memory Leak in Qt 4.10.0:

                    why do Windows users think people ought know they are on Windows...?

                    I don't know.
                    And yes - my answer would also be - use valgrind or any other proper leak checker tool and how to you know that there is a memleak at all?

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0
                    • JoeCFDJ Offline
                      JoeCFDJ Offline
                      JoeCFD
                      wrote on last edited by JoeCFD
                      #27

                      On Windows, it may be a good idea to use Visual Studio + Qt plugin. Visual Studio is a powerful tool and has memory check functions for C++ code.
                      https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library?view=vs-2019

                      Christian EhrlicherC 1 Reply Last reply
                      0
                      • JoeCFDJ Offline
                        JoeCFDJ Offline
                        JoeCFD
                        wrote on last edited by JoeCFD
                        #28

                        https://www.albertgao.xyz/2016/09/28/how-to-use-valgrind-on-windows/
                        I came across this, but never tried it by myself. Strongly recommend to use VS.

                        1 Reply Last reply
                        0
                        • JoeCFDJ JoeCFD

                          On Windows, it may be a good idea to use Visual Studio + Qt plugin. Visual Studio is a powerful tool and has memory check functions for C++ code.
                          https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library?view=vs-2019

                          Christian EhrlicherC Online
                          Christian EhrlicherC Online
                          Christian Ehrlicher
                          Lifetime Qt Champion
                          wrote on last edited by
                          #29

                          @JoeCFD said in Memory Leak in Qt 4.10.0:

                          Visual Studio is a powerful tool

                          powerful? Nice try...

                          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                          Visit the Qt Academy at https://academy.qt.io/catalog

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            ndiwan
                            wrote on last edited by
                            #30

                            Thanks , I will try VS.

                            Thanks

                            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