g++ -c -pipe -fno-strict-aliasing -g -fPIC -Wall -W -D_REENTRANT -DHAVE_CONFIG_H -DQSDEBUGGER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DHAVE_CONFIG_H -DQSDEBUGGER -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I../engine -I../../tools/designer/editor -I../kernel -I. -I../engine -I/usr/lib/qt3/tools/designer/interfaces -I. -I. -o qsproject.o qsproject.cpp
In file included from qsinterpreter.h:33,
                 from qsproject.cpp:30:
qsproject.h:35:25: error: qobjectlist.h: No such file or directory

Seems like include paths are not QT specific (-I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui).
Martin should look at it...
--
Michal Hocko