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. Module "QtSensors" plugin "declarative_sensors" not found

Module "QtSensors" plugin "declarative_sensors" not found

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 681 Views
  • 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 Offline
    K Offline
    kamorrissey
    wrote on last edited by A Former User
    #1

    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
    0
    • K Offline
      K Offline
      kamorrissey
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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
        0

        • Login

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