g++ cannot find include files (qt3)
- by Allan
allan@allan-VirtualBox:~/blackjack_for_the_hopelessly_luckless$ make
g++ -c -pipe -g -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 advicewindow.o advicewindow.cpp
advicewindow.cpp:32:19: fatal error: QWidget: No such file or directory
compilation terminated.
make: *** [advicewindow.o] Error 1
allan@allan-VirtualBox:~/blackjack_for_the_hopelessly_luckless$
qt3 was installed using apt-get.
Header files are located in /usr/include/qt3/
Is there a g++ config file or something I need to update?
I'm new to compiling from source and not sure what to do.
Makefile was created using Qmake from project file.
Files in include directory are all lower case, should I change the code in advicewindow.cpp to qwidget.h?
Any help appreciated.
Thanks.