Remote control and display of Qt embedded Linux devices
-
Background information - We have two custom embedded Linux devices that both contain their own GUI for operating and controlling each device and it's software/firmware. The devices are class 2 medical devices and do not have any internet connection. Both of these embedded Linux devices are custom SoC PCB's that contain an AM3354 ARM Cortex-A8, SDRAM, Flash, USB, I2C, LCD Touch panel, SSH, etc. Both devices contain a custom GUI application that were created using Qt 5.7.1 minGW 32bit, using C++ and QtQuickCompiler. The Linux architecture of each device system is the exact same.
What we are trying to accomplish, is to have the ability to remote display from one device to the other, while also having the ability to control the operation and functions of the GUI of the targeted device. This behavior is similar to having remote access from one desktop to another desktop. Below are key objectives we want to accomplish.
- Remote connection from one device to the other
- When remote connection is established from one device to the other, have the ability to control and operate the targeted device's software from the remote device's software
- Mirror the display from the targeted device to the remote device
Our questions are: Would the VNC (Virtual Network Computing) module offered by Qt work for something like this? Though these devices are not connected to a network using WAN, they do consist of their own local IP that can be connected with serial connection with LAN. Any recommendations on what sort of implementation is used for something like this?
I've done a ton of research and I know that this is not anything new in the realm of embedded devices, but this is our first time trying to achieve something like this. If there is any other additional information that needs to be provided, please let me know!
-
VNC isn't offered by Qt as a 3rd party product. But there are several implementations that work very stable from my perspective. We use VNC in our CI machines.
There is also nomachine. The free version hooks up to an existing remote desktop. The commercial license enables creating remote-only sessions on login. I personally like this product a lot, while VNC mostly does the job. -
Hi,
In addition to @Axel-Spoerl, there was at some point a VNC backend added to Qt 5 however, as any of the platform plugins, it would be the only output so not really what you want.Beside the already good suggestion made, one question is: which backend are you currently using ?