Have a problem when compiling a simple qt "hello- world" program.. I include qt2/qapplications.h and qt2/qpushbutton.h. The problem is that these two libs wants to include a lib called qfeatures.h wich is missing for me. I've tried to reinstall the qt-libs and severel other libs without any result. Where do I get this file(s) to make my simple hello-world program to get through the compiler??? I run Linuxkernel 2.4 and use gcc. This is the program:
#include <qt2/qapplication.h>
#include <qt2/qpushbutton.h>
int main(int argc, char* argv[]){
QApplication a(argc,argv);
QpushButton hello("Hej Andreas!!", 0);
hello.resize(100,30);
a.setManWidget(&hello);
hello.show();
return a.exec();
}
|