From the looks of it, you will likely have to implement your own layout.
you can try this :
a little game, almost the same with yours. not finished yet.
use keys: w , s , a , d to move the tank and mouse to control the turrent direction, and mouse's left button click to fire a bullet.
mouse's right button pressed for locking the turrent direction.
What do you think about this?
It works fine and the effect is the same as on example pixtures above.
It's a Qt 4 project so you have to at least add QT += widgets in the .pro file and you may need to either remove all the modules from the includes or change the one from QtGui to QtWidget where appropriate.
This sample works for me
(i can click it )
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.