QtWebKit.pc reads: Libs: -L${libdir} -lQtWebKit -L/usr/lib -L/tmp/buildd/webkit-0~svn24735/build-qt/WebKitQt/Plugins -lqtwebico -lsqlite3 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread It shouldn't contain -L/tmp/buildd/webkit-0~svn24735/build-qt/WebKitQt/Plugins -lqtwebico, because qtwebico is statically linked into QtWebKit. This is due to the following lines in WebCore/WebCore.pro: qt-port { !win32-* { LIBS += -L$$OUTPUT_DIR/WebKitQt/Plugins LIBS += -lqtwebico } I unfortunately don't know how to do this cleanly.
Maybe SUBLIBS ?