[Qt-interest] problem in building git version

Thiago Macieira thiago at kde.org
Tue Mar 9 07:13:09 CET 2010


Em Segunda-feira 8. Março 2010, às 23.51.28, Lorenzo Bettini escreveu:
> Hi
> 
> when trying to build the 4.7 git version of qt, after running configure
> (in a shadow build directory) I get this error
> 
> cd src/tools/moc/ && make -f Makefile
> make[1]: Entering directory
> `/home/bettini/install/qt-git/build/src/tools/moc'
> qmake
> QMAKE_ABSOLUTE_SOURCE_PATH=/home/bettini/install/qt-git/qt/src/tools/moc
> -spec /home/bettini/install/qt-git/qt/mkspecs/linux-g++ -o Makefile
> /home/bettini/install/qt-git/qt/src/tools/moc/moc.pro
> /home/bettini/install/qt-git/build/.qmake.cache:2: Unknown replace
> function: quote
> /home/bettini/install/qt-git/build/.qmake.cache:3: Unknown replace
> function: quote
> Project LOAD(): Feature qt_config cannot be found.
> make[1]: *** [Makefile] Error 3
> make[1]: Leaving directory
> `/home/bettini/install/qt-git/build/src/tools/moc'
> make: *** [sub-moc-make_default-ordered] Error 2
> 
> is it a known issue?

Yes. Note how it ran the "qmake" command, instead of the full path to the 
qmake that you've just built.

Please ensure you're building the 4.7 branch, not the master branch. The 
master branch has been frozen for two weeks to ensure people switch properly 
to the 4.7 one. And this bug is known in master, but is fixed in 4.7. 
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100309/adef0af0/attachment.bin 


More information about the Qt-interest-old mailing list