Error's with Qt Simulator



  • My App works fine on the targets Maemo and Symbian, but in the Qt Simulator target, hell breaks loose and I have more them 600 errors, I wil just show a few of them. (I 'm using Nokia Qt sdk with Windows Vista). Anybody experience this problem ?

    Thanks

    @In file included from ....NokiaQtSDKSimulatorQtmingwincludeQtCore/qstring.h:45,

                 from ....NokiaQtSDKSimulatorQtmingwincludeQtCore/QString:1,
    
                 from ..MathGraphicamathformulas.h:5:
    

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:53: warning: return type defaults to 'int'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h: In function 'QT_MODULE':

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:53: error: expected declaration specifiers before 'class'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:57: error: expected specifier-qualifier-list before 'public'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:55: warning: empty declaration

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:72: error: expected declaration specifiers before 'class'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:361: error: expected declaration specifiers before ';' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:363: error: expected declaration specifiers before 'Q_DECLARE_TYPEINFO'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:365: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:370: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:372: error: expected '=', ',', ';', 'asm' or 'attribute' before 'QChar'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:374: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:375: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:376: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:377: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:378: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:379: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:381: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:383: error: expected '=', ',', ';', 'asm' or 'attribute' before ':' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:386: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:387: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:388: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:389: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:390: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:391: error: expected '=', ',', ';', 'asm' or 'attribute' before 'operator'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:394: error: expected declaration specifiers before 'Q_CORE_EXPORT'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qchar.h:395: error: expected declaration specifiers before 'Q_CORE_EXPORT'

    In file included from ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qatomic.h:46,

                 from ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbytearray.h:45,
    
                 from ....NokiaQtSDKSimulatorQtmingwincludeQtCore/qstring.h:46,
    
                 from ....NokiaQtSDKSimulatorQtmingwincludeQtCore/QString:1,
    
                 from ..MathGraphicamathformulas.h:5:
    

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbasicatomic.h:51: error: expected declaration specifiers before 'QT_MODULE'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbasicatomic.h:128: error: expected declaration specifiers before ';' token

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbasicatomic.h:130: error: expected declaration specifiers before 'template'

    ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbasicatomic.h:211: error: expected declaration specifiers before ';' token

    In file included from ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qatomic_windows.h:50,

                 from ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qatomic_arch.h:80,
    
                 from ....NokiaQtSDKSimulatorQtmingwinclude/QtCore/qbasicatomic.h:227,
    
                @


  • Its showing simple declaration errors but from this code I think Its not possible to give you any solution....
    You have to provide your source code.....



  • Hello,

    Don't panic: It is normal that the simulator reports about 600 errors in the compile output. You have to ignore them for now and just watch the build issues.

    Cheers
    Tom


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.