Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. webengineview
    Log in to post

    • UNSOLVED How to resolve LNK2019 error obtained after initializing the web engine and writing code to load a web page?
      QtWebEngine • qtquick documentation webengineview lnk2019 • • gouneken  

      1
      0
      Votes
      1
      Posts
      28
      Views

      No one has replied

    • UNSOLVED How to resolve LNK2019 error obtained after initializing the web engine and writing code to load a web page?
      QML and Qt Quick • documentation webengineview lnk2019 • • gouneken  

      5
      0
      Votes
      5
      Posts
      79
      Views

      @jsulm I wrote the error message
    • UNSOLVED Web Page Displays Garbled Content
      Qt WebKit • webengineview webengine qt5 • • MarkusH  

      1
      0
      Votes
      1
      Posts
      160
      Views

      No one has replied

    • UNSOLVED Missing libraries QtQuick
      QML and Qt Quick • qtquick webengineview websocket • • Matthew0x  

      5
      0
      Votes
      5
      Posts
      228
      Views

      I think that I found my answer https://wiki.qt.io/Qt_6.0.0_Modules Not supported. Thanks for help. I guess I will have to try to rollback. I wanted to write a small simple app for (for now) my own use, but the functionalities seem to be pretty restricted on Qt 6.0 then...
    • UNSOLVED Java Applet support in QWebEngine
      QtWebEngine • webengineview java webengine qt5 chromium applet • • Ryna  

      1
      0
      Votes
      1
      Posts
      199
      Views

      No one has replied

    • UNSOLVED Profile corruption when using QWebEnginePage together with WebEngineView
      QtWebEngine • webengineview chromium qwebenginepage corruption • • BogdanV  

      1
      0
      Votes
      1
      Posts
      182
      Views

      No one has replied

    • SOLVED Crash when using qml webengineview
      QtWebEngine • qml crash webengineview msvc2017 qt 5.12.0 • • convexbytes  

      2
      0
      Votes
      2
      Posts
      817
      Views

      I wrote to chromium developers, so, here is the summary It is not a crash, it is a failed debug assertion It happens if: you use webview's chromium backend (recent versions, old versions don't have this assertion) some part of you code consumes COM and that code's thread is not explicitly initializing COM via CoInitialize or CoInitializeEx My code uses a library that was not properly initializing COM in its threads before calling CoCreateInstance. Calling CoInitialize should fix my issue, but I cannot prove it until I have access to that libraries source code. What is left to be done by qt/webview team is to fix the failed assertion on "Chrome_InProcGpuThread" which is not created by user.
    • UNSOLVED Inserting QWebEngineScript on next page run time.
      QtWebEngine • webengineview webengine qt5 • • Zee_07  

      1
      0
      Votes
      1
      Posts
      371
      Views

      No one has replied

    • UNSOLVED Create plugin for WebEngineView
      QtWebEngine • plugin webengineview • • Guest  

      1
      1
      Votes
      1
      Posts
      580
      Views

      No one has replied

    • UNSOLVED QWebEngineView problems with <select> fields
      QtWebEngine • webengineview select • • l2pd  

      2
      0
      Votes
      2
      Posts
      909
      Views

      @l2pd said in QWebEngineView problems with <select> fields: I'm having this problems on a Windows 10 x64 machine. I didn't tried it on linux. Sorry I forgot to mention that I have this problems with version 5.7.0 of Qt.
    • SOLVED Disabling swipe for QWebEngineView
      QML and Qt Quick • qml qt quick webengineview swipeview swipe • • Phoenox  

      2
      0
      Votes
      2
      Posts
      1812
      Views

      First a note that SwipeView and its base type Container have gained some new members in Qt Quick Controls 2.1 in the upcoming Qt 5.8. These will help with your tasks: SwipeView::interactive Container::incrementCurrentIndex() Container::decrementCurrentIndex() For the time being, you could add the following binding as a temporary workaround until you will be able to use the new public interactive property: Binding { property: "interactive" target: swipeView.contentItem value: swipeView.currentIndex !== indexOfWebEngineView }
    • UNSOLVED QML WebEngineView doesn't play video
      General and Desktop • qml video webengineview videoplayback • • AmazingQt  

      1
      0
      Votes
      1
      Posts
      725
      Views

      No one has replied

    • SOLVED There is no way to disable back/forward navigation on Qt Quick WebEngineView
      QtWebEngine • webengine webengineview webengine qt5 • • Andriy  

      2
      0
      Votes
      2
      Posts
      1007
      Views

      The solution was simple, i was inattentive, but Web Engine Team helps me, thanks guys webView.onNavigationRequested: { if(request.navigationType === WebEngineView.BackForwardNavigation) { print("onNavigationRequested", request.url) request.action = WebEngineView.IgnoreRequest; } }
    • UNSOLVED Get an url of clicked link in WebEngineView
      QtWebEngine • qml qt5.6 webengineview • • Rapeity  

      1
      0
      Votes
      1
      Posts
      915
      Views

      No one has replied

    • UNSOLVED Loading an html file next to app on OSX
      QML and Qt Quick • webengineview webengine qt5 • • TOMATO_QT  

      1
      0
      Votes
      1
      Posts
      430
      Views

      No one has replied

    • UNSOLVED WebEngineView context menu error
      QML and Qt Quick • webengineview • • TOMATO_QT  

      2
      0
      Votes
      2
      Posts
      979
      Views

      Hi, The first report as been put on hold waiting for more input and the second state that it's been fixed for the release candidate of Qt 5.6. So it should be fixed but for 5.6 not 5.5.1
    • Two WebEngine views, with "internal" links from one to the other
      General and Desktop • webengine webengineview webengine qt5 • • MicNielsen  

      2
      0
      Votes
      2
      Posts
      775
      Views

      @MicNielsen I guess it isn't possible :(
    • WebGL local html file loading fails
      QtWebEngine • qt5 webengineview webgl local file • • Daylight  

      2
      0
      Votes
      2
      Posts
      1183
      Views

      Here are the screenshots depicting the problem:
    • WebEngineView and Network Proxy
      QML and Qt Quick • webengineview • • zizzu  

      3
      0
      Votes
      3
      Posts
      1543
      Views

      As I understand the problem with a proxy so no one decided? Thought the new firmware would fix the matter, but my proxy provider says that the problem is not on their side.
    • [SOLVED]Where does WebEngineView save cookies on OS X and how do I keep it from saving cookies?
      QtWebEngine • os x webengineview login • • Hertzy  

      5
      0
      Votes
      5
      Posts
      3594
      Views

      Disregard my previous post, cookies policy can be set in the QWebEngineProfile owned by the QWebEnginePage owned by the QWebEngineView, like this: ui->webView->page()->profile()->setPersistentCookiesPolicy(QWebEngineProfile::NoPersistentCookies); The page pointer remains the same for my purposes, at least.
    • [resolved]Post a file with qml
      QtWebEngine • webengineview post upload • • modjo756  

      4
      0
      Votes
      4
      Posts
      2262
      Views

      I use this code to resolve my problem : Rectangle { width: (tabView.width)-30 Layout.preferredHeight: 400 z:1 WebEngineView { id: webview url: "http://google.com" anchors.fill: parent } }
    • how to open the link clicked in a new tab?
      General and Desktop • webengineview • • ejos  

      6
      0
      Votes
      6
      Posts
      4272
      Views

      Below is the one I tried. Now the link opens in a new window. But how do I make it open in a new tab. I checked the link which was provided in the previous code. But as beginner, it's too much for me to understand. #include "WebEnginePage.h" WebEnginePage::WebEnginePage(QObject *parent) : QWebEnginePage(parent) { connect(this,SIGNAL(urlChanged(QUrl)),this,SLOT(loadInTab(QUrl))); } WebEnginePage::~WebEnginePage() { } void WebEnginePage::loadInTab(QUrl url) { qDebug()<<"Page : "<<url; emit pageInNewTab(url); } #include "WebEngineView.h" WebEngineView::WebEngineView(QWidget *parent) : QWebEngineView(parent) { webPage = new WebEnginePage(this); setPage(webPage); setGeometry(0,35,dw.width(),dw.height()-35); // connect(page(),SIGNAL(urlChanged(QUrl)),this,SLOT(loadInNewTab(QUrl))); connect(page(),SIGNAL(pageInNewTab(QUrl)),this,SLOT(loadInNewTab(QUrl))); hide(); connect(this, SIGNAL(loadFinished(bool)), this, SLOT(onPageLoadFinished(bool))); } void WebEngineView::onPageLoadFinished(bool value) { qDebug()<<"WebEngineView::onPageLoadFinished"; show(); emit newTab(this); } WebEngineView::~WebEngineView() { } WebEngineView *WebEngineView::createWindow(QWebEnginePage::WebWindowType type) { Q_UNUSED(type); qDebug()<<"WebEngineView::createWindow"; WebEngineView *webView = new WebEngineView(); qDebug()<<"Index : "<<++index; WebEnginePage *newWeb = new WebEnginePage(webView); webView->setAttribute(Qt::WA_DeleteOnClose, true); webView->setPage(newWeb); //webView->show(); return webView; } void WebEngineView::loadInNewTab(QUrl url) { qDebug()<<"WebEngineView "<<index<<" : "<<url; // createWindow(QWebEnginePage::WebBrowserTab); } int WebEngineView::getIndex() const { return index; } void WebEngineView::setIndex(int value) { index = value; } #include "TabWindow.h" TabWindow::TabWindow(QWidget *parent) : QMainWindow(parent) { weView = new WebEngineView(this); weView->setGeometry(0,50,dw.width(),dw.height()); loadedUrl = QUrl("http://www.google.co.in"); //weView->load(QUrl(loadedUrl)); weView->webPage->load(loadedUrl); QWidget *centralWidget = new QWidget(this); tabWidget = new QTabWidget(centralWidget); tabWidget->setTabsClosable(true); //tabWidget->setElideMode(Qt::ElideRight); tabWidget->setFixedSize(dw.width(),dw.height()); loadedUrl = QUrl("http://www.google.co.in"); tabWidget->addTab(weView,loadedUrl.host()); setCentralWidget(centralWidget); currentIndex = 0; weView->setIndex(currentIndex); //weViewNew = new WebEngineView(this); connect(weView,SIGNAL(newTab(WebEngineView&)),this,SLOT(loadNewTab(WebEngineView7))); connect(tabWidget,SIGNAL(tabCloseRequested(int)),this,SLOT(closeTab(int))); } TabWindow::~TabWindow() { } void TabWindow::closeTab(int index) { tabWidget->removeTab(index); } void TabWindow::loadNewTab(WebEngineView *webView) { //webView->show(); tabWidget->addTab(webView,webView->webPage->url().host()); //tabWidget->setCurrentIndex(currentIndex); qDebug()<<"TabWindow::loadNewTab : "; }
    • How to capture mouse events in webengineview
      General and Desktop • webengineview • • ejos  

      2
      0
      Votes
      2
      Posts
      3486
      Views

      Had the same issue. Even the topic is quite old I publish here my solution for anyone that might have this issue now. Note that I need to track the mouse, so I call setMouseTracking(true); in the constructor. class CustomWebEngineView: public QWebEngineView { public: explicit CustomWebEngineView(QWidget *parent = nullptr): QWebEngineView(parent) { QApplication::instance()->installEventFilter(this); setMouseTracking(true); } protected: bool eventFilter(QObject *object, QEvent *event) { if (object->parent() == this && event->type() == QEvent::MouseMove) { mouseMoveEvent(static_cast<QMouseEvent *>(event)); } return false; } };