Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, November 2006
Richtext on arm


Message 1 in thread

Hello all.
I am Using Qt/Embedded-free-3.3.4 on arm.
And I have a Problem with Richtext drawing.

For Example, below is the first sample code in the white paper of Qt.

#include <qapplication.h>
#include <qlabel.h>

int main(int argc, char *argv[])
{
    QApplication appli(argc, argv);
    QLabel label("<font size=40>HelloQT</font>",0);

    appli.setMainWidget(&label);
    label.show();

    return appli.exec();
}

This code works fine when it was compiled for X11.
But When it was compiled for arm, the program does not work.
And, if the code was compiled without "HTML TAG", then the program work on 
arm.

I thought this problem looks similar to 
http://lists.trolltech.com/qt-embedded-interest/2005-11/msg00012.html.
So I tried to configure qt with option:
-depths 1,4,8 -no-ipv6 -no-cups -no-pch -embedded 
arm -DQT_QLOCALE_USES_FCVT -qt-gif -no-thread

But even that, program did not work.

Could anyone tell me how to solve this problem?

Thanks
Inoue


To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 2 in thread

Hello all

I reply by myself against my question.
And, the solution which is showed by original thread was right!!
My mistake was to not exchange the library in target board to compiled with 
option -DQT_QLOCALE_USES_FCVT

...I am very sorry.

thanks

inoue

----- Original Message ----- 
From: "inoue masatoshi" <inoue@xxxxxxxxxxxxxxx>
To: <qt-embedded-interest@xxxxxxxxxxxxx>
Sent: Wednesday, November 08, 2006 11:47 AM
Subject: Richtext on arm


> Hello all.
> I am Using Qt/Embedded-free-3.3.4 on arm.
> And I have a Problem with Richtext drawing.
>
> For Example, below is the first sample code in the white paper of Qt.
>
> #include <qapplication.h>
> #include <qlabel.h>
>
> int main(int argc, char *argv[])
> {
>    QApplication appli(argc, argv);
>    QLabel label("<font size=40>HelloQT</font>",0);
>
>    appli.setMainWidget(&label);
>    label.show();
>
>    return appli.exec();
> }
>
> This code works fine when it was compiled for X11.
> But When it was compiled for arm, the program does not work.
> And, if the code was compiled without "HTML TAG", then the program work on 
> arm.
>
> I thought this problem looks similar to 
> http://lists.trolltech.com/qt-embedded-interest/2005-11/msg00012.html.
> So I tried to configure qt with option:
> -depths 1,4,8 -no-ipv6 -no-cups -no-pch -embedded 
> arm -DQT_QLOCALE_USES_FCVT -qt-gif -no-thread
>
> But even that, program did not work.
>
> Could anyone tell me how to solve this problem?
>
> Thanks
> Inoue
>
>
> To unsubscribe - send "unsubscribe" in the subject to 
> qt-embedded-interest-request@xxxxxxxxxxxxx
> 


To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 3 in thread


--On Mittwoch, 15. November 2006 8:37 +0100 inoue masatoshi 
<inoue@xxxxxxxxxxxxxxx> wrote:

>
> Hello all

Hi,

>
> I reply by myself against my question.
> And, the solution which is showed by original thread was right!!
> My mistake was to not exchange the library in target board to compiled
> with
> option -DQT_QLOCALE_USES_FCVT
>

Nice to hear ;-).
Thanks again to Josh for figuring this out.

Best,

Andre

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx