Hi,

I am again new to Qt world !

I have created a Helloworld Program in Qt 4.7.0 ( 32 bit windows ), using QtCreater 2.0.1.

Qt Code:
  1. #include <QtCore/QCoreApplication>
  2. #include <QtGui/QLabel>
  3.  
  4. int main(int argc, char *argv[])
  5. {
  6. QCoreApplication a(argc, argv);
  7.  
  8. QLabel label("Hello World!");
  9. label.show();
  10.  
  11. return a.exec();
  12. }
To copy to clipboard, switch view to plain text mode 

when I build this code getting the following errors,

Qt Code:
  1. main.cpp:11: undefined reference to `_imp___ZN6QLabelD1Ev'
  2.  
  3. collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode 

could anybody let me know, what I am doing wrong in this simple code ???

Thanks,
Pradeep.