Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a way to install WebEngineWidgets as dev depency in Ubuntu 14.04?
I have an app that I made with Qt and it can be run without installing Qt Creator by just installing the dev dependencies on Linux such as:
sudo apt-get install qt5-default sudo apt-get install libqt5webkit5-dev sudo apt-get install libqt5xmlpatterns5-dev
I upgraded the app from Qt 5.2 to 5.7 and now it uses QtWebEngine and QtWebEngineWidgets. My problem is that when I run qmake and make for the upgraded app I get the error message
Project ERROR: Unknown module(s) in QT: webenginewidgets
I've been trying to find a way to install webEngineWidgets as a dev dependency on Linux just like webkitWidgets but I can't seem to find a way to do it. I've read other questions like http://stackoverflow.com/questions/29088564/how-can-i-install-qtwebengine-on-ubuntu but my problem is different since I don't want to install Qt Creator.
Is there a way to install QtWebEngineWidgets as a dev dependency?
Hi and welcome to devnet,
What distribution are you using ? What version is it ?
@SGaist I am using Ubuntu 14.04 LTS
Looks like it's only available since
zestyso either you update your distribution, use the binary package (e.g. online installer) or build Qt yourself.
@SGaist thank you for this info. Would you mind telling me how did you figure it out? In case something similar like this comes up later.
14.04 is shipping a too old version of Qt. QtWebEngine is a pretty new module so for Ubuntu to get it into its official repository means that it could not be in the current either. A quick check to packages.ubuntu.com confirmed it.
[edit: Fixed link SGaist]
adutzu89 last edited by
14.04 is shipping a too old version of Qt. QtWebEngine is a pretty new module so for Ubuntu to get it into its official repository means that it could not be in the current either. A quick check to packages.ubunto.com confirmed it.
mit_cruze last edited by
@SGaist I am facing same issue in Ubuntu 18.04. Getting Error " Unknown module(s) in QT: webenginewidgets"
I am building Qt from source.
My steps are as below.
- ./configure -webengine-alsa -webengine-pulseaudio -webengine-embedded-build -webengine-icu -webengine-pepper-plugins -webengine-printing-and-pdf -webengine-proprietary-codecs -webengine-spellchecker -webengine-webrtc
- make -j4
- sudo make install
Qt Installed at /usr/local/Qt-5.7.1
Please Help !
@mit_cruze Unless I missed something, it's highly unlikely that building Qt 5.12.0 with the options you passed ended in installing it in