Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Remote QT display / VNC: (5 Items)
   
Remote QT display / VNC  
Hi, We have a requirement to remote the display ... Target is QNX7, imx6 CPU.

Using QNX6.6, we have found a small utility,  rfbserv , on a demo to do the works....
But now this utility is no more available on QNX7.0 

We have try to use the VNC embedded in qt, both compiling the 5.8 and 5.9
with no results (see errors)
Question is: is it possible to remote, in any way, the display using screen?

Please help, thanks in advance
Mario


Running a QT 5.8.1:
---------------------------------
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), 
depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, 
samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile  QSurfaceFormat::
OpenGLContextProfile(NoProfile))
Abort (core dumped)

Running QT 5.9.8:
---------------------------------
[12]/usr/local/Qt-5.9.8/examples/datavisualization/customproxy> ./customproxy -platform vnc
This plugin does not support createPlatformOpenGLContext!
This plugin does not support createPlatformOpenGLContext!
"Couldn't initialize the OpenGL context."

Re: Remote QT display / VNC  
A new, optimized VNC server for screen (not Qt-based) is available via a QNX "custom support plan".

As an alternative you could consider driving your local UI via network 'localhost' - then build the same Qt app for 
Windows using a remote network connection.  The two UI's would both be able to control the embedded system and stay "in 
sync".
Re: Remote QT display / VNC  
Thanks for the answer: open a support plan only for such utility can be a bit expensive ,
The other option should be a bit complicated to handle or mantains in the time.

mario
Re: Remote QT display / VNC  
>>> open a support plan only for such utility can be a bit expensive
Agreed... but easiest.

>>> The other option should be a bit complicated to handle or maintain in the time.
Also agreed - its more work.  Depends on if "apps" are in the future of your product. 

If you go with the network data model, you have the option of using the QML as javascript on a webpage - or in a true 
mobile app.  
Re: Remote QT display / VNC  
Hello,

we compiled Qt5.12.x and here the embedded vnc server works.
Another option is to use something like libvncserver and build up your own vnc server, which we are investigating at the
 moment. It works pretty well and there is also a webbrowser client, so any device can connect to a session.

Regards,
Sebastian

> Hi, We have a requirement to remote the display ... Target is QNX7, imx6 CPU.
> 
> Using QNX6.6, we have found a small utility,  rfbserv , on a demo to do the 
> works....
> But now this utility is no more available on QNX7.0 
> 
> We have try to use the VNC embedded in qt, both compiling the 5.8 and 5.9
> with no results (see errors)
> Question is: is it possible to remote, in any way, the display using screen?
> 
> Please help, thanks in advance
> Mario
>