Problems with QVerticalSlider when using Android
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?
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?
From a quick check it looks like it's in Qt 5.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?
The installer can tell you but anyway, 5.4.1 is not yet out AFAIK
Sorry for the late answer, but i had some troubles with my e-mail account.
There are two posibilities or better said alternatives:
- Use Qt 5.3
- Use QVerticalTabBar <- maybe written different
This is fixed in 5.4.1. Installed 5.4.1 and vertical slider working :)