Qt Forum

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

    Nokia Qt SDK 1.1.3 doen't support QtMobility in QML for Simulator

    Tools
    3
    3
    3186
    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.
    • O
      ovasyura last edited by

      The latest Nokia QT SDK doesn't support QtMobility in QML for Visual Studio 2008.
      Prerequisites:
      Windows XP SP3
      MVS 2008 Express edition
      Nokia Qt SDK 1.1.3

      Tried to launch any QML mobility examples. All are failed with the same error. As example: declarative-location\mapviewer
      Error is loading location plug library:

      1.2 Library as ""
      QDeclarativeImports(file:///C:/QtSDK/projects/mapviewer-build-simulator-Simulator_Qt_for_Visual_Studio_2008__Qt_SDK__Relea se/mapviewer.qml::importExtension: loaded "C:/QtSDK/Simulator/Qt/msvc2008/imports/QtMobility/location/qmldir"
      QDeclarativeImportDatabase::importPlugin: "QtMobility.location" from "C:/QtSDK/Simulator/Qt/msvc2008/imports/QtMobility/location/declarative_location.dll"
      file:///C:/QtSDK/projects/mapviewer-build-simulator-Simulator_Qt_for_Visual_Studio_2008__Qt_SDK__Relea se/mapviewer.qml:42:1: plugin cannot be loaded for module "QtMobility.location": Cannot load library C:/QtSDK/Simulator/Qt/msvc2008/imports/QtMobility/location/declarative_location.dll: The specified procedure could not be found.
      import QtMobility.location 1.2
      ^

      Though this library is installed in mentioned path except Windows correct path with backward slash:
      C:\QtSDK\Simulator\Qt\msvc2008\imports\QtMobility\ location\declarative_location.dll.

      I suppose that some code into Simulator doesn't change the path in correct way before calling Windows ::LoadLibrary system function. Do you know how can I fix this issue? Is it a bug in Nokia Qt SDK?

      1 Reply Last reply Reply Quote 0
      • M
        mChayapol last edited by

        I am having the similar problem with QtMobility.connectivity too.

        1 Reply Last reply Reply Quote 0
        • Y
          yoshichika last edited by

          CONFIG += mobility

          need this CONFIG in .pro file

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