Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error's with Qt Simulator
Qt 6.11 is out! See what's new in the release blog

Error's with Qt Simulator

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john_god
    wrote on last edited by
    #1

    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,
    
                @
    
    1 Reply Last reply
    0
    • P Offline
      P Offline
      prajnaranjan.das
      wrote on last edited by
      #2

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

      Prajnaranjan Das

      e mail: prajnaranjan.das@gmail.com

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tomjanssens
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved