Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Module "QtSensors" plugin "declarative_sensors" not found

    Mobile and Embedded
    2
    3
    462
    Loading More Posts
    • 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.
    • K
      kamorrissey last edited by A Former User

      I have a QML file on Qt 5.7.1 building for iOS that has a line

      import QtSensors 5.1 as Sensors
      

      When I run on an iPad the application that loads this file, I get the following error citing the number of that line:

      module "QtSensors" plugin "declarative_sensors" not found
      

      The same application using the same QML file runs fine on Android using Qt 5.6.2.

      I haven't found a solution via Google, so I thought I'd try here. Anyone of suggestions of things I can try?

      1 Reply Last reply Reply Quote 0
      • K
        kamorrissey last edited by

        I've confirmed that the same error appears on iOS using Qt 5.6.2.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi and welcome to devnet,

          QT's iOS build is static and not dynamic so you have to handle the plugins accordingly. Search for static plugins in Qt's documentation.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 0
          • First post
            Last post