On Fri, Apr 04, 2008 at 07:28:19PM +0200, Andre Poenitz wrote: > > OK, there is some code to work around this in autotroll. Here are the > > relevant lines: > > > > # Kludge!! QMake has a very strange behavior. For instance, if you > > # install Qt under your $HOME and run QMake somewhere else under your > > # $HOME, it will try to be clever and produce Makefiles with relative > > # include paths. In order to avoid this, we will test QMake from a > > # temporary directory (usually /tmp). Note that this problem was only > > # observed with Qt 4. > > > > Andre', do you know about this behaviour? > > I missed the discussion so far. Under what circumstances does qmake > what?
I still don't know what the problem is, but maybe qmake -query QT_INSTALL_HEADERS qmake QMAKE_INCDIR_QT=/some/path and maybe qmake QMAKE_INCDIR_QT=`qmake -query QT_INSTALL_HEADERS` might help? Andre'