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 myApplication.pro? 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/qtwebkit.so
@if you have only one qtwebkit lib, then the right syntax would be:
@
LIBS += -L/path/where/qtwebkit/is
LIBS += -lQtWebKit
@