(→Configuring Qt Creator to use the MeeGo target(s)) |
(→Removing components) |
||
| Line 189: | Line 189: | ||
To uninstall the SDK: | To uninstall the SDK: | ||
| - | * | + | * Select ''Start menu > All Programs > MeeGo SDK > Maintain MeeGo SDK''. |
| - | + | ||
* In the dialog box, select ''Remove all components'' and click ''Next''. | * In the dialog box, select ''Remove all components'' and click ''Next''. | ||
* Click ''Uninstall'' to remove the SDK. | * Click ''Uninstall'' to remove the SDK. | ||
This page describes how to install and configure the MeeGo 1.1 SDK on your Windows development system.
Contents |
The SDK consists of a single downloadable file which you use to install Qt Creator and MADDE on your development machine. Toolchains and runtimes for MADDE (see later) are optional and installed using MADDE (via the command-line tool mad-admin).
| File | Size |
|---|---|
| MeeGo SDK Windows online installer | 13.8MB |
| MeeGo SDK Windows offline installer | 55.7MB |
.exe file and follow the prompts to install the SDK.Once you have these components installed, you need to optionally install MADDE runtimes and targets, as described in the following sections.
"QEMU Accelerator (KQEMU) is a driver allowing the QEMU PC emulator to run much faster when emulating a PC on an x86 host" (from http://wiki.qemu.org/KQemu/Doc).
The QEMU Accelerator can only be used on 32-bit Windows; it does not work with 64-bit Windows. If you have 64-bit Windows, you need to use a real MeeGo device instead of an emulated one.
Install the QEMU Accelerator as follows:
kqemu.inf file in the unpacked directory. Modify the lines as follows:
[DefaultInstall.NT] should be changed to [DefaultInstall] [DefaultInstall.NT.Services] should be changed to [DefaultInstall.Services] [Uninstall.NT] should be changed to [Uninstall] [Uninstall.NT.Services] should be changed to [Uninstall.Services]
You must start kqemu manually, and will need to do this each time you reboot:
net start kqemu
A target is used to build programs using a MeeGo toolchain and libraries (sysroot). They are downloaded as a large (~250MB) .bz2 file and a large (~50MB) .gz file using the commands below. MADDE (MeeGo Application Develop and Debug Environment (background)) is a tool that assists in the download and installation of targets. You can install multiple targets and switch easily between them in Qt Creator.
First start the MADDE Terminal from Start menu > All Programs > MeeGo SDK > MADDE Terminal.
If you are in an intranet which requires a proxy, you may need to run the following command in the MADDE Terminal before you can download any targets or runtimes:
$ export http_proxy=10.0.5.1
replacing 10.0.5.1 with the IP address or host name of your proxy.
Then follow these steps to create and test a MADDE target for MeeGo.
Note that the -f flag instructs MADDE to download the toolchain tar ball (gz) and sysroot tar ball (bz2) first.
$ mad-admin create -f <target>
If you encounter problems, check the SDK troubleshooting page
$ mad -t <target> pscreate -t qt-simple qttest $ cd qttest $ mad -t <target> qmake $ mad -t <target> make
$ file build/qttest
If you compiled with an IA32 toolchain, you should see something like this:
build/qttest: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), for GNU/Linux 2.6.25, dynamically linked (uses shared libs), for GNU/Linux 2.6.25, not stripped
While compiling with an ARM toolchain should yield something like:
build/qttest: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.25, dynamically linked (uses shared libs), for GNU/Linux 2.6.25, not stripped
A runtime is the MeeGo OS image that is run with QEMU when debugging applications on your host system. It is downloaded as a large (~650MB) .bz2 file using MADDE. The runtime is not needed until you have finished configuring Qt Creator, and is not required at all if you only intend to develop against real hardware running MeeGo. However, as this step may take some time, it is recommended that you start it now so it can proceed in the background while you continue with the remaining steps.
The verified MADDE targets available on Windows are:
MADDE may list other targets, but they are not guaranteed to work.
See Configuring QEMU runtimes for further instructions.
Launch Qt Creator with Start > All Programs > MeeGo SDK > QtCreator.
Configure Qt Creator to use the MeeGo target(s):
qmake binaries for one of your installed targets. The full path will look something like:
C:\<MeeGo SDK install directory>\MADDE\targets\<target name>\bin\qmake.exewhere
<MeeGo SDK install directory> is the path to the MeeGo SDK directory (default is C:\MeeGoSDK_1.1), and <target> is the name of one of the installed targets (for example, meego-netbook-ia32-w32-1.1).The resulting configuration should look something like this:
To start developing with the MeeGo SDK, the hello world tutorial is a good starting point.
This tutorial covers how to start a project, package it, and deploy it to a device (either a real device, or a QEMU runtime set up through MADDE).
This will remove all SDK components, including any MADDE runtimes and targets you may have installed.
To uninstall the SDK: