Author Topic: Qt4 Compilation  (Read 3362 times)

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Qt4 Compilation
« 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
C1000

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Qt4 Compilation
« Reply #1 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
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Qt4 Compilation
« Reply #2 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

etc.

Scott

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Qt4 Compilation
« Reply #3 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
C1000

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Qt4 Compilation
« Reply #4 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
« Last Edit: October 18, 2005, 05:19:17 pm by pgas »
SLC-860 cacko / senao wifi

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Qt4 Compilation
« Reply #5 on: October 19, 2005, 12:52:26 pm »
I've have run some examples, deigner assistant.

It runs.
SLC-860 cacko / senao wifi

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Qt4 Compilation
« Reply #6 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
C1000

rmrfchik

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Qt4 Compilation
« Reply #7 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.
--
pdaXrom, SL-C860, Chronos (Billionton) BT/CF, SE Z600, SD 1Gb, Debian, brain damaged.

jgrauman

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://
Qt4 Compilation
« Reply #8 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
C1000

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Qt4 Compilation
« Reply #9 on: October 19, 2005, 10:42:13 pm »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Qt4 Compilation
« Reply #10 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)
« Last Edit: October 20, 2005, 01:58:15 am by pgas »
SLC-860 cacko / senao wifi