Hi All,
I am using QtD to do some gui stuff. As the QtD documentation described, Qt-
data types should be declared with keyword "scope", so that all variables
can be deallocated in a right order.
I found a memory leak problem accidentally, when I executed the following
code very frequently:
//
Qian Xu Wrote:
> Hi All,
>
> I am using QtD to do some gui stuff. As the QtD documentation described, Qt-
> data types should be declared with keyword "scope", so that all variables
> can be deallocated in a right order.
>
> I found a memory leak problem accidentally, when I executed the follow
Eldar Insafutdinov wrote:
>
> You only have to use scope for top-level QObject subclasses. For anything
> else you should use auto. Nevertheless, it would be useful if you submit a
> bug report.
Even when my application is multi-thread? I am not sure, if I can declare
QPixmap also as "auto"