keefaz it didnt work
hrmm... i tried something new:
#include </usr/lib/qt-3.2.1/include/qwidget.h>
#include </usr/lib/qt-3.2.1/include/qpushbutton.h>
#include </usr/lib/qt-3.2.1/include/qapplication.h>
i typed out the path toe the headers and i get something new:
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o helloworld.o helloworld.
cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qwidget.o /usr/lib/q
t-3.2.1/include/moc_qwidget.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qpushbutton.o /usr/l
ib/qt-3.2.1/include/moc_qpushbutton.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qapplication.o /usr/
lib/qt-3.2.1/include/moc_qapplication.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qobject.o /usr/lib/q
t-3.2.1/include/moc_qobject.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qbutton.o /usr/lib/q
t-3.2.1/include/moc_qbutton.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qdesktopwidget.o /us
r/lib/qt-3.2.1/include/moc_qdesktopwidget.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qtranslator.o /usr/l
ib/qt-3.2.1/include/moc_qtranslator.cpp
g++ -o qt helloworld.o moc_qwidget.o moc_qpushbutton.o moc_qapplicati
on.o moc_qobject.o moc_qbutton.o moc_qdesktopwidget.o moc_qtranslator.
o -L/usr/X11R6/lib -lXext -lX11 -lm
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o helloworld.o helloworld.
cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qwidget.o /usr/lib/q
t-3.2.1/include/moc_qwidget.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qpushbutton.o /usr/l
ib/qt-3.2.1/include/moc_qpushbutton.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qapplication.o /usr/
lib/qt-3.2.1/include/moc_qapplication.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qobject.o /usr/lib/q
t-3.2.1/include/moc_qobject.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qbutton.o /usr/lib/q
t-3.2.1/include/moc_qbutton.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qdesktopwidget.o /us
r/lib/qt-3.2.1/include/moc_qdesktopwidget.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt-3.2.1/mkspecs/d
efault -I. -I. -I/usr/lib/qt-3.2.1/include -o moc_qtranslator.o /usr/l
ib/qt-3.2.1/include/moc_qtranslator.cpp
g++ -o qt helloworld.o moc_qwidget.o moc_qpushbutton.o moc_qapplicati
on.o moc_qobject.o moc_qbutton.o moc_qdesktopwidget.o moc_qtranslator.
o -L/usr/X11R6/lib -lXext -lX11 -lm
but i still get the error
and also some strange files appear in the directory i compiled helloworld in:
moc_qapplication.o
moc_qbutton.o
moc_qdesktopwidget.o
moc_qobject.o
moc_qpushbutton.o
moc_qtranslator.o
moc_qwidget.o
any suggestions?