Project error unknown module s in qt webenginewidgets

Hi fellow developers, I'm using Windows 7 and just installed QT 5.7 from the online installer. I checked that webengine is ticked at the installation process. Nonetheless I m unable to run the webengine examples with the error message "Unknown module(s) i...

Forum Updated on Feb 6th

This topic has been deleted. Only users with topic management privileges can see it.

  • Hi fellow developers,

    I’m using Windows 7 and just installed QT 5.7 from the online installer. I checked that webengine is ticked at the installation process. Nonetheless I m unable to run the webengine examples with the error message «Unknown module(s) in QT: webengine».
    What am I missing?

  • Add webengine to the project .pro file
    Example:

    • QT += webengine
    • or append webengine to the list of QT values in .pro file

    Also in main.cpp file add QtWebEngine::initialize(); after QGuiApplication app(argc, argv);

  • So when I start the «simplebrowser» example project with 5.7.0 Mingw KIT, then I get these output error messages:
    10:51:40: Running steps for project simplebrowser…
    10:51:40: Starting: «C:Qt5.7mingw53_32binqmake.exe» C:QtExamplesQt-5.7webenginewidgetssimplebrowsersimplebrowser.pro -spec win32-g++ «CONFIG+=debug» «CONFIG+=qml_debug»
    Project ERROR: Unknown module(s) in QT: webenginewidgets
    10:51:41: The process «C:Qt5.7mingw53_32binqmake.exe» exited with code 3.
    Error while building/deploying project simplebrowser (kit: Desktop Qt 5.7.0 MinGW 32bit)
    When executing step «qmake»

    If I try to change the KIT to MSVC 2013 or 2015 I get this:
    Error while building/deploying project simplebrowser (kit: Desktop Qt 5.7.0 MSVC2015 32bit)
    When executing step «qmake»

    I shifted to Windows 10 and the problem still occurs.

  • I don’t believe QWebEngine is installed by default. Go to your Qt installation folder and run the Qt Maintenance tool. Select the option to ‘Add or remove components’ and click next. If you expand the the tree for your Qt version (e.g. Qt 5.7) you should see a component called «Qt WebEngine» in the list. Make sure that is checked and click next to install it if required.

  • @aatwo Thanks for reply! Although as I stated the webengine is checked and installed. I have tried installing under linux also but with the same result!

  • Hi and welcome to devnet,

    QtWebEngine is only available for Visual Studio 2013 and 2015.

    When you say: «change the Kit», do you mean you installed Qt for either VS2013 and VS2015 ?

  • @SGaist Yes I installed the for VS2013 and 2015 also. I’m also installed VS2015 application, but after the QT.

  • @magiclevinho When I go to the Projects tab -> manage kits, then for the msvc 2015 it says no compiler set. How can I set a compiler?

  • @magiclevinho

    • «C:Qt5.7mingw53_32bin»

    Just so we are very clear on this.
    The Qt Vs201X kits do NOT work with mingw.
    You must also download the full vs 2013 or 2015 COMPILER from microsoft
    and switch to that full compiler. So Besides the Qt kits, you should also have installed
    the actual compiler. as its not included same way as mingw kit.
    (its not allowed)

  • @mrjj Thanky for the reply! I had to make my first c++ project in VS 2015 and it installed the neccessary compiler!

  • So you have it all working now ?

  • After some time I found this information, which does not seem to be published elsewhere:

    «MSVC2013 is not supported anymore in Qt WebEngine»
    Source: https://bugreports.qt.io/browse/QTBUG-56299

    And while I am at it (it took me some time to find this link):
    https://www.visualstudio.com/downloads/#visual-studio-community-2015-with-update-3-free

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

    Initial searching for a solution on the web shows this has been a problem for a number of years.

    QTBUG-43614 webenginewidgets examples does not build on Windows
    https://bugreports.qt.io/browse/QTBUG-43614
    QTBUG-44108 webenginewidgets examples does not build on Windows (second try)
    https://bugreports.qt.io/browse/QTBUG-44108

    Both of the above QTBUG items are marked as closed. Obviously they are not.

    Yes..I have QT += webenginewidgets set in the .pro file.

    Windows7 Pro SP1 32 bit OS. Creator4.2.0 Qt5.7.1. from this download..

    qt-opensource-windows-x86-mingw530-5.7.1

    The exact same project built on OSX using Creator4.2.0 Qt5.7.1. compiles and runs properly.

    Do I need to download and install BS compilers from Microsoft to get this to work? If so, do I need a different Qt download in order to use the MSBS compilers??

    Do I need to upgrade to a different OS..Win8 or Win10? Or Maybe Win7 Pro 64 bit??

    Is there a solution for Windows7 Pro SP1 32 bit OS??

  • The QtWebEngine platform notes explain what is needed to build the module.

    QtWebEngine is using the Chromium project as backend so it depends on what platform they support. If you would like to have a MinGW build of QtWebEngine then you should rather push this to the Chromium project.

    On a side note, there’s @Konstantin-Tokarev QtWebKit reboot project that might interest you.

  • Note that we provide QtWebKit TP5 binaries compatible with official Qt 5.8.0 MinGW build: https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5

  • @SGaist

    Thx for the reply. I made a mistake downloading the open source install.
    I am now using: qt-unified-windows-x86-2.0.5-online.exe…and have a current Commercial License for Application Development..all handheld and desktop environments are covered.

    I tried installing Qt5.7.1 for MinGW but there were no QtWebEngine libraries.
    I tried installing Qt5.7.1 for MSVC2015 and it had the QtWebEngine libraries, but no compiler.

    I am now re-installing 5.8, 5.7, and 5.6. Maybe one of those will have the libraries I need.

  • @Konstantin-Tokarev

    Thx for the heads up.

    Are the 5.8/Webkit binaries also available for MacOS-clang64 environments?

  • @PSI_lbc Yeah, see the same link. Also there are binaries for 64-bit Linux and VS 2015 (both 32-bit and 64-bit)

  • @Konstantin-Tokarev
    Thank you for all your work. its a huge task for a beginner to build webkit so your project
    is very welcome.

  • @mrjj As for these binary packages, credits go to CI infrastructure of The Qt Company, and personally to Simon Hausmann who helped a lot with integration of new QtWebKit’s build system into Coin.

    Also credits go to Vitaly Slobodin and other contributors of revived QtWebKit, who contributed lots of patches enhancing Windows and macOS support. Without them, it could happen that only Linux would be supported.

  • Home
  • Forum
  • Qt
  • Qt Programming
  • Project ERROR: Unknown module(s) in QT: webenginewidgets

  1. Default Project ERROR: Unknown module(s) in QT: webenginewidgets

    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


  2. Default Re: Project ERROR: Unknown module(s) in QT: webenginewidgets

    And it should not be like this :

    1. Qt+=webengine widgets

    To copy to clipboard, switch view to plain text mode 


  3. Default Re: Project ERROR: Unknown module(s) in QT: webenginewidgets

    Thanks for reply..

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

    am getting the same error..


  4. Default Re: Project ERROR: Unknown module(s) in QT: webenginewidgets

    OK, Qt += webenginewidgets is correct. It turns out that you do not have this module installed.


  5. Default Re: Project ERROR: Unknown module(s) in QT: webenginewidgets

    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

    Last edited by mandlakoteswar2011; 5th April 2018 at 09:35.

    Reason: updated contents


Similar Threads

  1. Replies: 1

    Last Post: 9th August 2015, 14:17

  2. Replies: 3

    Last Post: 5th September 2014, 13:58

  3. Replies: 0

    Last Post: 4th December 2013, 06:56

  4. Replies: 2

    Last Post: 15th March 2013, 15:56

  5. Replies: 4

    Last Post: 11th March 2013, 22:54

Bookmarks

Bookmarks


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules

Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.

7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

1

17.07.2016, 11:32. Показов 17810. Ответов 33


Доброго времени суток. переходя на 5.7 узнал печальную вещь что WebKit признан устаревшим и на замену ему пришёл WebEngine. Начав копать в ту сторону узнал какой модуль нужен именно мн, но при попытке подключения и компиляции qt начинает ругаться что не знает что это за модуль. Предположив что мои руки произрастают не совсем из правильного места решил загрузить пример и проверить будет ли он работать. При компиляции примера выскочила такая же ошибка. WebEngine приватный модуль ?? Если нет то в чем проблема. Объясните пожалуйста. Заранее спасибо.

Добавлено через 13 секунд
Project ERROR: Unknown module(s) in QT: webenginewidgets

Добавлено через 37 минут
Нашёл в файлах webenginewidgets.pro. Открыл и попытался его скомпилировать.
Выдал ошибку того что не может найти модуль webenginecore

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



1442 / 1323 / 131

Регистрация: 20.03.2009

Сообщений: 4,689

Записей в блоге: 11

17.07.2016, 12:03

2

Поставь из инсталлера.



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

17.07.2016, 13:13

 [ТС]

3

Цитата
Сообщение от Dmitriy_M
Посмотреть сообщение

Поставь из инсталлера.

Из чего прости ? Ты имел ввиду из выпуска ? Всё равно такая же ошибка. Если нет, объясни пожалуйста что ты имел ввиду



0



1067 / 649 / 229

Регистрация: 14.01.2016

Сообщений: 2,031

Записей в блоге: 9

17.07.2016, 20:33

4

Цитата
Сообщение от Wolf_Lone
Посмотреть сообщение

Из чего прости ? Ты имел ввиду из выпуска ? Всё равно такая же ошибка. Если нет, объясни пожалуйста что ты имел ввиду

Онлайн или оффлайн-инсталлятор.
https://www.qt.io/ru/download-… #section-2



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

17.07.2016, 23:45

5

Цитата
Сообщение от Wolf_Lone
Посмотреть сообщение

Если нет, объясни пожалуйста что ты имел ввиду

Скорее всего криво установил, переустанови ….



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

18.07.2016, 21:45

 [ТС]

6

Цитата
Сообщение от Avazart
Посмотреть сообщение

Скорее всего криво установил, переустанови ….

Ок, попробую переставить. О результатах отпишусь

Добавлено через 1 час 25 минут
Переустановил, всё так же не видит его (((



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

18.07.2016, 21:49

7

А другие модули?



0



7275 / 6220 / 2833

Регистрация: 14.04.2014

Сообщений: 26,871

18.07.2016, 21:58

8

Ты webenginewidgets дописал в pro-файл?



0



Wolf_Lone

7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

19.07.2016, 20:06

 [ТС]

9

Цитата
Сообщение от nmcf
Посмотреть сообщение

Ты webenginewidgets дописал в pro-файл?

А куда его ещё подключать?) Насколько знаю в начале нужно подключить в .pro а потом уже в .h или .cpp

Цитата
Сообщение от Avazart
Посмотреть сообщение

А другие модули?

модуль интернета(network) пашет.

C++ (Qt)
1
2
3
4
5
6
7
8
9
10
QT       += core gui network webenginewidgets
 
# webkit webkitwidgets
# webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 
TARGET = Wolf
TEMPLATE = app
 
QMAKE_LFLAGS_RELEASE += -static -static-libgcc



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

19.07.2016, 20:59

10

Цитата
Сообщение от Wolf_Lone
Посмотреть сообщение

модуль интернета(network) пашет.

Странно…
Стоит посмотреть есть ли вообще от webenginewidgets dll- ка в папках Qt.



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

19.07.2016, 21:36

 [ТС]

11

Цитата
Сообщение от Avazart
Посмотреть сообщение

Стоит посмотреть есть ли вообще от webenginewidgets dll- ка в папках Qt.

Это .dll или .h ?

Добавлено через 3 минуты
Поиск не показал .dll



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

19.07.2016, 21:58

12

Цитата
Сообщение от Wolf_Lone
Посмотреть сообщение

Поиск не показал .dll

Значит криво установил …
Или вообще что-то не то ставишь, не то делаешь…



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

19.07.2016, 22:02

 [ТС]

13

Это оно ?
Qt5WebEngineWidgets.dll

Добавлено через 2 минуты
все .dll связанные с webengine есть
Но он их не видит ((



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

19.07.2016, 22:14

14

Цитата
Сообщение от Wolf_Lone
Посмотреть сообщение

Но он их не видит ((

Значит проблема в руках…



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

19.07.2016, 22:18

 [ТС]

15

Цитата
Сообщение от Avazart
Посмотреть сообщение

Значит проблема в руках…

БЛ… Как можно что-то криво подключить или установить когда в одном случае копипаст, в другом автоматика. да да, готово.



2



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

21.07.2016, 21:41

 [ТС]

16

Принимая тот факт что при установке тоже можно накасячить. вот скрин того какие модули устанавливаются. Всё ли правильно ????

Кликните здесь для просмотра всего текста

Qt не видит WebEngine



0



Pied Piper

236 / 227 / 57

Регистрация: 15.01.2013

Сообщений: 855

21.07.2016, 22:33

17

ставь)



0



Эксперт С++

8385 / 6147 / 615

Регистрация: 10.12.2010

Сообщений: 28,683

Записей в блоге: 30

21.07.2016, 23:00

18

Ну мне не понятно почему выделены разные версии 5.7 и 5.5 и еще разные компиляторы MSVC и MinGW.
Хотя из картинки мало что понятно.



0



7 / 7 / 0

Регистрация: 08.10.2015

Сообщений: 126

23.07.2016, 11:02

 [ТС]

19

Цитата
Сообщение от ArmanPrestige
Посмотреть сообщение

ставь)

Это и так установлено

Цитата
Сообщение от Avazart
Посмотреть сообщение

Ну мне не понятно почему выделены разные версии 5.7 и 5.5 и еще разные компиляторы MSVC и MinGW.

5.5 потому что на ней ещё остались проекты которые пока что не переведены на 5.7
Компиляторы для сборки статических сборок

Добавлено через 39 секунд
Лучше скажи, всё верно установлено или я что-то забыл из-за чего QT не видит модуль ?

Добавлено через 15 часов 15 минут
И тишина… Ладненько. И на этом спасибо ^^



0



7275 / 6220 / 2833

Регистрация: 14.04.2014

Сообщений: 26,871

23.07.2016, 12:38

20

А откуда это дерево с флажками?



0



Автор Тема: [НЕ РЕШЕНО]Qt 5.6 — C++ браузер отсутствует?  (Прочитано 30572 раз)
Bepec

Гость


Я так понимаю, что Qt полностью сказало «Нет» браузеру с C++ обёрткой и всё перевело на QtQuick?

Ну или ткните меня носом в документацию, анонс или прочий документ, ибо в Qt 5.6 отсутствует виджет браузера, и везде предлагается переходить на QtQuick.

PS то ли я окончательно ослеп, то ли сошёл с ума.

Поддержки mingw + Windows в QWebEngine нет.

« Последнее редактирование: Июнь 17, 2016, 15:27 от Bepec »
Записан
Bepec

Гость


Ну проблема в том, что такого модуля просто нет в сборке и в исходниках :/
Есть только html описание в справке. А вот исходников и бинарников нет.
Да, обновлялся буквально только что с помощью maintenance. Тупо нет, Сreator свистит(правильно свистит), что

:-1: ошибка: Unknown module(s) in QT: webenginewidgets

Нет даже файла объявления.
Слово QWebEngineView встречается только в каталоге Example и документации (поиск по нахождению слов в файлах), т.е. его даже в dll нет как экспортируемой функции.

Примеры соответственно тоже не собираются и плюются «not found»‘ами. Потому я в замешательстве, что такое творится.

PS замешательство не мешает мне поставить 4.7.2 и делать проект, но… Но мляха муха должен же быть браузер в пятерке!!!


Записан
Bepec

Гость


Так исходников нет, с чего собирать то?

Исходники лежат отдельно от исходников Qt (О_о). Во вторых сборка под Windows только под студией, судя из описания. В бинарной сборке mingw модуля просто нет…
Хрень какая то в общем творится с поддержкой и сборками.

[sarcasm]Это тень гребаных линуксоидов, которым только собирать да билдить хочется всё время![/sarcasm]

« Последнее редактирование: Июнь 16, 2016, 15:27 от Bepec »
Записан
GreatSnake

Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2921

Просмотр профиля


[sarcasm]Это тень гребаных линуксоидов, которым только собирать да билдить хочется всё время![/sarcasm]

Неуместен, т.к. Qt WebEngine Core основывается на билдах Chromium, который под mingw не собирается.
Переходи на VS2015, благо бесплатный и уже довольно неплох.


Записан

Qt 5.11/4.8.7 (X11/Win)

Bepec

Гость


Боюсь переходить, ибо старые проекты на VS2008, текущие под creator, новые будут под 2015. Улыбающийся


Записан
Отражение луны

Гость


Все ок же работает. Webengine надо поставить с помощью qtшного инсталятора (да, придется отказаться от minGW и выбирать компоненты, собранные мелкософтовским компилером), собирать ничего не нужно.
QT+=webenginewidgets и поехали.
А вот QtQuick он как раз каким-то боком крашит.


Записан
Bepec

Гость


Самое весёлое что он,если верить инсталлятору, у меня он стоит. А на деле нету. Вот и пойми эту тарантайку.


Записан
Отражение луны

Гость


Очень странно. Под линуксом завелось с полпинка.


Записан
Bepec

Гость


Ну так и под студией заведётся, я думаю. А вот mingw под Windows не заводится Веселый Ладно, плюнем.


Записан
Отражение луны

Гость


Ясно же написано, что только под майкрософтовский компиль)
Shouganai как говорится.


Записан
Bepec

Гость


Та я уже плюнул Улыбающийся Решения как я написал выше — тупо нет для mingw под windows Веселый

Shouganai перевод с гугла — «s после того, как рак печени». WTF?

« Последнее редактирование: Июнь 17, 2016, 22:08 от Bepec »
Записан
Racheengel

Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2679

Я работал с дискетам 5.25 :(

Просмотр профиля


Та я уже плюнул Улыбающийся Решения как я написал выше — тупо нет для mingw под windows Веселый

Shouganai перевод с гугла — «s после того, как рак печени». WTF?

 Наверно, тому, у которго есть рак печени, уже никакой браузер будет не нужен Грустный


Записан

What is the 11 in the C++11? It’s the number of feet they glued to C++ trying to obtain a better octopus.

COVID не волк, в лес не уйдёт

Bepec

Гость


меня s в начале настораживает.


Записан

Понравилась статья? Поделить с друзьями:
  • Project error unknown module s in qt serialport
  • Project error unknown module s in qt pdf
  • Project error unknown module s in qt declarative
  • Project error unknown module s in qt core gui quick
  • Project error unknown module s in qt core gui network widgets