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

Torrin Jones tjones.job at gmail.com
Mon May 18 16:27:51 CEST 2009


Are any of those identifiers defined elsewhere?

On Thu, May 14, 2009 at 8:44 PM, shivam priyadarshi <
shivam.priyadarshi at gmail.com> wrote:

>
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090518/3bd0f291/attachment.html 


More information about the Qt-interest-old mailing list