Quote Originally Posted by yop
Could you please elaborate more on that? What would be a better way? I'm relying heavily in QTDIR, and as I can see it's still there in my Qt 4.1.0 windows installation. On my linux box I'm still with 3.3.5
I meant defining a QTDIR as "a directory which has an 'include/qt.h' file inside". This file is not present in Qt4. And it doesn't have to be present there in Qt3 too.

There is also a question what to define by a "QTDIR". The directory which holds includes? One which holds plugins? What if there are no plugins? Binaries maybe? What if they are in /usr/bin/? Mkspecs files maybe? But they can be elsewhere too...

Qt4 doesn't use "QTDIR" anymore. I guess the path is somehow hardcoded into qmake or mkspecs files.