On the qt5 page:

cat > /etc/profile.d/qt5.sh << "EOF"
# Begin /etc/profile.d/qt5.sh

QT5DIR=/opt/qt5

pathappend $QT5DIR/bin           PATH
pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH

export QT5DIR

# End /etc/profile.d/qt5.sh
EOF

You probably need to source that before building qtwebkit.

  -- Bruce


That certainly works, as does rebooting or a new login. However, all three methods rely on a file generated when compiling qt. There's no mention of executing that file in the qt or QtWebKit documentation that I see.

It seems the documentation is missing a step like 'PATH=$PATH:/usr/bin/qt5' or the opt equivalent if that option was chosen. QtWebKit compiles for me with that step. Without, qmake isn't found, even though I use 'SAVEPATH=$PATH' and 'export PATH=$PWD/bin:$PATH.'

What am I missing?
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to