OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jgrauman on October 17, 2005, 01:51:41 pm

Title: Qt4 Compilation
Post by: jgrauman on October 17, 2005, 01:51:41 pm
Does anyone know if the pdaXrom SDK/cross compiler will be able to compile qt4? I have a qt4/x11 app I'd like to port to a zaurus. Any ideas?

Thanks,

Josh
Title: Qt4 Compilation
Post by: rmrfchik on October 17, 2005, 02:15:04 pm
Quote
Does anyone know if the pdaXrom SDK/cross compiler will be able to compile qt4? I have a qt4/x11 app I'd like to port to a zaurus. Any ideas?

Thanks,

Josh
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99756\"][{POST_SNAPBACK}][/a][/div]
I've tried this with rc10. qt4 much better with gcc4 (because of "hidden" keyword).
So, awaiting new compiler
Title: Qt4 Compilation
Post by: ScottYelich on October 18, 2005, 09:02:51 am
yup...

I converted my qt3 apps to qt4...
now I just need qt4 on the pda

http://www.spy.org/tmp/poker2.png (http://www.spy.org/tmp/poker2.png)

etc.

Scott
Title: Qt4 Compilation
Post by: jgrauman on October 18, 2005, 05:08:14 pm
Quote
I converted my qt3 apps to qt4...
now I just need qt4 on the pda [div align=\"right\"][a href=\"index.php?act=findpost&pid=99859\"][{POST_SNAPBACK}][/a][/div]

Looks like there is no way to get qt4 apps on a Zaurus at this point. Qt4.0.1 is in Open Embedded but is broken, and the pdaXrom can't compile it, and Qt4/Embedded hasn't been released yet... Guess I have to wait. Any other avenues to pursue?

Josh
Title: Qt4 Compilation
Post by: pgas on October 18, 2005, 05:18:56 pm
hmm have you tried?

I am compiling it now, and it is now compiling the examples, after compiling designer moc the libraries etc....I'll tell you later if this works
Title: Qt4 Compilation
Post by: pgas on October 19, 2005, 12:52:26 pm
I've have run some examples, deigner assistant.

It runs.
Title: Qt4 Compilation
Post by: jgrauman on October 19, 2005, 01:58:03 pm
Quote
I've have run some examples, deigner assistant.

It runs. [div align=\"right\"][a href=\"index.php?act=findpost&pid=100037\"][{POST_SNAPBACK}][/a][/div]

Wow, thanks! I was taking rmrfchik's word that Qt4 didn't compile under pdaXrom, maybe just the cross-compiler doesn't work, but natively compiling it does.? I don't have a zaurus yet, I wanted to make sure Qt4 apps would run first. I'm going to get one now!  You compiled it on the zaurus, right? How long did it take? It takes long enough on my desktop. Thanks again, I might be asking some more questions after I get my Zaurus about how you did this.

Josh
Title: Qt4 Compilation
Post by: rmrfchik on October 19, 2005, 02:25:21 pm
Quote
Quote
I've have run some examples, deigner assistant.

It runs. [div align=\"right\"][a href=\"index.php?act=findpost&pid=100037\"][{POST_SNAPBACK}][/a][/div]

Wow, thanks! I was taking rmrfchik's word that Qt4 didn't compile under pdaXrom, maybe just the cross-compiler doesn't work, but natively compiling it does.? I don't have a zaurus yet, I wanted to make sure Qt4 apps would run first. I'm going to get one now!  You compiled it on the zaurus, right? How long did it take? It takes long enough on my desktop. Thanks again, I might be asking some more questions after I get my Zaurus about how you did this.

Josh
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100042\"][{POST_SNAPBACK}][/a][/div]
I never said qt didn't compile. I state qt4 is better with gcc4.
Now, it would be good to have qt4 ipkgs.
Title: Qt4 Compilation
Post by: jgrauman on October 19, 2005, 08:22:21 pm
Quote
I never said qt didn't compile. I state qt4 is better with gcc4.
Now, it would be good to have qt4 ipkgs.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100046\"][{POST_SNAPBACK}][/a][/div]
Sorry about that, I didn't read you carefully.  So does that mean that both the cross compiler and native compiling works? Has anyone gotten qt4 to compile using the cross-compiler? Pardon my ignorance on this topic, I don't have a Zaurus yet.

Josh
Title: Qt4 Compilation
Post by: ScottYelich on October 19, 2005, 10:42:13 pm
http://zaurus.spy.org/feeds/cacko/pdaXrom/...rc11/misc/pgas/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc11/misc/pgas/)
Title: Qt4 Compilation
Post by: pgas on October 20, 2005, 01:55:47 am
Quote
So does that mean that both the cross compiler and native compiling works

I compiled it natively so that the install is ok for on board development.
I really think that cross compiling will work without problems as Trolltech generally takes cross-compilation into account.
Note that you don't need a Zaurus to try cross-compilation.

I don't know exactly how long it took (something like 10 hours with distcc and a pentium 3 800Mhz). I also had to use a swap to link the debug libs. I have just done a ./configure; make install. (I think i don't have opengl built inside, because I didn't have the libs installed)