Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qt 5.8.0 - Which module is used to show a webpage
Forum Updated to NodeBB v4.3 + New Features

Qt 5.8.0 - Which module is used to show a webpage

Scheduled Pinned Locked Moved Solved QtWebEngine
4 Posts 2 Posters 641 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.
  • nadimnadafN Offline
    nadimnadafN Offline
    nadimnadaf
    wrote on last edited by
    #1

    I will use a Qt 5.8.0 , for that which module is supported to show a webpage.
    I will be added a QT += core gui webview webengine webenginewidgets

    But till this errs will shows,
    /home/nadim/Error in " Util.asciify("build-qt-pro-1-Desktop_Qt_5_8_0_GCC_64bit-Profile")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0x1dd1d10) is not a function/ui_mainwindow.h:13: error: QtWebKitWidgets/QWebView: No such file or directory
    #include <QtWebKitWidgets/QWebView>
    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    M 1 Reply Last reply
    0
    • nadimnadafN nadimnadaf

      I will use a Qt 5.8.0 , for that which module is supported to show a webpage.
      I will be added a QT += core gui webview webengine webenginewidgets

      But till this errs will shows,
      /home/nadim/Error in " Util.asciify("build-qt-pro-1-Desktop_Qt_5_8_0_GCC_64bit-Profile")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0x1dd1d10) is not a function/ui_mainwindow.h:13: error: QtWebKitWidgets/QWebView: No such file or directory
      #include <QtWebKitWidgets/QWebView>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~

      M Offline
      M Offline
      mpergand
      wrote on last edited by
      #2

      @nadimnadaf said in Qt 5.8.0 - Which module is used to show a webpage:

      #include <QtWebKitWidgets/QWebView>

      Your're using the webengine not the webkit
      Instead include :
      #include <QWebEngineView>

      nadimnadafN 1 Reply Last reply
      0
      • M mpergand

        @nadimnadaf said in Qt 5.8.0 - Which module is used to show a webpage:

        #include <QtWebKitWidgets/QWebView>

        Your're using the webengine not the webkit
        Instead include :
        #include <QWebEngineView>

        nadimnadafN Offline
        nadimnadafN Offline
        nadimnadaf
        wrote on last edited by
        #3

        @mpergand

        @mpergand said in Qt 5.8.0 - Which module is used to show a webpage:

        Your're using the webengine not the webkit
        Instead include :
        #include <QWebEngineView>

        /home/nadim/Error in " Util.asciify("build-qt-pro-1-Desktop_Qt_5_8_0_GCC_64bit-Profile")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0x1dd1d10) is not a function/ui_mainwindow.h:34: error: ‘QWebView’ does not name a type; did you mean ‘QTreeView’?
        QWebView *webView;
        ^~~~~~~~
        QTreeView

        This Error?

        M 1 Reply Last reply
        0
        • nadimnadafN nadimnadaf

          @mpergand

          @mpergand said in Qt 5.8.0 - Which module is used to show a webpage:

          Your're using the webengine not the webkit
          Instead include :
          #include <QWebEngineView>

          /home/nadim/Error in " Util.asciify("build-qt-pro-1-Desktop_Qt_5_8_0_GCC_64bit-Profile")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0x1dd1d10) is not a function/ui_mainwindow.h:34: error: ‘QWebView’ does not name a type; did you mean ‘QTreeView’?
          QWebView *webView;
          ^~~~~~~~
          QTreeView

          This Error?

          M Offline
          M Offline
          mpergand
          wrote on last edited by
          #4

          @nadimnadaf
          Once again you are using webengine not the webkit.

          Look at the minimal example HERE

          1 Reply Last reply
          1

          • Login

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