How to choose a new Form in Qt creator
I'm reading this tutorial. It speaks about choosing a new Form from the MainWindow template. But there isn't the so-called new Form and MainWinodw template on my Qt creator 3.6.0 IDE.
I even searched the web for it.
I should have a great thankful for the designers of Qt documentations that have made such a simple and straightforward way of learning Qt!
Whenever I use those documentations I will be more regretful about choosing Qt for programming.
There is. Select from the menu: File > New File or Project ...
This will produce a dialog like this one:
Choose Qt and Qt Designer Form, click on the Choose ... button and then follow the wizard.
Thank you very much for both your help and kind words you used. :-)
All the best.
I completed this. It's here.
But how to make it run (not Preview mode), please?
The Run and Build buttons on Designer are grayed out.
hi @tomy ,
It s the same how you run other Qt projects . Click on edit and run it.
Hi dear Ni.Sumi,
I'd run the projects using CTRL+R or clicking on the green triangle located on the bottom left side.
Did you mean the "Edit" menu?
Anyway, all the Build and Debug buttons are grayed out as well (please look the screenshot).
Please have a look at the tutorial I pointed to in my first post of this thread.
The Form can be run only in Preview. Now we have only .ui file, but I think using qmake commands and creating .cpp, .h and .pro files we can run it normally. But how to do these? This is what I don't know and like to learn.
I fell into the same hole here ..
I prefer, to make ui along with class and header. It makes very easy in future to handle the ui objects , functions related to it in another class. Direct access of ui elements in other separate class causes many problems.
If you want to ui, diorectly in your application. Read this. its very simple
@eureka post is also similar, ...adding ui, header and c++ file manually,