×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    14

    Undefined reference to when using QtMobility in simulator

    Hi,
    I'm trying to compile a simple application that uses the QGeoAddress class.
    I put these lines to the project file:
    Code:
    symbian:TARGET.CAPABILITY += NetworkServices, location
    
    # If your application uses the Qt Mobility libraries, uncomment
    # the following lines and add the respective components to the 
    # MOBILITY variable. 
    CONFIG += mobility
    MOBILITY += Location
    but I obtain the error
    .../destination.h:13: error: undefined reference to `QtMobility::QGeoAddress::~QGeoAddress()'

    I use Ubuntu and I have the last QT SDK installed (with QTMobility 1.2)
    I'm trying to compile for simulator.
    Can someone help me? What is wrong?

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    14

    Re: Undefined reference to when using QtMobility in simulator

    Thanks to all.
    I found the problem:
    MOBILITY += location and not
    MOBILITY += Location

    thanks, bye

Similar Threads

  1. Undefined reference using QtMobility
    By ikteivi in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2011-05-02, 08:48
  2. Replies: 7
    Last Post: 2011-01-22, 12:54
  3. undefined reference to `QtMobility::QSensorFilter::~QSensorFilter()'???
    By TooTough in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2010-11-11, 01:32
  4. Undefined reference to 'QtMobility::QMessageAccountFilter::QMessageAccountFilter()
    By ankhansen in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-11-05, 07:40
  5. undefined reference to QtMobility
    By Guilo19 in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2010-06-24, 10:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •