Cannot find module QWebView
-
wrote on 12 Mar 2022, 13:55 last edited by
Hello, i get an error when i try to use qwebengine or anything like that. If i try to add them in my .pro file i get an error telling me i dont have that module(im new to qt):
:-1: Error: Unknown module(s) in QT: webview webengine webenginewidgets
I tried to install it in the maintenance tool, it didn't work.
But the strange thing is that in designer i can find it (btw im on fedora linux 35) i can see QWebView in the list and i actually can use it but in creator i cant find it. -
Hi and welcome to devnet,
Which version of Qt would that be ?
What failed when you installed QtWebEngine ? -
Hi and welcome to devnet,
Which version of Qt would that be ?
What failed when you installed QtWebEngine ?wrote on 13 Mar 2022, 09:04 last edited by Linuxisgood@SGaist When i open designer it says Qt 5 Designer, In creator it says 6.2
nothing failed, it just didnt show up in creator
and if i try to open the ui file i did in designer in creator it just doesnt work, it says its QtWebView but its just blank even if i set the url, in designer it works perfectly fine -
Then it's even more important that you check which version of Qt you are using. It's seems you might be mixing Qt 5 and Qt 6 and not have a full install of one of the two.
-
Then it's even more important that you check which version of Qt you are using. It's seems you might be mixing Qt 5 and Qt 6 and not have a full install of one of the two.
wrote on 16 Mar 2022, 12:44 last edited by@SGaist Then how can i install QWebEngine for Qt 6? i alredy checked the QWebEngine on qt 6.2 in the maintanance tool
-
How are you starting designer ?
It has been integrated in Qt Creator for a long time so no real need to start an external application. -
How are you starting designer ?
It has been integrated in Qt Creator for a long time so no real need to start an external application.wrote on 18 Mar 2022, 10:34 last edited by@SGaist I just reinstalled qt and installed some QWebEngine libraries. after i had a fresh reinstall there was a Qt Designer. After i installed the Libraries there was a Qt Designer 5. Only Qt Designer 5 had thoose widgets (QWebEngine) i installed in the maintanence tool are ONLY shown in Qt Designer 5 if i launch creator from the fresh installation it sayed the version was 6.0.2 but there was No QWebEngine even though i installed it in the maintanance tool (Qt->Qt 5-> QWebEngine [Checked]) I Start designer in the menu from fedora 35.
-
@SGaist I just reinstalled qt and installed some QWebEngine libraries. after i had a fresh reinstall there was a Qt Designer. After i installed the Libraries there was a Qt Designer 5. Only Qt Designer 5 had thoose widgets (QWebEngine) i installed in the maintanence tool are ONLY shown in Qt Designer 5 if i launch creator from the fresh installation it sayed the version was 6.0.2 but there was No QWebEngine even though i installed it in the maintanance tool (Qt->Qt 5-> QWebEngine [Checked]) I Start designer in the menu from fedora 35.
wrote on 18 Mar 2022, 13:07 last edited by@Linuxisgood Wait now i noticed, i tried installing qt charts (for an other project) and i installed it and even it didnt show up (Qt cannot find module charts) I installed EVERYTHING trough the maintanance tool also qt itself but the error comes.
-
Can you test that one the command line, ensuring that you use the qmake executable that matches the Qt version that you want to use ?
-
Can you test that one the command line, ensuring that you use the qmake executable that matches the Qt version that you want to use ?
wrote on 18 Mar 2022, 20:49 last edited by@SGaist when i type QMake it says it coudnld find it, if i type qt-creator or something simellar hes asking me to install it even though i have it
-
Use the full path to the executable.
-
wrote on 19 Mar 2022, 10:01 last edited by Linuxisgood
@SGaist I Tried searching in /bin and i found qmake-qt5 i guess its qt5 and creator is 6.2. Also in the bin folder was only designer5 no creator
-
You installed Qt using the online installer. It's all in the folder where the installation happened.
-
Hello, i get an error when i try to use qwebengine or anything like that. If i try to add them in my .pro file i get an error telling me i dont have that module(im new to qt):
:-1: Error: Unknown module(s) in QT: webview webengine webenginewidgets
I tried to install it in the maintenance tool, it didn't work.
But the strange thing is that in designer i can find it (btw im on fedora linux 35) i can see QWebView in the list and i actually can use it but in creator i cant find it.wrote on 26 Mar 2022, 22:07 last edited by@Linuxisgood Do you use windows as your operating system?
-
@Linuxisgood Do you use windows as your operating system?
wrote on 3 Apr 2022, 09:35 last edited by Linuxisgood 4 Mar 2022, 09:35@gouneken No, Linux ( Fedora 35 )