Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Communication between Embedded Qt app and Webpage on Raspberry Pi
QtWS25 Last Chance

Communication between Embedded Qt app and Webpage on Raspberry Pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
raspberry piembeddedwebpage
4 Posts 2 Posters 769 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
    viktorp
    wrote on last edited by
    #1

    Hello, I would like to make an embedded App on the Raspberry Pi with Qt and a Webpage also running on the Pi. My problem now is that I don‘t know how i could implement the communication between the Qt app and the webpage. I would need to send some data in form of strings and the state of a button to the app to process it further within the app.

    Does anyone have an idea how this is done? Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Will the site also be served on the Pi ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Will the site also be served on the Pi ?

        V Offline
        V Offline
        viktorp
        wrote on last edited by
        #3

        @SGaist Hi, yes, the site will also be on the RPi. At first i just need to send commands to the app.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then one way would be to use QWebChannel.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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