Keyboard Issue using vnc under Qtcreator
Hi. I am working with my RPi 2 under RASPBIAN JESSIE
I installed tightvncserver on Pi and VNC Viewer on Windows 10.
Everything runs ok.
But under Qt each word appears like encrypted or different.
If I pressed 'b', it shows 's'.
For instance: this is a sequence from INPUT: abcdefg
OUTPUT on Qt for instance Mainwindows.cpp: asdfghj
some words acts like CR
Can anyone suggest me something?
Hi and welcome to devnet,
What kind of keyboard do you have on your computer ? Is it QWERTY ?
Yes, it´s QWERTY.
Are both your system using the same keyboard layout ?
Hi, on your WIndows 10, if you're using RealVNC's VNC Viewer, you could try TightVNC's VNC client instead.
Yes both are using same layout.
I found the solution.
VNCserver is the problem.
I'm using tightvncserver on RPi and tightvnc viewer or Real VNC Viewer on Win10 .
I searched for many hours and then found a thread with same problem.
Someone suggested him to use X11vnc. I installed it and works.
I had to change X11vnc resolution because by default shows like VGA or zoomed.
Follow this link Change default X11 display resolution
Qtcreator has problems under tightvncserver.
That´s is an issue to fix.
Do other applications using Qt suffer the same problem ?
Yes, i can confirm that this weird behaviour is also with labelImg with pyQT.
Everything works fine with VNC, the shell, Terminal,etc,etc....
except QT Keyboard input.
I'm Using ThightVNC from a Windows 10 Computer to Connect to my ThightVNC Server With Ubuntu 18.04.1 and xfce 4.12
When i use LabelImage i get a message:
Qt: XKEYBOARD extension not present on the X server.
What locale do you have ?