Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Linking against external QtWebKit
svenyonson last edited by
I am creating a Qt application using the latest QtWebKit sources (git), and so I'm not using the QtWebKit that comes with Qt5. How do I reference the external QtWebKit libraries in myApplication.pro? Are there best practices for this ( i.e. environment variables, QtCreator settings)?
AcerExtensa last edited by
You have 2 QtWebKit libraries?
add following to your .pro file:
LIBS += /path/to/your/qtwebkit.so
if you have only one qtwebkit lib, then the right syntax would be:
LIBS += -L/path/where/qtwebkit/is
LIBS += -lQtWebKit