1 year ago

#75411

test-img

hehe HE

How qt make sure no memory leak happened in ui_XXX.h?

After I compile the .ui file in my qt project, I found that all pointers were newed in the constructor, but there is no place to delete them.

So how qt make sure there is no memery leak? Or I have to free them in the deconstructor?

Well, it's maybe a stupid question, but I don't know how to figure it out. If anyone can help me, I'll highly appreciate.

c++

qt

memory-leaks

0 Answers

Your Answer

Accepted video resources