I am using Qt Creator 4.14.0 running on a Windows 10 machine. I have created my first application by selecting File ->New File or Project -> Application Qt -> Qt Widgets Application. When I open up MainWindow.ui which activates the graphical editor, I right click on central widget so that I can set the layout to vertical. That's what the book I am using instructs. But on doing so, there is no option for changing the layout.
How does one use the editor to set the layout on the central widget?
while there is no widget in a widget you can not set the layout from the designer. immediately after your add the first widget, the layout button will be enabled. and after setting the layout you can remove the added widget and have an empty mainwindow with the layout.