[Qt-interest] "Failure to read QMAKESPEC conf file" in hudson

Rohan McGovern rohan.mcgovern at nokia.com
Tue Aug 3 00:14:24 CEST 2010


Rao Felix (Nokia-MS/Beijing) said:
> Hi,
> 
> I'm trying to build tests/auto/qhash in hudson. and facing the problem:
> + qmake
> Failure to read QMAKESPEC conf file /usr/local/Trolltech/Qt-4.7.0/mkspecs/linux-g++/qmake.conf.

So, does that file exist?

> Error processing project file: /var/lib/hudson/jobs/qti_test_project/workspace/tests/auto/qhash/qhash.pro
> 
> The corresponding env variables are listed below:
> export QTDIR=/usr/local/Trolltech/Qt-4.7.0
> export QTLIB=${QTDIR}/lib
> export QTINC=${QTDIR}/include
> export QMAKESPEC=$QTDIR/mkspecs/linux-g++
> export PATH=${QTDIR}/bin:$PATH

You shouldn't have to set any of these.  (Well, you have to set PATH if
and only if you want to be able to just run `qmake' without the full
path...)
-- 
Rohan McGovern
QA Engineer
Qt Development Frameworks, Nokia



More information about the Qt-interest-old mailing list