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 errorAny one has idea how to solve it?
Thanks,
loaded library "/usr/local/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so"
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 -
@wweiradio Is this custom type in the same directory where planets.qml is ?
Or else you have to useimport
statement as described here.
Also you may require qmldir.