Skip to content

Qt WebKit

Questions about Qt WebKit and related topics? Post here!
1.5k Topics 5.9k Posts
  • Can QTWebkit display a web frame

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    K
    @Gaalee TP5 binaries don't include debug versions of DLLs. You can use release build now, or wait for updated binaries (maybe tomorrow)
  • Could I parsed html contents by xpath(with the helps of QtWebEnginePage)?

    Unsolved
    1
    0 Votes
    1 Posts
    582 Views
    No one has replied
  • Unable to compile webview Example given in QT creator

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    SGaistS
    What about Qt itself ?
  • QtWebkit sucks!!!

    Locked Unsolved
    3
    -2 Votes
    3 Posts
    1k Views
    W
    Its not wrong place. This subforum is called QtWebkit so its supposed to house issues regarding QtWebkit.
  • problems with adding hunspell library to the project

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    mrjjM
    Hi As far as i know linking 64 bit dll to 32 bit app is a no go.
  • how should i get index of particular row has been selected?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    V
    I will do it now......
  • QWebView: Specific Website isn’t displayed anymore

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    nonesenseN
    Hello Konstantin, Thank you for your reply. Hm, basic C++. I am not an expert, just using Qt Creators assistant. Let my try: VrsViewWin.pro QT += core gui webkit webkitwidgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = VrsViewWin TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui main.cpp #include "mainwindow.h" #include <QApplication> int main(int argc, char *argv[]){ QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); } mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private: Ui::MainWindow *ui; }; #endif // MAINWINDOW_H mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this); ui->webView->setUrl(QUrl("http://www.vrsinfo.de")); //ui->webView->setUrl(QUrl("http://www.google.de")); // Works fine } MainWindow::~MainWindow(){ delete ui; } mainwindow.ui <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1024</width> <height>768</height> </rect> </property> <property name="windowTitle"> <string>MainWindow</string> </property> <widget class="QWidget" name="centralWidget"> <widget class="QWebView" name="webView"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1024</width> <height>768</height> </rect> </property> <property name="url"> <url> <string>about:blank</string> </url> </property> </widget> </widget> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> <customwidget> <class>QWebView</class> <extends>QWidget</extends> <header>QtWebKitWidgets/QWebView</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>
  • How to install WebKit + WebKitWidgets

    Unsolved
    10
    0 Votes
    10 Posts
    10k Views
    K
    @acourche There were no Linux binaries in tp4 indeed, you need to build TP5 from source or switch to Qt 5.8. https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux
  • 0 Votes
    5 Posts
    3k Views
    R
    @Konstantin-Tokarev Ok. noted. I will start over and get back to you. For now, it considers solved. Thank you very much :)
  • This topic is deleted!

    Solved
    15
    0 Votes
    15 Posts
    160 Views
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Qt5.4 qtwebkit build error with GRefPtr.cpp

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    K
    @Y.L-Chiu said in Qt5.4 qtwebkit build error with GRefPtr.cpp: wtf/gobject/GRefPtr.cpp:100:26: error: 'g_variant_ref' was not declared in this scope Looks like your glib installation is broken, or glib is just too old. However, you can build QtWebKit without glib if you don't need GStreamer player
  • Force QtWebKit4.dll to load from base address

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    K
    This has little to do with QtWebKit actually. I'm not expert on MS toolchain, but looks like you need to pass /BASE option to linker https://msdn.microsoft.com/en-us/library/f7f5138s.aspx You should be able to do it by adding QMAKE_LFLAGS += ... line with your linker option to appropriate .pro file, probably it is Source/WebKit/qt/QtWebKit.pro. Note that if you really care about security (FIPS), you should really switch to Qt 5 and https://github.com/annulen/webkit
  • What version can build with Qt 4.8.6 and MSVC 2010?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    K
    @Mememe I see only link error for QtTestBrowser.exe. It is not required to use QtWebKit. If you got that far, dlls are built without errors. If you still want to get rid of error, you either need to comment out QtTestSupport usage in QtTestBrowser, or disable building QtTestBrowser. Also note that Qt 4 is EOL, and QtWebKit 2.3.4 is based on WebKit branch from 2012, which is old and has lots of known bugs and vulnerabilities. Please consider upgrade to Qt 5.6
  • ICU 58.2 cross-compilation

    Solved qt5.8 arm icu
    4
    0 Votes
    4 Posts
    4k Views
    S
    I got it to work by changing 2 things export CPPFLAGS="-Os" And by removing the prefix in the configure, and installing it twice ( one in the sysroot of the toolchain ) and the other in the filesystem for the target sh $ICU_SOURCE_DIR/source/configure --host=arm-cortex_a8-linux-gnueabi -with-cross-build=$ICU_HOST_DIR --prefix="" if ! make -j5 DESTDIR=$SYSROOT install; then echo -e "${RED}Error making ICU Target ( sysroot )!${NC}" exit 1 fi if ! make -j5 DESTDIR=$PREFIX install; then echo -e "${RED}Error Installing ICU Target ( filesystem )!${NC}" exit 1 fi
  • Qt webkit error while trying to build

    Unsolved
    22
    0 Votes
    22 Posts
    10k Views
    S
    @Konstantin-Tokarev Thanks a lot !!! I didn't know I could use this module since it wasn't bundled with the qt5.8 I'm trying this right now !!
  • Google maps API for desktop, and no internet connection

    Unsolved
    2
    0 Votes
    2 Posts
    948 Views
    ?
    You should ask that the guys at Google. This forum is about the Qt framework.
  • Qt5.3.1 : QtWebkit issue

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    K
    This reminds me of https://xkcd.com/138/ :) No, this is totally useless without at least function names. Use debug build to get the most informative backtrace
  • QtWebkit : what is default path for LocalStorage

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    K
    @Raju-Nimbalkar said in QtWebkit : what is default path for LocalStorage: What will be the default local storage path.? It will be empty. This may result in using current working directory, or break feature, I cannot say without trying. Please try it and report what happens. and where cookies will be shared in local storage on disk QtWebKit (more precisely, widgets API of QtWebKit that you are using) does not store cookies on disk. You should do it yourself by installing your QNetworkCookieJar subclass that serialize and deserialize cookies. You can find (quite advanced) example of persistent cookie jar at https://github.com/annulen/webkit/blob/qtwebkit-stable/Tools/QtTestBrowser/cookiejar.cpp
  • Library not found for -lQt5WebKitWidgets

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    K
    This pull request will fix the issue, it will be integrated into the next release https://github.com/annulen/webkit/pull/388