Quote Originally Posted by ct
In such case does QT takes care of freeing the memory..or we have to manually free up all the memory taken by the object ..
Qt will delete only objects derived from QObject that have a parent and only if their parent gets deleted.