Niamita
25th November 2011, 05:04
Hi all
when i am including #include<QComboBox> in my header file , following are the error message
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected identifier before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected '}' before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected unqualified-id before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: 'FrameFeature' was not declared in this scope
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: template argument 1 is invalid
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: invalid type in declaration before ';' token
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:145: error: expected unqualified-id before ')' token
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:146: error: expected unqualified-id before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:146: error: expected ')' before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:147: error: expected unqualified-id before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:147: error: expected ')' before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:148: error: 'QStyleOptionFrameV2& operator=(const QStyleOptionFrame&)' must be a nonstatic member function
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:150: error: expected unqualified-id before 'protected'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:152: error: expected declaration before '}' token
Please suggest what is wrong with this.
Thanks
Waiting for reply.
when i am including #include<QComboBox> in my header file , following are the error message
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected identifier before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected '}' before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:139: error: expected unqualified-id before numeric constant
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: 'FrameFeature' was not declared in this scope
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: template argument 1 is invalid
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:142: error: invalid type in declaration before ';' token
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:145: error: expected unqualified-id before ')' token
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:146: error: expected unqualified-id before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:146: error: expected ')' before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:147: error: expected unqualified-id before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:147: error: expected ')' before 'const'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:148: error: 'QStyleOptionFrameV2& operator=(const QStyleOptionFrame&)' must be a nonstatic member function
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:150: error: expected unqualified-id before 'protected'
c:\QtSDK1\Desktop\Qt\4.7.3\mingw\include/QtGui/qstyleoption.h:152: error: expected declaration before '}' token
Please suggest what is wrong with this.
Thanks
Waiting for reply.