Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • [Solved] Read local file from QWebView using Ajax request

    8
    0 Votes
    8 Posts
    6k Views
    A
    I think acceptNavigationRequest is only called on user interaction and javascript/ajax bypass it, so you can catch it in createRequest of QNAM....
  • Dotted border in WebFrame in Qt-app

    4
    0 Votes
    4 Posts
    2k Views
    C
    I have found solution. This CSS code will remove unnecessary borders: @ input, textarea, button { outline:none; } @
  • QWebView set body onload=window.open..., it return undefined

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • WebKit spell checker in QtWebKit?

    3
    0 Votes
    3 Posts
    2k Views
    A
    There is native way to check spelling in WebKit, and I've already found QWebSpellchecker class, but no documentation for it at all.... Thanks anyway for the link.
  • Qwebview loading page with username and password

    7
    0 Votes
    7 Posts
    3k Views
    M
    It is still not working. We decided to remove login page and make direct access to the required URL. Thanks for the replies :)
  • Flash enabled but not displaying

    4
    0 Votes
    4 Posts
    2k Views
    B
    Keep one thing in mind. Flash to work on Qt, you need to have it installed on your computer and not specifically in a browser (which is also possible). You have to download the Flash installer from the Microsoft website, remembering that when entering the site to download, it will ask your browser. Select another and download, install and ready.
  • Detect video url

    3
    0 Votes
    3 Posts
    2k Views
    B
    Are you wanting to do something like the tab "Network" Google Chrome, where when you get to watch a video, it shows you the url of the video? If so, you can do using QNetworkAccessManager, QNetworkRequest and sniff the QNetworkReply When finished (SIGNAL).
  • QWebview:How do I know if a flash has finished playing?

    2
    0 Votes
    2 Posts
    1k Views
    B
    There's no way to do that. It is impossible to manipulate the SWF (Flash) using QWebKit or even javascript. You can make your own video player, so you can write in your document, hidden in some input to know when your program is paused or completed. And take these results with javascript.
  • Windows Qt5 QWebview widget is missing

    4
    0 Votes
    4 Posts
    5k Views
    goldenhawkingG
    QtActiveQt widget is also missing ,designer-plugin needed.
  • Retrieve downloaded images

    1
    0 Votes
    1 Posts
    845 Views
    No one has replied
  • How to set cache drive on netork for QWebView cache

    2
    0 Votes
    2 Posts
    2k Views
    D
    I discovered this recently when trying to use QWebSettings() methods to relocate local clientside paths, but found they did not have any effect on browser cache location. QtWebKit sets shared and cached data paths using QDesktopServices() storage methods, which for QWS can be overridden by env vars QWS_DATA_HOME and QWS_CACHE_HOME.
  • Is QtWebKit hardware accelerated?

    3
    0 Votes
    3 Posts
    3k Views
    T
    That's very cool. Thanks. I guess it could be beneficial if you mix web views into your native app. This might be convenient if you already have web views made and are making a new native app, but I'm starting from scratch so I will stick to 100% native.
  • 0 Votes
    2 Posts
    3k Views
    E
    Okay, after stressing the QtWebKit mailing list, I made a bugzilla report ("bugzilla report 104536":https://bugs.webkit.org/show_bug.cgi?id=104536) and now the problem with the Qt Web Inspector is solved within Qt 5.0. My experience is: if should ever encounter some serious problems with QtWebKit, try using the QtWebKit mailing list. For question like 'How/why does this and that (not) work' this forum is a good-enough place.
  • QT5.0 Build is failing in QTwebKit build : Python Self-test Failed

    3
    0 Votes
    3 Posts
    3k Views
    B
    Thank you. I switched to build in VS 2010 SDK command prompt. All went fine. Only MYSQL plugins cannot build.
  • Network Analysis

    2
    0 Votes
    2 Posts
    1k Views
    Chris KawaC
    I don't understand what you are actually asking, but if you want to monitor or log the requests made by a page you can do it e.g. like this: Subclass QNetworkAccessManager. Re-implement its methods (get(), post() etc.) to monitor when they're firing and then call the base implementation. Set such "sniffing" object on a webpage with QWebPage::setNetworkAccessManager()
  • Qt5 - QtWebkit examples do not work on imx535?

    2
    0 Votes
    2 Posts
    3k Views
    R
    Hi, i am passed to the final release of Qt5 and i get the same error. Then i have tried to run the fancybrowser example, with gdb and i get this error. @Color formats don't match. Falling back to copy forward swap. Color formats don't match. Falling back to copy forward swap. Program received signal SIGSEGV, Segmentation fault. 0x41eb23c0 in ShConstructCompiler () from /home/rony/Qt5-imx53/lib/libQt5WebKit.so.5@ It seems like the problem comes from libQt5WebKit.so.5. The function ShConstructCompiler () is defined here @Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:ShHandle ShConstructCompiler(ShShaderType type, ShShaderSpec spec,@ The error appears when i execute the first instruction of the example @{ QApplication app(argc, argv); QUrl url; @ Please any idea about something i'm missing? Thanks in advance, rony.
  • 0 Votes
    6 Posts
    3k Views
    M
    Thank you Thank you Thank you!!!! You are a gentlemen and a scholar. m_webView->setAcceptHoverEvents(true); was it
  • 0 Votes
    2 Posts
    3k Views
    A
    If we click on the full screen button of the flash in the secondary monitor then if you really look at the x, y cordinate of that full screen window, it will be out of range of the secondary monitor resolution. So just after making this window as a child of some other native/qt window just move your full screen window to 0, 0 position. I achieved in windows using MoveWindow(hwnd, x, y , width , height), and then it is visible.
  • QWebkit: downloading a page using a specific network interface

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Scroll events from a QWebFrame

    2
    0 Votes
    2 Posts
    1k Views
    I
    So I did solve my problem with event listeners. But still would be nice to do it properly somehow.