I've noticed that all the examples in the Qt documentation
create the toplevel instance of QMainWindow using the stack.
The project I'm working on creates it (in the main function) using the heap.
Regarding the missing call to delete, does it matter in this case?
Is everything still properly deleted because the program terminates?