Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Champion ramkashyap17's Avatar
    Join Date
    Apr 2011
    Posts
    9
    Hey,
    We have created an qt c++ app that uses gps facilities of Qt.
    I get the following errors though my qt is updated.


    error: qgeomappingmanager.h: No such file or directory
    error: QGeoServiceProvider: No such file or directory
    error: QGeoRoutingManager: No such file or directory
    error: QGeoMapPixmapObject: No such file or directory
    error: QGeoPositionInfoSource: No such file or directory
    error: QGeoCoordinate: No such file or directory
    error: 'QGeoRouteReply' has not been declared
    error: 'QGeoPositionInfo' has not been declared
    error: ISO C++ forbids declaration of 'QGeoPositionInfoSource' with no type
    error: 'QGeoCoordinate' does not name a type
    error: 'QGeoCoordinate' does not name a type

    error: ISO C++ forbids declaration of 'QGeoServiceProvider' with no type
    error: ISO C++ forbids declaration of 'QGeoMappingManager' with no type
    error: ISO C++ forbids declaration of 'QGeoRoutingManager' with no type
    error: ISO C++ forbids declaration of 'MapWidget' with no type
    error: ISO C++ forbids declaration of 'QGeoMapPixmapObject' with no type
    error: 'QtMobility' is not a namespace-name
    error: ISO C++ forbids declaration of 'QGeoPositionInfoSource' with no type
    error: 'QGeoPositionInfo' has not been declared


    Can anybody please help me regarding this? i am not understanding the problem regarding this.

  2. #2
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,692
    hello ramkashyap17

    First thing please always post your query at the right forum to get fast answers.

    Secondly please give details of your sdk what sdk you are using to build an Qt C++ application.

    Regards,
    Gargi

    P.S. Can any of the moderators can move this thread to the Qt forums.

  3. #3
    Nokia Developer Champion ramkashyap17's Avatar
    Join Date
    Apr 2011
    Posts
    9
    oops sorry that was a wrong set of errors that i posted

  4. #4
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    Make sure you have

    CONFIG += mobility
    MOBILITY += location

    in your .pro file, otherwise the build env won't find the proper headers/libs

Similar Threads

  1. [moved] Need QMediaPlayer Examples with guide of deployment on Nokia devicce
    By hrn2k1 in forum [Archived] Qt Mobility Project
    Replies: 3
    Last Post: 2011-06-22, 03:21
  2. [moved] web apps s40-Deployment issue
    By renjini in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-04-29, 08:37
  3. Deployment of an app
    By dhitchman in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-08-15, 11:50
  4. [moved] 6131 Deployment
    By philippeflorent in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-02-18, 14:12
  5. Deployment - SDK 3
    By pxc433 in forum PC Suite API and PC Connectivity SDK
    Replies: 11
    Last Post: 2005-03-23, 06:21

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