Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • 0 Votes
    8 Posts
    2k Views
    S
    @JoeCFD Where is it located in the relative /QT folder? /... like 5.12.5 , dist, Docs, Examples
  • Ambiguity in documentation description and reality of problems in practice

    Solved
    20
    0 Votes
    20 Posts
    2k Views
    R
    @JonB lucky we))) but not enough///// Coz I still have enough problems. I should have had working support for compiling QPDF* classes. But because it was built into the QWebEngine module, which now only supports x64, so now I've failed... completely... Main problem of this topic is revealed, but mine problems are still with me...
  • Qt WebEngine seems to be initialized from a plugin.

    Solved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QWebEngine Shows white screen occasionally

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    P
    @nodeepshit We are having a similar issue: https://bugreports.qt.io/browse/QTBUG-99428
  • QML WebView - Windows Woes?

    Unsolved webview
    1
    0 Votes
    1 Posts
    325 Views
    No one has replied
  • QtWebEngine in Qt 6.5 : license doubt

    Unsolved
    2
    0 Votes
    2 Posts
    340 Views
    SGaistS
    Hi, WARNING: I am not a lawyer. I would say you are correct. You should bring this to the Qt Company. This a user forum.
  • Download the files in qwebengineview (PyQt)

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    M
    @Coder91 Hi, Look at signals of QWebEngineDownloadItem and Managing Downloads at the end of this page : Simple Browser
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    125 Views
    No one has replied
  • 0 Votes
    10 Posts
    2k Views
    M
    This worked for me: web_view.page().settings().setAttribute(PySide6.QWebEngineCore.QWebEngineSettings.WebAttribute.ShowScrollBars,False)
  • Python QWebEngineView and QWebChannel

    Solved
    2
    0 Votes
    2 Posts
    789 Views
    T
    @TRIAEIOU Solved, I was missing @Slot: import sys, json from PySide6.QtCore import QObject, Slot from PySide6.QtWebChannel import QWebChannel from PySide6.QtWebEngineWidgets import QWebEngineView from PySide6.QtWidgets import QApplication class Py(QObject): @Slot(str, result=str) def msg(self, msg): print("py.msg: ", msg) return json.dumps("clicked") if __name__ == "__main__": app = QApplication(sys.argv) web = QWebEngineView() channel = QWebChannel(web) py = Py(app) channel.registerObject("py", py) web.page().setWebChannel(channel) web.setHtml(''' <html> <head> <script type="text/javascript" src="qrc:///qtwebchannel/qwebchannel.js"></script> <script type="text/javascript"> var pymsg new QWebChannel(qt.webChannelTransport, function(channel) { pymsg = function (msg, cb = Function.prototype) { channel.objects.py.msg(msg, (res) => cb(JSON.parse(res))) return false } }) </script> </head> <body> <button onclick="pymsg('button clicked', (res) => {alert(res)})">click me</button> </body> </html> ''') web.show() app.exec()
  • How can I convert html file to pdf

    Unsolved
    2
    0 Votes
    2 Posts
    356 Views
    JonBJ
    @Bhavith-C There are several ways you might do this. But if you are happy with that example code you can use it to read the HTML from a local file via a suitable URL. Where that code goes m_view->load(QUrl::fromUserInput(m_inputPath)); you should be able to change it to use QUrl QUrl::fromLocalFile(const QString &localFile) on, say, the full path to a specified local file.
  • PerformanceObserver can't go in callback

    Unsolved
    2
    0 Votes
    2 Posts
    238 Views
    R
    performance.measure No trigger
  • Multiple paths for baseUrl

    Unsolved
    1
    0 Votes
    1 Posts
    225 Views
    No one has replied
  • 0 Votes
    1 Posts
    424 Views
    No one has replied
  • Is it possible to use custom QScriptEngine in QScriptEngineView?

    Unsolved
    1
    0 Votes
    1 Posts
    146 Views
    No one has replied
  • Serial port connection

    Unsolved
    4
    0 Votes
    4 Posts
    424 Views
    JonBJ
    @Rumeysa_135 said in Serial port connection: I just wanted to use QtWebEngine as header. I'm sorry I don't know what this means. And QtWebEngine is used in widgets anyway. Either your question/use of serial port is to do with QtWebEngine (not sure how, but it's your question) or it is not and has absolutely nothing to do with web engine?
  • Broken CSS on a fresh build

    Solved
    2
    0 Votes
    2 Posts
    445 Views
    N
    I have finally found out what was the cause. In my PATH variable /usr/local/bin came before /usr/bin folder where Bison was pointing to version is 2.4, instead of /usr/bin's 2.7. Strangely QT didn't give any errors and Bison test has passed successfully with 2.4 version. After pointing to the newer 2.7 version everything worked fine.
  • QWebEngineview page rendering with stackoverflow or tripadvisor sites

    Unsolved
    1
    0 Votes
    1 Posts
    219 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Chromium version support or Chromium security patches

    Unsolved
    1
    0 Votes
    1 Posts
    180 Views
    No one has replied