PDA

View Full Version : BatteryIndicator: Cannot open include file: 'string': No such file or directory



honeybee
5th September 2010, 18:25
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:



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



What is the cause of this error?


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.



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?

.

ermustaqbal
23rd May 2011, 04:53
i have the same issue .. can anybody here help us??