Bouncing button problem on Raspberry Pi
-
Hello to Everyone.
I'm a newbie to qt and I'm trying to use Raspberry Pi with jessie.
I have an interesting problem.
The buttons that I have added to the form are bouncing (like I'm pushing an not, pushing and not) but the buttons on anyother existing software on jessie not, as seen on the video.
I think the problem is not caused by hardware, its by software that I dont know.I'm sorry I couldnt find a way to share video directly, so here is the link from tinypic.com ;
Video linkCan you help me? How can I solve this problem ?
-
@bladekel
this seems more like an painting/refresh issue.@bladekel said in Bouncing button problem on Raspberry Pi:
Can you help me?
you should add a little more information to do so.
OS, Qt version, device, .... -
@raven-worx
I'm using raspbian jessie on Raspberry pi2 with Qt 5.3.2 ( GCC 4.9.2 , 32 bit). -
@bladekel
Qt binaries are from the official Jezzie/Debian repository? -
@raven-worx
Yes. After writing original image to disk, I did only these;apt-get update
apt-get upgrade
apt-get install qt5-default
apt-get install qtcreatorNothing else....
-
@bladekel
k. and what type of buttons are you using and from what QML module? -
@raven-worx
Any type of buttons do the same fault. On the videos, I used push button and tool button.
I used QT Widgets Applications for the project.
I didnt choose anything about QML Module while creating project by the way I dont know what is QML Module.....
Beside this I didnt write any codes in project, just added buttons and run it.... -
Thanks for your replies.
I solved the problem. For the one who will encounter with this problem, I uninstalled everthing and installed Qt4.sudo apt-get install qt4-dev-tools
sudo apt-get install qtcreatorNow, works fine.
I dont know why but the problem solved :) -
@bladekel I don't think that would be a recommended solution. Qt4 has already reached EOL.
Qt5 offers a lot of new goodies. Please don't go back to older version. Look forward and port your application to Qt5.
Unfortunately it seems Debian jessie is still stuck with Qt 5.3.2 and what you are facing might be a bug which should already have been solved.
I would suggest you try following 2 way:- Build your own latest Qt version. Here is an excellent guide
https://wiki.qt.io/RaspberryPi_Beginners_Guide - It seems that Debian stretch includes a more newer version Qt5.7.1 but it is still not released. But you can try the unoffical raspbian stretch image from here.
In the end its your choice and how urgent is your need. If not then try to experiment one of the ways. In any case you have some efforts to put but its better ready to be future proof.
- Build your own latest Qt version. Here is an excellent guide
-
@p3c0 said in Bouncing button problem on Raspberry Pi:
Build your own latest Qt version. Here is an excellent guide
https://wiki.qt.io/RaspberryPi_Beginners_Guide