Hi, I am not able to make a qt C++ file. When i try compiling the Hello World program, this is what I get as output.

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I. -o helloworld.o helloworld.cpp
helloworld.cpp:2:18: error: Qlabel: No such file or directory
helloworld.cpp: In function ‘int main(int, char**)’:
helloworld.cpp:7: error: ‘QLabel’ was not declared in this scope
helloworld.cpp:7: error: ‘label’ was not declared in this scope
helloworld.cpp:7: error: expected type-specifier before ‘QLabel’
helloworld.cpp:7: error: expected `;' before ‘QLabel’
make: *** [helloworld.o] Error 1

Any helps?

ls /usr/lib | grep qt command gives me the following output:

libstrigiqtdbusclient.so.0.5.11
qt3
qt4

ls /usr/lib/qt4 gives me:
demos examples plugins

and
ls /usr/lib/qt3 gives me:
bin doc etc include lib mkspecs phrasebooks plugins templates translations

ls /usr/lib/qt3/bin gives me:
assistant findtr lrelease mergetr msg2qm qm2ts qt20fix qtrename140
designer linguist lupdate moc qconfig qmake qtconfig uic

The project file is being created and the above error comes only when running make. Any help would be appreciated.


Thanks in advance