×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    [SOLVED] undefined reference to QtMobility

    Hi !

    I have just swaped from Nokia Qt SDK RC to final. But now my project won't compile for Symbian. I have a few undefined reference to Qt::Mobility classes. Even #include <iostream> seems not found. But my project keeps compiling fine for the Simulator.

    Any idea ? Thanks
    Last edited by Guilo19; 2010-06-24 at 10:25.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: undefined reference to QtMobility

    Please copy the following file to your NDK installation directory:

    C:\QtMobility\qt-mobility-symbian-opensource-1.0.0\features\mobility.prf

    The file can be found in the Qt Mobility API 1.0 release.
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: undefined reference to QtMobility

    Hmmm. No such file in qt-mobility-symbian-opensource-1.0.1. Is it mobility.prf.template ?

    EDIT : Ok This file solved the problem. But why isn't this file bundled with the Nokia SDK ?
    Last edited by Guilo19; 2010-06-24 at 09:45.

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    32

    Re: undefined reference to QtMobility

    Quote Originally Posted by Guilo19 View Post
    EDIT : Ok This file solved the problem. But why isn't this file bundled with the Nokia SDK ?
    Because I repacked it in a wrong way: http://bugreports.qt.nokia.com/browse/QTSDK-98

  5. #5
    Registered User
    Join Date
    Jun 2010
    Location
    Nantes, France
    Posts
    37

    Re: undefined reference to QtMobility

    OK. Anyway thanks for the explanation and the quick answer

Similar Threads

  1. undefined reference to `clock'
    By pdcb_pdcb in forum Symbian
    Replies: 4
    Last Post: 2009-07-03, 22:44
  2. error:undefined reference
    By gaurav.gupta in forum Symbian
    Replies: 3
    Last Post: 2009-03-30, 11:48
  3. Undefined reference...
    By parikhnirav.aits in forum Symbian
    Replies: 9
    Last Post: 2008-08-25, 20:08
  4. CTelephony undefined reference
    By frenchjt in forum Symbian
    Replies: 4
    Last Post: 2007-06-11, 18:42
  5. Undefined reference carbide.vs
    By kawak in forum Symbian
    Replies: 2
    Last Post: 2007-03-07, 15:34

Posting Permissions

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