Important: Please read the Qt Code of Conduct -

Linking against external QtWebKit

  • 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 Are there best practices for this ( i.e. environment variables, QtCreator settings)?

  • You have 2 QtWebKit libraries?
    add following to your .pro file:
    LIBS += /path/to/your/

    if you have only one qtwebkit lib, then the right syntax would be:
    LIBS += -L/path/where/qtwebkit/is
    LIBS += -lQtWebKit

Log in to reply