I have a little confusion here.

If I want to have SDI application, does it mean that all I have to do is the following?:
Qt Code:
  1. MainWindow w;
  2. w.show();
To copy to clipboard, switch view to plain text mode 

So by doing the above code does it mean that I have a true SDI application with "document/view" architecture?

I did take a look at example here http://doc.qt.io/qt-5/qtwidgets-main...-main-cpp.html
And it seems that they are doing more checking/manual (i.e. code) addition of widgets, but it seems that its pretty much same as my code above, to initiate the SDi appllication.

Or for example, in QtCreator, if I start new project, and choose a QMainWindow as a starting class, does it mean that I just created the base SDI application?

(I'mvery new to Qt)