I am looking at the tutorial at
http://doc.trolltech.com/3.3/tutorial1-01.html and when i try to compile heres what happens:
klyons@nowhere:~/qttest> qmake -project
klyons@nowhere:~/qttest> qmake
klyons@nowhere:~/qttest> make
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 main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:19: error: ‘class QApplication’ has no member named ‘setMainWidget’
make: *** [main.o] Error 1
klyons@nowhere:~/qttest>
so i looked at the QApplication page at
http://doc.trolltech.com/3.3/qapplication.html and saw that it had a setMainWidget member. The only thing i can think of is maybe im using a version that is incompatible with that tutorial- i clicked "About QT" in several QT programs and i got versions ranging from like 3.3.7 to 4.x, im not sure which one im trying to compile with anyone have an idea here
