Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Can't use QtMobility.feedback QML API in Qt Creator 2.2.1

Can't use QtMobility.feedback QML API in Qt Creator 2.2.1

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.6k 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.
  • Q Offline
    Q Offline
    QtQueries
    wrote on last edited by
    #1

    Hi

    I am trying to use the QtMobility.feedback ThemeEffects. I am including the following line in my QML file:
    @import QtMobility.feedback 1.1@

    And in my .pro:
    @CONFIG += mobility
    MOBILITY = feedback@

    When I run my app on the simulator, I get the following error:

    @plugin cannot be loaded for module "QtMobility.feedback": Cannot load library C:/QtSDK/Simulator/Qt/mingw/imports/QtMobility/feedback/declarative_feedbackd.dll: The specified module could not be found.
    import QtMobility.feedback 1.1
    ^@

    I have used the Feedback API in this way before, and no error was generated, the only thing different here is a new install of Qt Creator.

    Any help appreciated!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gauntface
      wrote on last edited by
      #2

      I'm having this exact same issue, the main difference is I'm having trouble getting this to work on a build using the experimental Qt Components, unsure as to whether this is the cause or not but it seems to be the only different between other working projects.

      Did you find a solution?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gauntface
        wrote on last edited by
        #3

        I found the problem I was having was simply the update manager didn't seem to install the Mobility package.

        If you go to the Qt SDK update manager, in the repository you can easily install it, which will allow it to work on the simulator.

        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