Author Topic: Up To Date Developer Guide For Cacko/qt/opie?  (Read 3743 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« on: March 19, 2005, 06:14:57 pm »
Thanks for reading this and taking pity on me!

Sorry if this is a frequent topic, but I've googled, read forums till my eyes tired, read many pages, but I keep coming up against a dead end. All the sites I've found have dead links to the cross-compilation tools.

I'm a noob to the development scene for Zaurus, but I've been a software developer for years, and am finding it frustrating to get started.

I want to be able to write programs for the Zaurus, probably Cacko based for my 860. I can run windows if necessary, but preferably linux, for the cross-compilation. I've gotten the qt development stuff running on linux (SuSE9.2 desktop) and had the example programs build OK; not got very far with the designer wizards for the GUI stuff. I've even started downloading stuff listed at http://www.ailis.de/~k/docs/crosscompiling/toolchain.php to try and build my own cross compiler, but I don't know how up to date the details are - all the packages listed are quite old!

Can someone point me to  
- what to download (with working links) for either linux or windows for the QT design tool
- a short tutorial on writing the first GUI version of hello world on the PC so I can run it on the PC to test
- how to cross-compile it for the Z, with links to the cross compiler download tools

I think I can build an ipkg, it doesn't look too hard; I've build solaris packages and done stuff with debian packages, freebsd ports, so I'm no idiot!

Thanks for your time,
Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #1 on: March 19, 2005, 06:55:51 pm »
Mmm, the previous source was http://docs.zaurus.com but that's long dead.

I have a set of RPMs for installing the 'official' Sharp developer stuff and a PDF with a working Qtopia environment.

PM me with an email address and I will tarball the lot and send them to you.

Please be aware though the old version of the Qtopia developer environment (1.5) includes a GUI designer which is called 'Designer' which is close to a full IDE in later versions of QT.... In Qtopia 1.5 it's a GUI designer and NOT and IDE which just produces skeleton C code for the interface stuff. You hack your code into that with your favourite text editor... what's the word.... oh yes PRIMATIVE that's it.

- Andy
« Last Edit: March 19, 2005, 07:00:09 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #2 on: March 20, 2005, 02:31:26 am »
Quote
Mmm, the previous source was http://docs.zaurus.com but that's long dead.

I have a set of RPMs for installing the 'official' Sharp developer stuff and a PDF with a working Qtopia environment.

PM me with an email address and I will tarball the lot and send them to you.

Please be aware though the old version of the Qtopia developer environment (1.5) includes a GUI designer which is called 'Designer' which is close to a full IDE in later versions of QT.... In Qtopia 1.5 it's a GUI designer and NOT and IDE which just produces skeleton C code for the interface stuff. You hack your code into that with your favourite text editor... what's the word.... oh yes PRIMATIVE that's it.

- Andy
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71472\"][{POST_SNAPBACK}][/a][/div]

Once I've got *something* working, then I can upgrade components... the problem at the moment is I've got absolutely no tools. Well, I have downloaded the sources and am building the cross compiler from scratch. I've also found that getting latest  QT and building it isn't 100% straight forward, got qt-x11 working but not qt/e!

Someone needs to write a book called "the ultimate xaurus developers guide".

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Howitzer

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #3 on: March 20, 2005, 04:01:17 am »
Check out the ZaurusUsergroup.org How-to links.  In the "development" link there are some links to the gcc RPM's and other important RPM's for development.  I didn't check the links actually provide a download, hopefully they're not dead links.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #4 on: March 20, 2005, 05:34:00 am »
Howitzer, they are dead links. They refer to http://docs.zaurus.com and that has been down for a while.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #5 on: March 20, 2005, 06:29:00 pm »
Quote
Howitzer, they are dead links. They refer to http://docs.zaurus.com and that has been down for a while.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71495\"][{POST_SNAPBACK}][/a][/div]

I am willing to see if I can get my workplace to set up a mirror... or, could the packages be uploaded to the OESF server?

I can't be the only person who's read these how-to guides and found all the links are to a dead site. Shame on Sharp for doing this - they have copied Sony who killed all the Clie developer forums. Seems Sharp actually want to annoy non-Japanese developers!

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #6 on: March 20, 2005, 06:31:31 pm »
Quote
Howitzer, they are dead links. They refer to http://docs.zaurus.com and that has been down for a while.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71495\"][{POST_SNAPBACK}][/a][/div]

I am willing to see if I can get my workplace to set up a mirror... or, could the packages be uploaded to the OESF server?

I can't be the only person who's read these how-to guides and found all the links are to a dead site. Shame on Sharp for doing this - they have copied Sony who killed all the Clie developer forums. Seems Sharp actually want to annoy non-Japanese developers!

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #7 on: March 21, 2005, 12:45:21 am »
I used this tarball and instructions:

http://www.nautilus6.org/operation/zaurus.html

They are for Debian, but seeing as he builds from source it should work anywhere.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #8 on: March 21, 2005, 06:40:56 am »
Quote
I used this tarball and instructions:

http://www.nautilus6.org/operation/zaurus.html

They are for Debian, but seeing as he builds from source it should work anywhere.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71574\"][{POST_SNAPBACK}][/a][/div]

that's an excellent site, thanks very much.

beginning to see light at the end of the tunnel; hopefully it's not the express train hurtling towards me!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #9 on: March 21, 2005, 08:31:41 pm »
Quote
Quote
I used this tarball and instructions:

http://www.nautilus6.org/operation/zaurus.html

They are for Debian, but seeing as he builds from source it should work anywhere.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71574\"][{POST_SNAPBACK}][/a][/div]

that's an excellent site, thanks very much.

beginning to see light at the end of the tunnel; hopefully it's not the express train hurtling towards me!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71608\"][{POST_SNAPBACK}][/a][/div]

What I learned from my first attempt at programming from the Z, is that you should try to learn QT on the desktop first. My background experience was in pure C under linux and VB under windows, and I had a bit of a hard time coming to grips with the C++ QT/E toolkit. Most of the documentation went like: Take how you do it in QT and change these things to make it work on QT/E.

What I'm doing now is going through the Programming with QT3 book that you can d/l in PDF form (As part of Bruce Peren's Open Source Series, written by a Trolltech employee by the name of Blanchette. Check the dev forum here for a link - the thread was called Free QT programming book, I think.), the first 7 or so chapters being relevant to QT/E programming.

I'm doing this under Mandrake 10.1, and it was quite easy to set up both dev environments side by side. I used the on setting up the cross compiler from the Zaurus Howtos at www.oesf.org's main page, using the Redhat packages. The QT3 programming environment was set up by installing Mandrake's official QT3 package and the installation section of the QT3 book.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #10 on: March 22, 2005, 04:44:08 am »
Quote
What I learned from my first attempt at programming from the Z, is that you should try to learn QT on the desktop first. My background experience was in pure C under linux and VB ...
I'm doing this under Mandrake 10.1, and it was quite easy to set up both dev environments side by side. I used the on setting up the cross compiler from the Zaurus Howtos at www.oesf.org's main page, using the Redhat packages. The QT3 programming environment was set up by installing Mandrake's official QT3 package and the installation section of the QT3 book.

that's very useful, thanks. I did wonder whether to tackle the problem from the top (i.e. using the QT IDE) or the bottom (get helloworld.c working!)...

I original came from an embedded environment (radios, pagers, mobile phones etc) where there were no IDEs, no graphical debuggers, so I supposed I'm used to doing things the hard way. I now work on server-side webapps, so again, there's not much GUI work, and you don't tend to use an IDE much either.

thanks for your time
Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Up To Date Developer Guide For Cacko/qt/opie?
« Reply #11 on: April 06, 2005, 06:06:35 pm »
well, the good news is that with all this help, I've been able to build "helloworld.c" and copy it over to the Z and it worked!

for my next trick, a QT/E application; tho' I am a little daunted by the comments that the version of qt/e required doesn't make life as easy as it could be.

maybe I should wait till kernel 2.6 and the newer versions of QT are out. no, I'm too stupid to have an easy life, I guess I'll go write me a zaurus GUI program! :-)
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.