Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User TooTough's Avatar
    Join Date
    Oct 2010
    Posts
    26
    When i try to deploy it on the phone, it prompts out so many errors and all of the errors have undefined reference. Wht is this? How can i solve it?

    Code:
    mainwindow.cpp:(.text+0x1c): undefined reference to `QtMobility::QSensor::stop()'
    mainwindow.cpp:(.text+0x9bc): undefined reference to `QtMobility::QSensor::~QSensor()'
    
    mainwindow.cpp:(.text+0x9d0): undefined reference to `QtMobility::QSensorFilter::~QSensorFilter()'
    
    mainwindow.cpp:(.text+0x9f0): undefined reference to `QtMobility::QSensorFilter::~QSensorFilter()'
    
    mainwindow.cpp:(.text+0xa0c): undefined reference to `vtable for QtMobility::QAccelerometer'
    mainwindow.cpp:(.text+0xa38): undefined reference to `QtMobility::QSensor::~QSensor()'
    
    mainwindow.cpp:(.text+0xa4c): undefined reference to `QtMobility::QSensorFilter::~QSensorFilter()'
    
    mainwindow.cpp:(.text+0xa6c): undefined reference to `QtMobility::QSensorFilter::~QSensorFilter()'
    
    mainwindow.cpp:(.text+0xa88): undefined reference to `vtable for QtMobility::QAccelerometer'
    Help me on this thanks.

  2. #2
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,294
    I think teh Sensor API is not correctly installed in your phone.

    Or the installer.sis does not connecting (directing) to the sensor API.

    Use the latest version of Qt mobility, 1.0.2 or newer ...

    Best regards,

  3. #3
    Registered User TooTough's Avatar
    Join Date
    Oct 2010
    Posts
    26
    the folder is 1.0.2 but how do i know whether the sensor.sis is connecting to the Sensor Api?

Similar Threads

  1. Undefined reference to 'QtMobility::QMessageAccountFilter::QMessageAccountFilter()
    By ankhansen in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-11-05, 07:40
  2. Undefined symbol: '__declspec(dllimport) QtMobility ?
    By damodharan in forum [Archived] Qt Mobility Project
    Replies: 3
    Last Post: 2010-09-27, 11:56
  3. Undefined reference...
    By Carthrat in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2010-07-16, 08:26
  4. undefined reference to QtMobility
    By Guilo19 in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2010-06-24, 10:24
  5. Undefined reference...
    By parikhnirav.aits in forum Symbian C++
    Replies: 9
    Last Post: 2008-08-25, 20:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved