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

Bruce Dubbs bruce.dubbs at gmail.com
Sun Sep 20 11:16:41 PDT 2015


Pierre Labastie wrote:
> 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?

I don't recall that being needed, but it doesn't hurt anything.  Go ahead.

   -- Bruce




More information about the blfs-dev mailing list