Not if you don't explicitly link against the relevant modules. That is usually done by adding a few entries in the Qt project file (qmake) and then including the headers.
http://doc.qt.io/qt-5/qtwebenginecore-module.html http://doc.qt.io/qt-5/qtwebenginewidgets-module.html