Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • Get an url of clicked link in WebEngineView

    Unsolved qml webengineview qt5.6
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • pdf viewer pepper plugin support

    1
    2 Votes
    1 Posts
    754 Views
    No one has replied
  • Installing certificates or allowing certain hosts.

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    McLionM
    Loading should work this way, if you use the correct file format QSslSocket::addDefaultCaCertificates(certdata.pem) Look here: https://curl.haxx.se/docs/caextract.html You also need SSL error handling - use this as a working base: connect(webGUI->page()->networkAccessManager(), SIGNAL(sslErrors(QNetworkReply*, const QList<QSslError> & )), this, SLOT(HandleGUIsslErrors(QNetworkReply*, const QList<QSslError> & ))); void QTGUI_MainWindow::HandleGUIsslErrors(QNetworkReply* reply, const QList<QSslError> &errors) { foreach (QSslError e, errors) { qDebug() << "GUI SSL error:" << e; QByteArray qbTemp; qbTemp.append(e.errorString()); } //reply->ignoreSslErrors(); // this is only a hack !! reply->abort(); } HTH
  • Unknown Module QWebEngine

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    BryanWhiteB
    @Aleksej-Ivanovic I installed the MSVC community edition and things are working now. Thank you.
  • acceptNavigationRequest only called for explicitly clicked links

    Solved
    1
    0 Votes
    1 Posts
    676 Views
    No one has replied
  • How to empty WebEngine profile

    Unsolved webengine profile session
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • QtWebKit to QtWebEngine migration problem

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    E
    If you are still seeing ERR_SSL_PROTOCOL_ERROR perhaps read here ... https://bugreports.qt.io/browse/QTBUG-52068
  • cookieStore in qml

    1
    0 Votes
    1 Posts
    655 Views
    No one has replied
  • QtWebEngineWidgets example crash report

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    c.savurC
    Thanks. I had the same issue but I did not have enough time to investigate. So I will try to update graphics driver as you did.
  • Unable to run QtWebEngine application from /Applications folder on OSX 10.11.2

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    pavel_abrP
    @SGaist @agarny Looks like this is fixed with QT 5.6 for OSX. I used the brew version. Thank you for your help.
  • Qt 5.6 WebEngine problem with custom FlashPLayer locations

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    T
    I opened a bug report QTBUG-51971
  • Showing SWF files

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    E
    Apparently, everything works in Qt 5.6.0...
  • Building qtwebengine is error about python

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    Y
    This is problem is ok ! Find the "qmake_extras.gypi" (in qt-everywhere-opensource-src-5.4.0/qtwebengine/src/core/): { 'make_global_settings': [ ['CC.host', '/usr/bin/gcc'], ['CXX.host', '/usr/bin/g++'], ['LD.host', '/usr/bin/g++'], ['CC', '/opt/codesourcery/bin/arm-none-linux-gnueabi-gcc'], ['CXX', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++'], ['LD', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++ -lz -ldl -lpng -lglib-2.0 -lgthread-2.0 -ljpeg -lsqlite3 -lxml2'], ], 'target_defaults': { 'target_conditions': [ ['_toolset=="target"', { 'include_dirs': [ '/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include', '/usr/local/tslib/tslib1.0/include', '/opt/codesourcery/arm-none-linux-gnueabi/libc/usr/include', '/usr/include', '/home/ubqt/usr/local/include', '/home/ubqt/icu/source//common', '/opt/codesourcery/lib/gcc/arm-none-linux-gnueabi/4.8.3/include/', ], 'cflags': [ '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include/dbus-1.0', '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/lib/dbus-1.0/include', ], }], ], }, } ['CC', '/opt/codesourcery/bin/arm-none-linux-gnueabi-gcc'], ['CXX', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++'], ['LD', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++ -lz -ldl -lpng -lglib-2.0 -lgthread-2.0 -ljpeg -lsqlite3 -lxml2'], ], 'target_defaults': { 'target_conditions': [ ['_toolset=="target"', { 'include_dirs': [ '/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include', '/usr/local/tslib/tslib1.0/include', '/opt/codesourcery/arm-none-linux-gnueabi/libc/usr/include', '/usr/include', '/home/ubqt/icu/source//common', '/opt/codesourcery/lib/gcc/arm-none-linux-gnueabi/4.8.3/include/', '/home/ubqt/libcap/include', ], 'cflags': [ '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include/dbus-1.0', '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/lib/dbus-1.0/include', ], }], ], }, } The context is repetition. Just delete the repetition context. Before delete it, please check the "include_dirs". Sometimes I modify include path in my qmake.conf. When make qtwebengine, the "qmake_extras.gypi" will load qmake.conf again. So, please check different the "include_dirs". If there are different, modify it, Just like: { 'make_global_settings': [ ['CC.host', '/usr/bin/gcc'], ['CXX.host', '/usr/bin/g++'], ['LD.host', '/usr/bin/g++'], ['CC', '/opt/codesourcery/bin/arm-none-linux-gnueabi-gcc'], ['CXX', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++'], ['LD', '/opt/codesourcery/bin/arm-none-linux-gnueabi-g++ -lz -ldl -lpng -lglib-2.0 -lgthread-2.0 -ljpeg -lsqlite3 -lxml2'], ], 'target_defaults': { 'target_conditions': [ ['_toolset=="target"', { 'include_dirs': [ '/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include', '/usr/local/tslib/tslib1.0/include', '/opt/codesourcery/arm-none-linux-gnueabi/libc/usr/include', '/usr/include', '/home/ubqt/usr/local/include', '/home/ubqt/icu/source//common', '/opt/codesourcery/lib/gcc/arm-none-linux-gnueabi/4.8.3/include/', '/home/ubqt/libcap/include', ], 'cflags': [ '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/include/dbus-1.0', '-I/home/ubqt/FSL_LTIB_3.0.35/L3.0.35_4.1.0_130816_source/source/ltib/rootfs/usr/lib/dbus-1.0/include', ], }], ], }, } Save "qmake_extras.gypi", continue make.
  • Qt 5.6 custom user agent not working

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    T
    Yes I figured it out... The problem is a lot of new documentation (esp. 5.6) doesn't provide even the most simple usage examples even for such a simple thing as changing the user-agent. Marking as solved.
  • QtWebEngine duplicate touch events

    9
    0 Votes
    9 Posts
    4k Views
    BambiB
    Am suffering from the same issue.. still havent checked if it changed in 5.6
  • HTML Parse by QtWebEngine

    Unsolved
    1
    0 Votes
    1 Posts
    931 Views
    No one has replied
  • QWebEngineView runJavaScript() problem

    Unsolved
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QtWebEngine 5.7 uses what version of Chromium?

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    E
    @SGaist Thank you!
  • Using QWebEngineUrlRequestInterceptor to get AJAX POST data?

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QWebEngineView crashes on view->page() or view->load(url)

    Solved
    2
    1 Votes
    2 Posts
    2k Views
    V
    I found that I was missing several files that, if not present, will cause the app to crash when QWebEngine is used: qtwebengine_resources.pak qtwebengine_resources_100p qtwebengine_resources_200p.pak.pak QtWebEngineProcess.exe icudtl.dat If I use the windeployqt.exe tool, it properly places these files with my exe.