I wanted to make cross-platform software, so QT seemed like a good choice... I made a simple test proggie and I did a 'qmake -project', then a 'qmake', and finally a 'make' (as the documentation suggests)... but I get a WHOLE bunch of errors on the qt include files... (parse errors, invalid arguments, undeclared variables... anything else you can think of)... I read the install faq on www.trolltech.com and it said the problem is probably because I have 2 versions of QT installed (which I need to compile my gentoo apps)... it said to make sure qt v3 was before version 2 on the compiler path .... I've tried everything and this thing still does the same thing... can anyone help me on this one?

Have you tried tweaking the makefile to explicitly set include directories and library directories (i.e. -I /usr/qt/3/include and -L /usr/qt/3/lib)? I haven't actually had two versions installed so this is just an idea.

I just tried it, and no go... I generated the Makefile with qmake (as recommended) and searched the Makefile for $QTDIR and replaced it with /usr/qt/3 .... I looked and everything seemed fine... when I do a 'make' it does the same thing (hundreds of lines that look like this):