Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Bouncing button problem on Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

Bouncing button problem on Raspberry Pi

Scheduled Pinned Locked Moved Solved Mobile and Embedded
10 Posts 3 Posters 2.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bladekel
    wrote on 4 Jan 2017, 07:15 last edited by bladekel 1 Apr 2017, 07:22
    #1

    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 link

    Can you help me? How can I solve this problem ?

    R 1 Reply Last reply 4 Jan 2017, 07:31
    0
    • B bladekel
      4 Jan 2017, 07:15

      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 link

      Can you help me? How can I solve this problem ?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 4 Jan 2017, 07:31 last edited by
      #2

      @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, ....

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      B 1 Reply Last reply 4 Jan 2017, 07:57
      0
      • R raven-worx
        4 Jan 2017, 07:31

        @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, ....

        B Offline
        B Offline
        bladekel
        wrote on 4 Jan 2017, 07:57 last edited by
        #3

        @raven-worx
        I'm using raspbian jessie on Raspberry pi2 with Qt 5.3.2 ( GCC 4.9.2 , 32 bit).

        R 1 Reply Last reply 4 Jan 2017, 07:58
        0
        • B bladekel
          4 Jan 2017, 07:57

          @raven-worx
          I'm using raspbian jessie on Raspberry pi2 with Qt 5.3.2 ( GCC 4.9.2 , 32 bit).

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 4 Jan 2017, 07:58 last edited by
          #4

          @bladekel
          Qt binaries are from the official Jezzie/Debian repository?

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          B 1 Reply Last reply 4 Jan 2017, 08:11
          0
          • R raven-worx
            4 Jan 2017, 07:58

            @bladekel
            Qt binaries are from the official Jezzie/Debian repository?

            B Offline
            B Offline
            bladekel
            wrote on 4 Jan 2017, 08:11 last edited by bladekel 1 Apr 2017, 08:12
            #5

            @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 qtcreator

            Nothing else....

            R 1 Reply Last reply 4 Jan 2017, 08:13
            0
            • B bladekel
              4 Jan 2017, 08:11

              @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 qtcreator

              Nothing else....

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 4 Jan 2017, 08:13 last edited by
              #6

              @bladekel
              k. and what type of buttons are you using and from what QML module?

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              B 1 Reply Last reply 4 Jan 2017, 08:23
              0
              • R raven-worx
                4 Jan 2017, 08:13

                @bladekel
                k. and what type of buttons are you using and from what QML module?

                B Offline
                B Offline
                bladekel
                wrote on 4 Jan 2017, 08:23 last edited by bladekel 1 Apr 2017, 08:24
                #7

                @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....

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  bladekel
                  wrote on 7 Jan 2017, 05:58 last edited by
                  #8

                  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 qtcreator

                  Now, works fine.
                  I dont know why but the problem solved :)

                  1 Reply Last reply
                  0
                  • p3c0P Offline
                    p3c0P Offline
                    p3c0
                    Moderators
                    wrote on 7 Jan 2017, 06:36 last edited by
                    #9

                    @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.

                    157

                    R 1 Reply Last reply 7 Jan 2017, 17:48
                    0
                    • p3c0P p3c0
                      7 Jan 2017, 06:36

                      @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.

                      R Offline
                      R Offline
                      raven-worx
                      Moderators
                      wrote on 7 Jan 2017, 17:48 last edited by
                      #10

                      @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

                      http://www.qtrpi.com

                      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                      If you have a question please use the forum so others can benefit from the solution in the future

                      1 Reply Last reply
                      1

                      1/10

                      4 Jan 2017, 07:15

                      • Login

                      • Login or register to search.
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved