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]
.
Bookmarks