[Qt-interest] qlocale:h error: expected identifier before numeric constant

shivam priyadarshi shivam.priyadarshi at gmail.com
Fri May 15 05:44:06 CEST 2009


Hi Everybody,

I am porting my application from qt 3.4.4 to qt 4.5. I have successfully
executes qt3to4 script with  QT += qt3support  in .pro file. It has
successfully changed the class names as required in QT 4.5.  Now i am
compiling my application with QT4.5. And I am getting following error in
qlocale.h at line 651

/src/corelib/tools/qlocale.h:651: error: expected identifier before numeric
constant
/src/corelib/tools/qlocale.h:651: error: expected `}' before numeric
constant
/src/corelib/tools/qlocale.h:651: error: expected unqualified-id before
numeric constant
/src/corelib/tools/qlocale.h:651: error: expected declaration before ‘}’
token

line 651 in qlocale.h is Q_DECLARE_TYPEINFO(QLocale, Q_MOVABLE_TYPE);

I am not able to understand what is wrong in above line.

I will be grateful for your help.

regards:
shivam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090514/885bfa2c/attachment.html 


More information about the Qt-interest-old mailing list