Follow the Australian Telecommunications scene NEWSLETTER- FREE TRIAL
The Linux distillery
Bringing the world of Linux to you, David cuts through the tech and shows you how it works and how to use it, in terms that apply to any distro. RSS
Technology news and Jobs arrow The Linux distillery arrow ASUS Eee Linux PC dumps on Windows
ASUS Eee Linux PC dumps on Windows E-mail
by David M Williams   
Monday, 07 April 2008
Download the SDK iso file from SourceForge. You need to burn this iso file to make a bootable DVD. You can then boot a development PC, or new VMWare image, from the DVD to create your development environment.

Not only can you run the development environment but you can also virtualise the Eee itself once you have prepared a development environment. Back on SourceForge, ASUS have also provided an Eee PC 701 ISO file. Download this into the SDK host. Or, if you do have an ASUS Eee you can just grab the recovery DVD that comes with it and generate the iso file directly via the command

dd if=/dev/cdrom of=L701.iso

Either way, once you have the iso image in your development environment, run the command

/usr/bin/vmware-convert L701.iso

The script vmware-convert is provided in the SDK; it will convert the named .iso disk image into a VMWare image called /tmp/asus.vmdk. Move that resultant file into a directly you like.
Download the file EeePC-701.vmx, also from SourceForge, which is a VMWare configuration file. Drop this into the same directory as asus.vmdk.

Finally, run VMWare Player within the SDK through main menu / Applications / System / VMWare Player. Open EeePC-701.vmx from where you dropped it. You now have a virtual ASUS Eee. You don’t have to run it within the SDK environment – particularly if you are already running that within VMWare. Instead, you can run both the SDK and the ASUS Eee virtual machines within two different VMWare instances on the one host, or on different hosts, and again whether Linux or Windows or other platforms.

With that out of the way, let’s begin coding!

Within the SDK launch Eclipse by clicking Launch / Applications / Development / Eclipse. Eclipse will fire and ask where to store projects. The default is to make a new folder called workspace within the home folder. This is fine, unless you have a particular filing method you would rather use.

You will next be prompted by a Qt Eclipse integration window asking if you want a Qt cheat sheet to be displayed. This cheat sheet will take you through the steps needed to make a sample address book application for the ASUS Eee. Click ‘yes’ to walk through it, and it will provide an excellent starting point to producing apps for this system. You can call this up again any time by clicking Eclipse’s Help menu, then Cheat Sheets, then Qt Development.

Walk through the cheat sheet; this brings up a tab page which lists all the steps necessary to make the address book. This includes setting Qt preferences, running the Qt GUI project wizard, launching the Qt Designer, adding widgets and layouts to on-screen dialogs, running the Qt GUI class wizard, creating and designing an “Add Address” dialog, adding items to a listbox, displaying selecting items, wiring up functionality to OK and Delete buttons and much more.

Please read on to finish making your first Eee app!

CONTINUED







 
< Next story in category   Previous story in the category >
iTWire user statistics Visitors last 30 days
694,279
Subscribers 15,210
#1 independent technology news advertise here
  •   *  
  • Search
  • AdvSeach
  • Login
  • Events
  • FreeStuff

- Advertisement -

Featured Whitepapers

Follow iTWire on Twitter

About iTWire

iTWire is all about technology news, information, jobs and community for the IT and telecommunications industry professional. Subscribe to our free ICT daily newsletter