Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Use QWebView in Qt 5.7
Forum Updated to NodeBB v4.3 + New Features

Use QWebView in Qt 5.7

Scheduled Pinned Locked Moved Solved Qt WebKit
3 Posts 3 Posters 2.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rokk
    wrote on last edited by
    #1

    Hi,
    I'm trying to debug an old application written in Qt 5.2 in my Qt 5.7. I know that qtwebkit is now obsolete and replaced by qtwebengine. Anyway I'd like to be able to run this application without porting it to Qt 5.7.
    I installed libQt5WebKit5-dev and copied modules and headers of QtWebKit and QtWebKitWidgets in my Qt 5.7.
    Now I get this error: /usr/lib/x86_64-linux-gnu/libQt5WebKit.so:-1: error: undefined reference to `QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'

    Is it possible to solve it? Or I have no other choice than porting my application to Qt 5.7?
    Thank you

    CharlieGC 1 Reply Last reply
    0
    • R rokk

      Hi,
      I'm trying to debug an old application written in Qt 5.2 in my Qt 5.7. I know that qtwebkit is now obsolete and replaced by qtwebengine. Anyway I'd like to be able to run this application without porting it to Qt 5.7.
      I installed libQt5WebKit5-dev and copied modules and headers of QtWebKit and QtWebKitWidgets in my Qt 5.7.
      Now I get this error: /usr/lib/x86_64-linux-gnu/libQt5WebKit.so:-1: error: undefined reference to `QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'

      Is it possible to solve it? Or I have no other choice than porting my application to Qt 5.7?
      Thank you

      CharlieGC Offline
      CharlieGC Offline
      CharlieG
      wrote on last edited by
      #2

      @rokk

      Hello,

      You can :

      • install QtWebKit from community release using Qt 5.7, but normally without changing your code ;
      • Qt 5.2 installed next to Qt 5.7 Maintenance Tools of Qt.

      Otherwise you can read this article : https://wiki.qt.io/Porting_from_QtWebKit_to_QtWebEngine.

      Bye & good luck.

      Charlie.

      1 Reply Last reply
      1
      • K Offline
        K Offline
        Konstantin Tokarev
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved