OS: WINXP
Compiler: MINGW 4.1.1
QT: QT 4.1.1

Hello everybody,
Its really time to make a important step in my live...jump from qt3 to 4

I have read some docs and tried tutorials..
I have a question about using designer in the right steps:

1. I have created a widget, connection in the designer and save it "test1.ui"
2. I have created by hand a "test1.pro":
Qt Code:
  1. TEMPLATE = app
  2. FORMS = test1.ui
  3. SOURCES = main.cpp
To copy to clipboard, switch view to plain text mode 

3. I have created a main.cpp:
Qt Code:
  1. #include "ui_test1.h"
  2. #include <QApplication>
  3.  
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7. QApplication app(argc, argv);
  8. QDialog *window = new QDialog;
  9. Ui::Dialog ui;
  10. ui.setupUi(window);
  11.  
  12. window->show();
  13. return app.exec();
  14. }
To copy to clipboard, switch view to plain text mode 

4. compile and get exe file

My Question: how to get a cpp file to implement my functions?And are my steps correct?Have i to create by hand the cpp? Its right that if i include "ui_test.h" in main.cpp the file will created?Have i to create the main.cpp by hand?

I want to use the designer to design my app