Hi,

I'd like to know how to copile a simple QT program such as the one below using minGW command line. I've never used command line before and I'm very new to Qt.
More specifically:
1. Do I need to make a "hello.pro" file and subsequently a "makefile" (with qmake) for
this simple project
2. How do you then use command line? What do you type in?
When I do C:\Qt\4.3.2\myfolder> g++ -c hello.cpp
the copiler complains just about every Qt-related stuff in the program.
I don't know how to compile things that are not pure C++ and involve linking more
than one file (especially if the file is a makefile).

// hello.cpp
#include <QApplication>
#include <QPushButton>

int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QPushButton hello("Hello");
hello.show();
return app.exec();
}