I just installed trolltech Qt4 for X11 and I'm having som problems from the start.
When trying to compile my litle helloworld program as shown in the toturial the 'make' program returns an error message
line 1&2 is
#include <QApplication>
#include <QPushButton>
this is after I have succsessfully ran: qmake -project & qmake
I'm wondering if I've missed something during the installation.
I've put the PATH thing in /root/.profile (is that the right place?)
I haven't found somewhere to type my codes yet either, I'm using kate now. I have found the form Designer and the Assistant but not a code editor.
If someone here can help me out I would be a much happier guy.
When trying to compile my litle helloworld program as shown in the toturial the 'make' program returns an error message
Code:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o hello.o hello.cpp hello.cpp:1:28: error: QApplication: No such file or directory hello.cpp:2:27: error: QPushButton: No such file or directory
#include <QApplication>
#include <QPushButton>
this is after I have succsessfully ran: qmake -project & qmake
I'm wondering if I've missed something during the installation.
I've put the PATH thing in /root/.profile (is that the right place?)
I haven't found somewhere to type my codes yet either, I'm using kate now. I have found the form Designer and the Assistant but not a code editor.
If someone here can help me out I would be a much happier guy.
Comment