[Qt-interest] The problem with tr on arm board

Philip feucht at uni-koblenz.de
Thu Sep 17 15:45:17 CEST 2009


On Tue, 2009-09-15 at 17:46 +0800, yi xia wrote:
> Hi All,
> 
> I am using qt-embedded-free-3.3.8b, I use the following configure
> parameter
> to cross-compile the qte
> 
> ./configure -embedded arm -thread -no-xft -no-ipv6 -no-qvfb -depths
> 4,8,16,24,32 -no-cups -qt-mouse-linuxtp -qt-gif
> 
> now I confirm that for a control such as textLabel1
> 
> I can not use textLabel1->setText( tr( "<p align=\"center\"><font
> size=\"+3\">YYYY-MM-DD</font></p>" ) );  to set the text

Hi,
it looks like a syntax error:
> but I can use only textLabel1->setText( tr( YYYY-MM-DD" ) );   to set
                                                        ^
here ---------------------------------------------------| 
( extra quote )

can you post a more complete compiling fragment?
-Philip

>  the
> text.
> 
> Anybody can tell me what's the reason?
> 
> Max
> 
> Thanks a lot in advance
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list