Results 1 to 3 of 3

Thread: Providing web access to a displayed GUI

  1. #1
    Join Date
    Oct 2012
    Posts
    3
    Qt products
    Platforms
    Unix/X11

    Default Providing web access to a displayed GUI

    Hi I am prototyping a control and monitoring application using Qt and a RPi. I have made progress on starting to learn PyQt for the local machine and have got the basics working BUT on looking through the threads I got the impression that remote viewing and control was not possible with Qt. Is this correct?

    The plan was to use the local RPi and PyQt to run the control loops and to present information on the status of the system to the GUI. This monitoring information then would also be made accessable via the web to allow remote viewing of the system status. So I was assuming that I could export the GUI images pages (or something similar) to a web server.

    So I am looking for guidance if networked access is practical with Qt as my experience of SW is limited.

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Providing web access to a displayed GUI

    I don't think exporting images is a good idea. Why don't you use VNC or just start your app in a way that it exports its display to a remote X server?

    An alternative would be to provide an implementation of QPA (Qt Platform Abstraction) that would export the GUI to a remote location (but that's a bit of lowlevel programming).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2012
    Posts
    3
    Qt products
    Platforms
    Unix/X11

    Default Re: Providing web access to a displayed GUI

    Thanks for the help, I have x11vnc up and running on the RPi and VNC viewer on the laptop. This combination mimics the RPi display and keyboard, tightvncserver on the RPi gave me a link but the remote actions were not visible on the RPi display OK for a headless system but not what I wanted. Tightvncserver also seem more memory hungery. Qt now is remotely accessable.

Similar Threads

  1. Replies: 4
    Last Post: 11th March 2008, 11:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.