I am trying to build one qml project developed by other team but when i try to build it, it build without any error but when i try to run, it gives module "QtWebKit" is not installed.
Can anyone tell me what is this error and what i need to do to resolve it?
@Naveen_D Which Qt version ?
@p3c0 Qt 5.7
@Naveen_D Well it was deprecated since Qt 5.6
About what qml project are we talking here? A QML extension plugin which internally uses QtWebkit?
QtWebkit has been removed from (IIRC) Qt 5.6 onwards and needs to be built by yourself if needed.
What system are you on?
@p3c0 oh okay, what is the solution for this ?
@raven-worx it gives error when i try to import Qtwebkit3.0 and I am working on ubuntu system
@Naveen_D As the docs says build that Qt module yourself.
With Qt 5.6 the following modules are no longer part of the release packages, but users can still build them from source
@p3c0 To build on our own what i need to do ?
@Naveen_D Clone https://github.com/qt/qtwebkit and try building. But as per the docs it requires some extra packages too. So I would suggest you to start building
Qt 5.7first and then using this as base try building webkit.
Btw. instead of trying this wouldn't it be possible to port your application to use
The official Qt repositories are at code.qt.io
Github is just a mirror.
@p3c0 ya i can port the application to use WebEngine, But i dont know how to do that since em new to this