Results 1 to 3 of 3

Thread: Compile on simulator but not on Symbian

  1. #1
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt Jambi
    Platforms
    Unix/X11 Symbian S60 Maemo/MeeGo

    Exclamation Compile on simulator but not on Symbian

    Hi,

    I'm building an application with Nokia Qt SDK and it has to run on Nokia devices.

    My project builds successfully for the nokia simulator but when I try to compile it for Symbian devices it fails.

    Note that the same project did compile for Symbian before but after some changes (basically consisting of a network module using QNetworkAccessManager) it does not compile anymore (yes the NetworkServices CAPABILITY is set in the .pro).

    The errors I get are the following:

    'memcmp' was not declared in this scope
    'strlen' was not declared in this scope
    ...
    ...
    and many "not declared" errors...

    It seems to be related to the use of QString because most of the functions are string functions.

    I've tried to include many libs where those functions reside but the errors remain the same.

    Any help would be very appreciated! Thanks!

  2. #2
    Join Date
    Jul 2010
    Posts
    53
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compile on simulator but not on Symbian

    seems like your code uses non-qt functions! i mean string.h library. maybe compiler for your device does not have this library.

  3. #3
    Join Date
    Jul 2010
    Posts
    16
    Qt products
    Qt Jambi
    Platforms
    Unix/X11 Symbian S60 Maemo/MeeGo

    Default Re: Compile on simulator but not on Symbian

    I found the problem!

    I have a "string.h" file in my project which was included on behalf of the C++ string.h file!

    Thanks for your response though!

Similar Threads

  1. GPS in Simulator
    By Guilo in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 7th July 2010, 11:34
  2. GL For Symbian
    By TJSonic in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 21st June 2010, 23:43
  3. In Symbian?
    By martinn in forum Qwt
    Replies: 1
    Last Post: 25th February 2010, 10:33
  4. installing the Packages in remote machine Simulator
    By Yeshwin in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st February 2009, 15:06
  5. Replies: 1
    Last Post: 1st February 2008, 18:55

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.