Unsolved Remote Desktop Application
-
Hello friends and respective QT champions
currently i am working on Remote Desktop application
i want to make A Application like (AnyDesk, TeamViewer, Windows Remote Desktop).
i want to see screen of my Raspberry pi screen in my qt application.is there any libraries for remote desktop connection ?
i was tried "qvncclient" for try to make remote desktop connection but i did't get proper result or solution and also it's is not working properly
qvncclient example code link : https://github.com/tomilov/qvncclient
please drop your valuable comment or if you have any solution for it then please provide me
Thank You So Much
-
Hi
To program something like that from scratch will take you months.
Maybe you can use something like https://github.com/LibVNC/libvncserverI assume you want the app to be like TeamView so using already working solutions is not the goal?
It is to make a TeamViewer like clone? -
look up the spice protocol. qemu has supported it as a vnc replacement for some time, as a way to interact with virtual machines. It should be extendable as a generic desktop sharing protocol.
-
@Ketan__Patel__0011 said in Remote Desktop Application:
i want to see screen of my Raspberry pi screen in my qt application.
Just in case, are you trying to run any app in the Raspberry Pi and trying to see it remotely?
Or just running a Qt app in the RPi device and trying to access it remotely?
-
Thanks for your reply
Yes, whatever qt application is running in raspberry pi and i want to see it's screen in My Windows Qt Application
-
This post is deleted! -
Hii Champion
Thanks for replyi have successfully built this library
but now i don't know how to use in qt.
Is there any tutorial for how to use this library in qt ?
-
Hi
Sorry i have not seen any examples on how to use with Qt
There is
https://libvnc.github.io/doc/html/libvncserver_doc.html
and also the examples.
for setting up the server end
and
https://libvnc.github.io/doc/html/libvncclient_doc.html
for being the client. -
-
@Ketan__Patel__0011
Wish you good luck.
Try some of the examples first before trying todo the full Qt app. -
@Ketan__Patel__0011 said in Remote Desktop Application:
whatever qt application is running in raspberry pi
For this part, remember that Qt provides a VNC plugin (acting as a mini VNC server), so if you run your Qt app in the RPi device like this
<RPi>$ ./myQtApp -platform vnc
you can access it remotely with any VNC client -
Thanks For Your Reply
Hii
Do you have any idea how to create VNC-Server Application In Qt ?
I am easily connect with RealVncServer using this solution https://github.com/tomilov/qvncclient And Access Screen Remotely
But RealVncServer Is Licence Based so I can't use RealVncServer without purchasing licence in Commercially based And RealVncServer Licence is very costly, so i was thinking to create own vncserver .
If You Have Any Idea or Suggestion and any other things so please help me to complete my project
Thanks In Advance
-
@Ketan__Patel__0011 said in Remote Desktop Application:
I'm sorry but I cannot follow what your requirement(s) is/are.From your first post
i want to see screen of my Raspberry pi screen in my qt application.
And from previous post:
I am easily connect with RealVncServer using this solution https://github.com/tomilov/qvncclient And Access Screen Remotely
So you're done. You can use a VNC client in your Qt app running in PC and access:
- any (be Qt or non-Qt) app running on RPi given you have a VNC server running in the device
- any Qt app given that you run it as
./yourQtApp -platform vnc
so i was thinking to create own vncserver .
Really? There are plenty of options regarding VNC servers for RPi apart from RealVncServer like x11vnc or Vino (see this guide for more details)
And if you ultimately need to have a VNC server built as a Qt app, I'd suggest take a look at @mrjj suggestion for libvncserver (spoiler: I haven't use it myself...)