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. Type Slider unavailable
Qt 6.11 is out! See what's new in the release blog

Type Slider unavailable

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.3k 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.
  • W Offline
    W Offline
    wweiradio
    wrote on last edited by
    #1

    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?

    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

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @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.

      157

      1 Reply Last reply
      1

      • Login

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