Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Qt Development
    3. Qt WebKit

    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • K

      WebKit Status 2019
      • kamui

      8
      0
      Votes
      8
      Posts
      3287
      Views

      JKSH

      @kamui said in WebKit Status 2019:

      Would it be possible to pin this thread instead of the "WebKit Status 2017" ?

      Done

    • mrjj

      WebKit Status 2017
      • mrjj

      4
      13
      Votes
      4
      Posts
      16189
      Views

      K

      Feature-wise comparison of QtWebKit reboot with official sources:

      https://github.com/annulen/webkit/wiki/Comparison-with-QtWebKit-5.6

      Note that we are very close to feature parity now, i.e. there are very little features that work with legacy QtWebKit and are not yet supported with reboot, and their number is constantly lowering.

    • L

      Unsolved play mp4 video on qt performance high cpu than chrome
      • lingxing

      8
      0
      Votes
      8
      Posts
      83
      Views

      L

      thank you for suggest。i will try later。

    • S

      Unsolved Use autocompletion from website
      • Stephan Lorenzen

      4
      0
      Votes
      4
      Posts
      26
      Views

      SGaist

      Duplicate

    • L

      Unsolved This topic is deleted!
      • lingxing

      2
      0
      Votes
      2
      Posts
      3
      Views
    • L

      Unsolved This topic is deleted!
      • lingxing

      2
      0
      Votes
      2
      Posts
      40
      Views
    • A

      Unsolved QFileDialog: Filter directory to include only filenames in QStringList
      • anshah

      2
      0
      Votes
      2
      Posts
      184
      Views

      JonB

      @anshah said in QFileDialog: Filter directory to include only filenames in QStringList:

      I just want to display the filenames in the QStringList

      I don't believe you can do that.

      To stay in one directory and only offer a passed-in list of filenames is not the job for a QFileDialog. You might just as well just present the user with a list of those filenames to pick from, and you don't need to bother showing a directory because you don't want the user to change it or navigate elsewhere.

    • R

      Unsolved Crash in chromium used by libQt6WebEngineCore 6.3.0
      • RaulSanchez

      1
      0
      Votes
      1
      Posts
      58
      Views

      No one has replied

    • B

      Unsolved Qt Webkit Dependent Libraries Version for 5.212
      • Bhargavi

      3
      0
      Votes
      3
      Posts
      131
      Views

      B

      @JonB Thanks Jon for the info

    • S

      Unsolved Store website data in database
      • Samuel123

      2
      0
      Votes
      2
      Posts
      170
      Views

      SGaist

      Hi,

      You have to do that in the slot where you receive the message.

    • S

      Unsolved Data via Qt Creator Console from WebSocket
      • Samuel123

      7
      0
      Votes
      7
      Posts
      205
      Views

      S

      @SGaist Now it worked. Thanks very much.

    • Z

      Unsolved compile qtwebkit, 'undefined reference to 'QMetaObjectBuilder::setClassName'
      • zeroDawn

      6
      0
      Votes
      6
      Posts
      169
      Views

      JonB

      @zeroDawn
      That may actually be an OK combination then. You might Google for qt 5.11 qtwebkit.

      Your errors actually seem to come from the /usr/lib/libQt5Sensors.so.5.11.1 when linking, rather than from the QtWebKit stuff?

      The other Qt libraries being linked with are in /usr/lib64/ but libQt5Sensors.so.5.11.1 is in /usr/lib, I don't know whether that indicates a 32-/64-bit or other non-compatible mismatch?

      Do you know when it last compiled/linked successfully on such a system?

      I think I'll leave it at that, others may know better than I. I think it is possible your actual issue is with libQt5Sensors rather than the QtWebKit stuff.

    • X

      Unsolved Cannot compile nixnote2
      • xavierbaez

      1
      0
      Votes
      1
      Posts
      255
      Views

      No one has replied

    • A

      Unsolved This topic is deleted!
      • acetone

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • P

      Unsolved will javascript const keyword be available for PyQt4 QtWebkit ?
      • Peter Goteh

      2
      0
      Votes
      2
      Posts
      5593
      Views

      JKSH

      Hi, and welcome!

      @Peter-Goteh said in will javascript const keyword be available for PyQt4 QtWebkit ?:

      i do want to know if the javascript implementation used in PyQt4 QtWebkit will allow for the use of const keyword for ES6.

      Qt 4 reached end-of-life in 2011. ES6 was released in 2015.

      So, the answer is no.

    • 0

      Solved QWebEngineView. Can't replace html code and print new pdf
      • 0x5FB5

      3
      0
      Votes
      3
      Posts
      345
      Views

      0

      @JonB Yep, I've just found that I need to wait for loading page before printing and the solution is connect loadFinished signal to method I need, that do printToPdf() in it. I thought that WebEngineView does not need to wait for the local html file to load, but it was mistaken.

      UPD: Also, I've found a way to print multiple pdfs. You need to make a QEventLoop obj, connect loadFinished signal to QEventLoop::quit and after setHtml just call loop.exec() and you can guarantee that file you need will load and prints correctly only after loading of the previous page code.

      Example:

      // Header class MyClass : public QObject { Q_OBJECT private: QEventLoop loop; QWebEngineView *webView; public: void saveCardPdf(); // Cpp MyClass::MyClass(QObject *parent ): QObject(parent) { webView = new QWebEngineView(); connect(webView, &QWebEngineView::loadFinished, &loop, &QEventLoop::quit); } ... void MyClass::saveCardPdf() { ... // Load your html code.. webView->setHtml(html); // html - string of one page loop.exec(); webView->page()->printToPdf(path); // Modify name for another file path.replace(".pdf", "_1.pdf"); webView->setHtml(html1); // html1 - string of another page loop.exec(); webView->page()->printToPdf(path); }

      It's not perfect solution, but I think you understand the idea

    • A

      Unsolved QWebkit does not load from Url due to SslHandshakeFailedError
      • anshah

      1
      0
      Votes
      1
      Posts
      235
      Views

      No one has replied

    • M

      Unsolved WebKit X64 freeze with specific urls
      • mishukov.nikita

      1
      0
      Votes
      1
      Posts
      266
      Views

      No one has replied

    • T

      Unsolved i.MX6 Build Failure with Buildroot 2022.02 and fb-backend
      i.mx6 buildroot framebuffer • • tjsmith

      1
      0
      Votes
      1
      Posts
      356
      Views

      No one has replied

    • S

      Unsolved Html to pdf- when try to convert html contains frames it produces Empty page.
      • Shidharth

      2
      0
      Votes
      2
      Posts
      735
      Views

      H

      Many converters show this glitch while converting. I tried using another online HTML to PDF converter and my problem was solved. You should try it too.