How to integrate QtWebKit or QWebEngine in QT application('unable to find module ')
-
I am not able to use browser(QtWebEngine and QtWebKit) in QT application
the problem is
"Unable to find module -"
I tried many methods to fix it
Used this link in repositories to update
https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/I have tried cloning it too
https://code.qt.io/cgit/qt-apps/qtwebbrowser.git/http://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/on the add and remove components
building
If there is any third party library please mention that too.
I am trying it since 2 days. i have tried all methods mentioned here
I have VS 2015 installed but I want to use it in QT Creator It would be fine if I can use the same QT without reinstalling in VSCodeThank You
-
Hi,
Chromium has requirements with regard to compilers that makes it not necessarily available for all variants of Qt. You should your installation content to see where the module is located. I wouldn't be surprised that it's only there for the VS2017 build.
-
👋😊
@SGaist I don't need cross platform support. I want to make it work in Windows only.
Can you say where the default location of module is ? OR any third party library for this specific purpose. I have searched but still haven't got the result.
Thank You -
I think I may have misunderstood your issue. Did you install WebEngine at all ? IIRC, it's a separate checkbox in the online installer. You may have missed it.
-
@SGaist I installed it with offline installer.
Please see the add and update components , there is QtWebEngine enabled in the question. Should we install it differently?. If we should install it differently Can't I update now without re installing the whole problem. -
There's no need to install all the versions of Qt that you did unless you plan to build for all these variations.
From memory, the Qt WebEngine module will only be available for the 64 bit 2017 Visual Studio build. Again not something Qt can do anything about, it's requirements from chromium.
-
@Thank-You said in How to integrate QtWebKit or QWebEngine in QT application('unable to find module '):
@SGaist Any third party library in your mind??
I don't follow that question.
-
@Thank-You Use Qt 64 bit 2017 Visual Studio build as @SGaist already said.