[Qt-interest] Where to create widgets, on stack or heap ?
elizabeta petreska
elizabeta.petreska at gmail.com
Sat Sep 12 21:03:23 CEST 2009
Hello
I read somewhere that is not safe to create widgets on stack, not even for
modal dialogs, and that the widgets should always be created on heap. Is
this correct practice to follow and if yes why?
And in what circumstances is not safe to create modal dialogs in stack?
Thanks for your time
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090912/c9261ee0/attachment.html
More information about the Qt-interest-old
mailing list