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. How to use/configure qt mobility
Forum Update on Monday, May 27th 2025

How to use/configure qt mobility

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

    Hi,
    I have got the following project from qt home.

    http://wiki.forum.nokia.com/index.php/Qt_Mobility_example_application:_Fall_Detector#Build_Instructions

    This project uses qt mobility APIs, while compiling it doesn't give any errors but when tried to launch in emulator it gives errors as "dlls" related to qt mobilitity are missing.

    I have the latest -QT- Qt sdk 1.1 and qt mobility APIs are in place.
    can you please help how i need to configure my pc to use qt mobility APIs

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chuck Gao
      wrote on last edited by
      #2

      You can see the installation guide in the mobility's source code folder. Refer to installation.html under doc/html

      Chuck

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vijaydandur
        wrote on last edited by
        #3

        Hi,
        I went through the installation guide which says, " i need to download qt mobility " project , build and then configure.
        but since I installed qt 1.1 , I already have all these components, I need to just set the right path and configure it.
        Can you please tell me how this can be done.

        Regards,
        Vijay

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chuck Gao
          wrote on last edited by
          #4

          Hi Vijay, what do you mean by "but since I installed qt 1.1 , I already have all these components". I remember the SDK doesn't have Qt Mobility's source code.

          Anyway, check the folder "QtSDK\Simulator" to see if you have one in the right place. Also "QtSDK\Simulator\QtMobility\mingw\lib" to check the dlls.

          Br

          Chuck

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vijaydandur
            wrote on last edited by
            #5

            Hi Chuck,
            Thanks a lot for your reply, yes as you say, there is no Qt Mobility’s source code.

            What i have is this.

            1. @ path "C:\QtSDK\Simulator\QtMobility\mingw"
              I have 3 folders, bin, include, and lib

            2. folder "bin" has " some exe files"

            3. folder "include" has " qt module folders, inside which there are header files"

            4. LIB folder has " dlls of all the modules and perl files "..

            With this in background I have following questions.

            1. Why qt mobility apps just won't pick these dlls.

            2. I created a simple app to use qt mobility api's specifically "Sensor" module.

            3. in pro file i added include path as " INCLUDEPATH += C:\QtSDK\Simulator\QtMobility\mingw\include\QtSensors" and in header file " #include <qsensor.h> "

            4. In cpp file intelligence show me qtsensor class automatically, when i tried to write below statement.
              QSensor* sn = new QSensor(NULL);

            5. but after compiling i get an error saying " Qsensor was not declared in this scope", why is this error when header file is included successfully.

            I know surely I'm missing something, could you please tell me what is it.

            Also as you have said in your previous post " I need to build qt mobility ", can you please tell me what steps to be followed, and from where qt mobility source code can be downloaded.

            Thanks in advance , hoping for a positive reply.

            Regards,
            Vijay.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Chuck Gao
              wrote on last edited by
              #6

              Hi Vijay, i think there is something you miss and using wrong
              There is no need to include the path, you can just do:
              @CONFIG+=mobility
              MOBILITY+=sensors@
              and, in the header file, include the related sensor's header

              Chuck

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vijaydandur
                wrote on last edited by
                #7

                Hi,
                Thanks to all, I could configure and run qt mobility.

                Regards,
                Vijay.

                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