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. Unkown module in QT:webenginewidgets webchannel.

Unkown module in QT:webenginewidgets webchannel.

Scheduled Pinned Locked Moved Solved QtWebEngine
5 Posts 2 Posters 701 Views
  • 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.
  • V Offline
    V Offline
    Vector-Jin
    wrote on last edited by
    #1

    Hi.
    QT += core gui webenginewidgets webchannel.
    The QT5 of raspberrypi can't use the module webenginewidgets webchannel.I want to use these to communicate with html.I think
    that lost the webchannel package,but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success.So how can I figure it?
    thanks for your help.

    jsulmJ 1 Reply Last reply
    0
    • V Vector-Jin

      Hi.
      QT += core gui webenginewidgets webchannel.
      The QT5 of raspberrypi can't use the module webenginewidgets webchannel.I want to use these to communicate with html.I think
      that lost the webchannel package,but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success.So how can I figure it?
      thanks for your help.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Vector-Jin said in Unkown module in QT:webenginewidgets webchannel.:

      but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success

      What exactly is the problem with this?
      Do you execute this on RaspberryPi or on your host machine?
      You need to install these packages on your RaspberryPi and then sync your sysroot.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Vector-Jin said in Unkown module in QT:webenginewidgets webchannel.:

        but "sudo apt-get install qtwebengine5-dev qtpositioning5-dev" can't work success

        What exactly is the problem with this?
        Do you execute this on RaspberryPi or on your host machine?
        You need to install these packages on your RaspberryPi and then sync your sysroot.

        V Offline
        V Offline
        Vector-Jin
        wrote on last edited by
        #3

        @jsulm yes ,I execute on host machine then find that webengine package is't in qt source by using "apt-cache search qt".I just find the webchannel,webkit,websocket et.

        jsulmJ 1 Reply Last reply
        0
        • V Vector-Jin

          @jsulm yes ,I execute on host machine then find that webengine package is't in qt source by using "apt-cache search qt".I just find the webchannel,webkit,websocket et.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Vector-Jin As I wrote before: if you want to cross-compile you need the libs for your RaspberriPi, not host...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          V 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Vector-Jin As I wrote before: if you want to cross-compile you need the libs for your RaspberriPi, not host...

            V Offline
            V Offline
            Vector-Jin
            wrote on last edited by
            #5

            @jsulm Yes,I agree,So I use the deb-lib of qt to install the module,but there isn't Qwebengine package.Maybe the qt source in deb-lib of raspberryPi hasn't update to the newest version.But fortunately, the Qwebkit can still work and it can replace the Qwebkit.Thank you for your help.

            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