How can I put a slider in my QML code? I do not see any options for buttons, sliders etc.. at all in the design part and if I try with code etc..
slider{
...
}
It does not compile. Which headers do I need to include?
Thanks.
How can I put a slider in my QML code? I do not see any options for buttons, sliders etc.. at all in the design part and if I try with code etc..
slider{
...
}
It does not compile. Which headers do I need to include?
Thanks.
Yes, I have seen that but the trouble is that it does not work.
The error message is:
Slider is not a type
Slider {
try including this, if not already there:
import QtQuick 1.0 or import QtQuick 1.1
I have got both of those. What about the .pro file? Do I need anything special there?
Add the following
import QtQuick 1.0
import com.nokia.symbian 1.0
import Qt.labs.components 1.0
I think it is the part of symbian compoent. You can also check the following example which has many component commonly used in QML.
Use Qt-Quick to make your application UI more attractive.
http://store.ovi.com/content/271896 | http://store.ovi.com/content/276199 | http://store.ovi.com/content/276202 | http://store.ovi.com/content/280827