PDA

View Full Version : Project ERROR: Unknown module(s) in QT: webenginewidgets



mandlakoteswar2011
4th April 2018, 15:09
Hi All,

Am getting this error in Qt 5.10.1 ===========>Project ERROR: Unknown module(s) in QT: webenginewidgets"

I added in .pro file Qt+=webenginewidgets but still am getting this error.

can you please give some direction regarding this issue.

Thanks

Lesiok
4th April 2018, 15:30
And it should not be like this :
Qt+=webengine widgets

mandlakoteswar2011
4th April 2018, 15:44
Thanks for reply..

if i included same statement in .pro file =>Qt+=webengine widgets

am getting the same error..

Lesiok
4th April 2018, 17:25
OK, Qt += webenginewidgets is correct. It turns out that you do not have this module installed.

mandlakoteswar2011
5th April 2018, 08:09
Hi

Thanks for your reply.

I did Qt 5.10.1 configuration below steps. using qt-everywhere-opensouce-5.10.1.tar.xz..

Please let me know if i anything missed

sudo apt-get install bison build-essential gperf flex ruby python libasound2-dev libbz2-dev libcap-dev \
libcups2-dev libdrm-dev libegl1-mesa-dev libgcrypt11-dev libnss3-dev libpci-dev libpulse-dev libudev-dev \
libxtst-dev gyp ninja-build

I Configured QtWebengine module ===> ./configure -webengine-pulseaudio -webengine-alsa -webengine-embedded-build -webengine-pepper-plugins -webengine-proprietary-codecs -webengine-spellchecker -webengine-webrtc

make
make install

and then am added in .pro file QT += webenginewidgets

finally am getting this below error

/usr/local/Qt-5.10.1/mkspecs/features/toolchain.prf(69): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Output:
===================
===================
Maybe you forgot to setup the environment?
Error while parsing file /home/koteswar/Desktop/CatDecoder/CatDecoder.pro. Giving up.
Warnings while parsing QML type information of /usr/local/Qt-5.10.1/qml:
/usr/local/Qt-5.10.1/qml/builtins.qmltypes:1:24: Reading only version 1.1 parts.
/usr/local/Qt-5.10.1/qml/builtins.qmltypes:10:5: Expected only Component and ModuleApi object definitions.

can you please give me the some direction...?


Thanks