Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • Certification client request

    1
    0 Votes
    1 Posts
    486 Views
    No one has replied
  • Qt4.8.7 + WebKit + openssl + WinCE STANDARDSDK_500 + MSVC2008 = ?

    7
    0 Votes
    7 Posts
    3k Views
    D
    Ok, Thanks! Finaly I found a way to compile QtWebKit on WinCE 5.0 (Qt 4.8.7). If anybody have the same problem, follow is the link of solution https://bugreports.qt.io/browse/QTBUG-25376 And only thing that left to do - build all this whith openssl support! is anybody have sucsessfull builded Qt 4.x on WinCe 5.0 whith openssl support?
  • Trying to get SSL_CTX from QNetworkAccessManager

    2
    0 Votes
    2 Posts
    787 Views
    K
    QNetworkAccessManager is mostly following "ship in the bottle" pattern, i.e. it does not allow you to get access to implementation details like OpenSSL to extend its functionality (unlike e.g. libcurl) So you'll have to make a patch for QNetworkAccessManager exposing this in public API. This may also include providing implementation for SecureTransport on Apple platforms.
  • Qt webkit (webview) client certificate

    8
    0 Votes
    8 Posts
    3k Views
    K
    CA certificates need to be added for 2 purposes: Your system does not have CA bundle in a place that can be automatically discovered by Qt, so you have to provide it manually You need to access servers with certificates signed by your own CA or some other CA which is not validated by one of "well-known" CA's included in such bundles
  • Protocol “” is unknown

    2
    0 Votes
    2 Posts
    2k Views
    K
    @Sasa-Friedrich Could you provide example page which misbehaves?
  • WebView not loading after fail first

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    K
    Oh, great, I've missed your reply :)
  • How to start QtWebKit in mobile mode?

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    K
    @JohannesBauer Could you elaborate what mean "rudimentary" and what are you lacking? Thanks!
  • Display image pattern using Qt + eglfs and OpenGL

    1
    0 Votes
    1 Posts
    798 Views
    No one has replied
  • Resize all images in a QWebElement to a fixed size

    1
    0 Votes
    1 Posts
    599 Views
    No one has replied
  • Crash on navigator.plugins javascript

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    K
    It will be possible in the next release, for now you have to follow instruction [1]. Note that underlying build system has changed from qmake to cmake, so WEBKIT_CONFIG build options have different names now [1] https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux
  • QML WebEngineView: how to prohibit user interactions?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    V
    I added onFocusChanged: { lockScreen2.forceActiveFocus() } into my WebEngineView. This works, except for the first 'tab' pressed, which scroll my view to top. Another idea?
  • Use QWebView in Qt 5.7

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    K
    You can build up-to-date QtWebKit from https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4 using instruction https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux See http://qtwebkit.blogspot.com/2016/08/qtwebkit-im-back.html for more details
  • QWebView: strange problem with embedded images

    Solved
    5
    0 Votes
    5 Posts
    5k Views
    A
    Thanks a lot for this solution. That's code from my project. It generate 1 bit depth monochrome bitmap from html. Maybe someone will help too. QWebPage page; page.mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff); page.mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff); page.setViewportSize(QSize(pageWidth, pageHeight)); auto frame = page.mainFrame(); QEventLoop loop; QObject::connect(&page, SIGNAL(loadFinished(bool)), &loop, SLOT(quit())); frame->setHtml(htmlData, QUrl()); loop.exec(); QImage img(QSize(pageWidth, pageHeight),QImage::Format_Mono); QPainter p(&img); frame->render(&p); p.end(); img.save("output.bmp","BMP");
  • Qt Creator cannot find Qt WebKit

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    You're welcome ! Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
  • QWebView, DelegateExternalLinks and anchors

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    D
    So if I inherit from QWebPage and override acceptNavigationRequest, it should simply work like qwebview->setPage( myNewWebPage ); qwebview->setHtml( myContent ); shouldn't it? //edit: yes it does. Thank you, it worked perfectly fine.
  • QML QtWebView unable to load page on Windows 7

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    AlexorleonA
    @SGaist thanks, I'll keep it in mind.
  • How to build qtwebkit on mac?

    Solved
    8
    0 Votes
    8 Posts
    7k Views
    K
    @davidb said in How to build qtwebkit on mac?: Thanks @Konstantin-Tokarev but I still got the same errors. I tried adding the path to qmake in my $PATH and run again, and that got me past those errors, but now I get: /Users/david/dev/qt561_fmosoft/qtwebkit/Source/WTF/wtf/qt/MainThreadQt.cpp:78:10: fatal error: 'MainThreadQt.moc' file not found #include "MainThreadQt.moc" Any ideas? a question: I'm assuming I don't need to build/install ICU or any other dependencies listed at https://wiki.qt.io/Building_Qt_5_from_Git, since I'm on mac that has successfully built Qt 5.6.1 (see previous post for configuration). Maybe that's a bad assumption? I could try the version at https://github.com/annulen/webkit/releases/tag/qtwebkit-tp3 - I assume I should download the source code (zip or tar.gz). Yes Does that source work with Qt 5.6 (currently required for me)? Yes Or is that source for Qt 5.7 only? Do I need to do anything with qtwebkit-tp3-qt56-darwin.tar.xz? These are ready to use binaries, in case you don't want to compile anything. I'm sorry for all the questions, but I'd really like to use qtwebkit with Qt 5.6 on mac. I really appreciate your help.
  • Problem in allocating memory for QNetworkAccessManager

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    Pradeep KumarP
    Hi, Welcome to Forum Can u first check whether you are creating only one instance. First initialize the variable manager to NULL. Check if its NULL then create the object. Are u calling in slots?.
  • Ubico usb tokens are not supported in QWebEngineProcess

    Unsolved
    1
    0 Votes
    1 Posts
    750 Views
    No one has replied
  • QMessageBox And EvaluateJavascript function in QWebView

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