Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebView in Qt5
Qt 6.11 is out! See what's new in the release blog

QWebView in Qt5

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 11.5k Views 1 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.
  • A Offline
    A Offline
    ArcNexus
    wrote on last edited by
    #1

    Hi All.

    I have instaled qt5 RC1 in my Debian Sid. I have problems with QWebView. the widget don't appear in qt-creator 2.6.1 and when I try to compile I have an error:

    This is the error:

    /home/arcnexus/project/terra/frmanadirmedicamento.cpp:-1: error: undefined reference to `QWebView::setHtml(QString const&, QUrl const&)'

    I have Qt += webkit in my .pro file and the project works fine in Qt 4.8.2.

    Someone know about this? Thanks for your help.

    When we are one, we win

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ezerek
      wrote on last edited by
      #2

      the webkit module has been renamed in QT5. use 'webkitwidgets' instead of 'webkit'.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ArcNexus
        wrote on last edited by
        #3

        [quote author="ezerek" date="1355780952"]the webkit module has been renamed in QT5. use 'webkitwidgets' instead of 'webkit'.[/quote]

        Yes, it works fine.

        Thanks.

        When we are one, we win

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zain
          wrote on last edited by
          #4

          I am also unable to see the qwebview control in Qt creator 2.6.1 .
          can any one tell me what should I do?
          Thanks

          1 Reply Last reply
          0
          • A Offline
            A Offline
            ArcNexus
            wrote on last edited by
            #5

            Temporaly I have solved this using Qt-designer outside Qt-Creator in Linux for make forms with this control. But, i think the best solution is compile qWebQit. After compile you need copy .so (linux) or .dll (windows) into qt-creator-designer plugins folder.

            After I will to compile and if it works I post the solution step by step. (in Linux; i have only linux in my pc)

            When we are one, we win

            1 Reply Last reply
            0

            • Login

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