How to install QtWebEngine on Ubuntu 14.04 as a developer dependency?

I have an application that I made with Qt, and it can be launched without installing Qt Creator by simply installing dev dependencies on Linux, for example:

sudo apt-get install qt5-default
sudo apt-get install libqt5webkit5-dev
sudo apt-get install libqt5xmlpatterns5-dev

I updated the application from Qt 5.2 to 5.7, and now it uses QtWebEngine and QtWebEgineWidgets. My problem is that when I run qmake and do for the updated application, I get an error

Project ERROR: Unknown module(s) in QT: webenginewidgets

I am trying to find a way to install webEngineWidgets as a dev dependency on Linux, just like webkitWidgets, but I cannot find a way to do this. I read How to install QtWebEngine on Ubuntu , but my problem is different from the fact that I do not want to install Qt Creator.

Is there a way to install QtWebEngineWidgets as a dev dependency?

+4

Source: https://habr.com/ru/post/1667050/


All Articles