Important: Please read the Qt Code of Conduct -

Type Slider unavailable

  • after i successfully built Qt5.7 and installed it on Beagle bone black.
    I built the ./planets application in the example and tried to run it on the device.
    I got the following error

    Any one has idea how to solve it?


    loaded library "/usr/local/qt5/qml/QtQuick/Controls/"
    qrc:/planets.qml:291:5: Type StyledSlider unavailable
    qrc:/StyledSlider.qml:58:12: Type SliderStyle unavailable
    file:///usr/local/qt5/qml/QtQuick/Controls/Styles/Base/SliderStyle.qml:82:1: Type Slider unavailable
    Style {
    file:///usr/local/qt5/qml/QtQuick/Controls/Slider.qml:186:5: Non-existent attached object
    Accessible.role: Accessible.Slider

  • Moderators

    @wweiradio Is this custom type in the same directory where planets.qml is ?
    Or else you have to use import statement as described here.
    Also you may require qmldir.

Log in to reply