Results 1 to 2 of 2

Thread: BatteryIndicator: Cannot open include file: 'string': No such file or directory

  1. #1
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Question BatteryIndicator: Cannot open include file: 'string': No such file or directory

    I am trying to build the BatteryIndicator tutorial on my PC. After following all the instructions given in the tutorial, when I try to build the app, it throws the following build error:

    [Error]

    Cannot open include file: 'string': No such file or directory: qstring.h - 60
    E:\NokiaQtSDK\Simulator\Qt\msvc2005\include\QtCore \qstring.h

    [/Error]

    What is the cause of this error?

    [Edit]
    I am running XP Pro 2002 with SP2, QtCreator 2.0.0 based on Qt 4.7.0 (32 bit) built on Jun 18 2010 at 08:02:28 From revision 1c0f52a091.
    [/Edit]

    [Edit1]
    I checked the code and changed the target platform to use Simulator for MinGW 4.4 instead of VS 2005. The code now builds with about 18 warnings, and it runs successfully in the emulator. So it seems this problem arises only in case of the VS 2005 simulator. Any solutions or fixes to this?
    [/Edit1]
    .
    Last edited by honeybee; 5th September 2010 at 18:39. Reason: Further insights into the problem

  2. #2
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: BatteryIndicator: Cannot open include file: 'string': No such file or directory

    i have the same issue .. can anybody here help us??

Similar Threads

  1. Replies: 2
    Last Post: 21st June 2010, 06:02
  2. Replies: 4
    Last Post: 9th May 2010, 16:18
  3. Replies: 2
    Last Post: 9th March 2010, 05:21
  4. Replies: 10
    Last Post: 15th June 2009, 19:44
  5. Replies: 1
    Last Post: 10th July 2007, 16:53

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.