[blfs-dev] Qtwebkit does not build with current instructions

Pierre Labastie pierre.labastie at neuf.fr
Sun Sep 20 10:58:16 PDT 2015


Hi,

When running the Qtwebkit instructions on the QT4 page, the script fails with:
-------------
Can't exec "qmake": No such file or directory at
/sources/qt4/qt-everywhere-opensource-src-4.8.7/qtwebkit-2.3.4/Tools/Scripts/webkitdirs.pm
line 1887.
Use of uninitialized value $mkspec in scalar chomp at
/sources/qt4/qt-everywhere-opensource-src-4.8.7/qtwebkit-2.3.4/Tools/Scripts/webkitdirs.pm
line 1887.
ERROR: qmake missing but required to build WebKit.
--------------
The reason is simple, qmake is not in the PATH. Since Qt4 has just been
installed in /opt/qt4 (this is the recommended location), but $PATH has
not yet ben modified.

I suggest adding PATH=$PATH:$QT4DIR/bin before the command for
building Qtwebkit. Is it OK?

Pierre


More information about the blfs-dev mailing list