Warning this article may contain opinions of the author that you and iTWire don't agree with.
Visit the last page to have your say in our forum.

No. 1 Story

Telstra adds one million mobile services, but Sensis plummets

Telstra has revealed the addition of almost one million new mobile services in the six months to December 2011, but Sensis revenues plummeted 24 percent in 12 months.

read more

ASUS Eee Linux PC dumps on Windows

Opinion and Analysis

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







- sponsored feature -

The Death of Traditional BI: What’s Next?

How to Make Business Discovery Work for Your Business IP PABX BUYING GUIDE

Business Discovery takes its cues from consumer apps. Like Google, it encourages us- ers to hunt for and explore data without worrying about or even noticing the underly- ing technology. Their entire experience is working within an intuitive interface to get real-time, self-service results with only minimal training. ...more