[Interest] QMacNativeWidget & memory management
tim at klingt.org
Mon Dec 9 13:33:25 CET 2013
trying to embed a Qt widget hierarchy into a Cocoa hierarchy, i'm
currently trying to figure out how the memory management is supposed to
i've adapted the example  to add a RedWidget to the layout. it gets
allocated in the applicationDidFinishLaunching method, but for some
reason it is never destroyed. so i wonder, is this a bug or a feature?
or more generally speaking: will the QMacNativeWidget automatically be
destroyed when its parent NSView* is destroyed? if not, what is the
preferred way to make sure that it is destroyed correctly?
thanks in advance,
More information about the Interest