Solved Memory Leak in Qt 4.10.0
-
Kit dropdown is disable.
Thansks
-
@ndiwan said in Memory Leak in Qt 4.10.0:
Kit dropdown is disable
This is the same what I asked about. Can you please explain what dropdown you mean? Maybe a screen-shot?
-
In the above screenshot Kit combo dropdown is disable. If I click manage , I can see this:
-
@ndiwan Do you have Valgrind? Check in Analyzer/Valgrind. You need to set the path to Valgrind executable.
-
@jsulm Since when does valgrind run on windows?
-
@Christian-Ehrlicher Ah, Windows. Well, since never :-)
-
So How I can check memory leakage in Qt Creator running on Windows 10 ?
Thanks
-
@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...?
-
@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....
-
@JonB According to Kits it's MinGW
-
@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? -
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 -
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. -
-
Thanks , I will try VS.
Thanks