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. Problems with QVerticalSlider when using Android
Forum Updated to NodeBB v4.3 + New Features

Problems with QVerticalSlider when using Android

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 3 Posters 1.4k Views 1 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.
  • F Offline
    F Offline
    FlyingNautilus
    wrote on last edited by
    #1

    Hi,
    I've got an application with one vertical Slider. I deployed the app to my phone everything semms to be fine, but i can't move the slider. I also tried to use the vertical slider in a clean, new project, same problem, on Android, if i run it on my PC, everythings works fine.

    This is the the output on my PC:
    @ E/Qt ( 4071): (null):0 ((null)): Vertical slider are not supported @

    and [...] Vertical slider are not supported
    repeats when i'm trying to move the slider. What is wrong in my application? And how can i move two or more sliders (if they work) at once?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tonysonney
      wrote on last edited by
      #2

      FlyingNautilus,
      I am also having the same problem. Did you find out a way to fix it?
      On googling found there has been a QT "fix":https://qt.gitorious.org/qt/qtbase/commit/66e48d2c2fad494504cad0b699300c750fa28383.

      Does anybody know whether it made into Qt5.4?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        From a quick check it looks like it's in Qt 5.4

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tonysonney
          wrote on last edited by
          #4

          It looks like I am linking against 5.4

          @-L/opt/Qt/5.4/android_armv7/lib -lQt5Widgets -L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -L/opt/android/ndk/platforms/android-9/arch-arm//usr/lib -lQt5Gui -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc@

          Could it be I am on some early version of 5.4 and there were subsequent version (5.4.2)? Is there a easy way to check the QT version I am on?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            The installer can tell you but anyway, 5.4.1 is not yet out AFAIK

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • F Offline
              F Offline
              FlyingNautilus
              wrote on last edited by
              #6

              Sorry for the late answer, but i had some troubles with my e-mail account.
              There are two posibilities or better said alternatives:

              1. Use Qt 5.3
              2. Use QVerticalTabBar <- maybe written different
              1 Reply Last reply
              0
              • T Offline
                T Offline
                tonysonney
                wrote on last edited by
                #7

                This is fixed in 5.4.1. Installed 5.4.1 and vertical slider working :)

                1 Reply Last reply
                0

                • Login

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