Zhangxu221 (Talk | contribs) |
(→Prerequisites) |
||
| Line 10: | Line 10: | ||
== Prerequisites == | == Prerequisites == | ||
| - | * '''Hardware:''' Any reasonably modern IA hardware, such as 32-bit | + | * '''Hardware:''' Any reasonably modern IA hardware, such as 32-bit Intel Core* CPU. |
| - | ** The SDK version of QEMU relies on kqemu to provide CPU virtualization support, but on some machines do not run well. This is believed to be related to certain types of CPU. Below are some details of tested hardware: | + | ** The SDK version of QEMU relies on kqemu to provide CPU virtualization support, but on some machines do not run well. This is believed to be related to certain types of CPU. Below are some details of tested hardware. For those in "known not to work", one trick could be tried (in item 10 of [http://wiki.meego.com/SDK/Docs/1.1/Troubleshooting#QEMU_SDK_Errors troubleshooting]) which could solve quite some such issues. |
| - | *:* Known to work: Intel Core 2 Quad CPU, Q8200; Intel i5 and i7 (nehalem) | + | *:* Known to work: Intel Core 2 Quad CPU, Q8200; Intel i5 and i7 (nehalem) ... |
| - | *:* Known not to work: Intel Core 2 Duo P9400 in Thinkpad T400; Intel Core 2 Q9400 in HP7900 Ultra-slim | + | *:* Known not to work: Intel Core 2 Duo P9400 in Thinkpad T400; Intel Core 2 Q9400 in HP7900 Ultra-slim; Intel i5(sandibridge) ... |
* '''Software:''' Only Windows XP 32-bit and Windows 7 32-bit are officially supported. | * '''Software:''' Only Windows XP 32-bit and Windows 7 32-bit are officially supported. | ||
*: Currently the QEMU emulator only works for IA targets on 32-bit Windows and only tested with nvidia graphical card. If you are using 64-bit Windows, kqemu is not available and performance will be very poor. For best performance, please develop on Linux host. | *: Currently the QEMU emulator only works for IA targets on 32-bit Windows and only tested with nvidia graphical card. If you are using 64-bit Windows, kqemu is not available and performance will be very poor. For best performance, please develop on Linux host. | ||
Note: MeeGo 1.2 SDK has not been released yet. This page contains instructions for downloading and installing the preview version.
This page describes how to install and configure the MeeGo 1.2 Tablet SDK on your Windows development system. For more information about MeeGo SDK for Windows, check SDK/MeeGo_SDK_for_Windows.
Contents |
| File | Description | Size |
|---|---|---|
| http://apollo.jf.intel.com/tablet/sdk/installer/meego-sdk-1.2-preview-installer-full-tablet.exe | MeeGo SDK Windows installer | 1.5G |
.exe file and follow the prompts to install the SDK.Go to the menu: File -> New File or Project -> Qt Application Project -> Meego Touch Framework Application.
In "Project setup" dialog, choose "meego-tablet".
"Shadow build” should be disabled before build an app. To do that, select “Projects” button in the left side of Qt Creator, and uncheck “Shadow build” in “Build Settings”.
Notice: The kqemu could only be used on 32-bit Windows. 64-bit Windows could not work with kqemu. You can not use emulator on 64-bit Windows. Use real device instead.
Download package from http://wiki.qemu.org/download/kqemu-1.4.0pre1.tar.gz
Get the kqemu.inf and kqemu.sys files from above package
For Windows XP system, right click the kqemu.inf file and select "install".
For Windows 7 or Windows Vista system, edit the kqemu.inf file to do below changes, and then right click the kqemu.inf, select "install".
[DefaultInstall.NT] --> [DefaultInstall] [DefaultInstall.NT.Services] --> [DefaultInstall.Services] [Uninstall.NT] --> [Uninstall] [Uninstall.NT.Services] --> [Uninstall.Services]
Start the kqemu manually. Select Start > All Programs > Accessories, click right mouse button over Command Prompt, and select "Run as administrator". In Command Prompt, run the following command:
net start kqemu
You need to start kqemu again after you reboot the system.
Get to the menu: Tools > Options > Projects > MeeGo Device Configurations. Click "Add" button to add a runtime for emulator. Set "Device type" to "MeeGo emulator"; set "Authentication type" to "Password"; set "Username" to "root"; set "Password" to "meego".
Click "Projects" again on the left side. Select "Run" in the MeeGo Build/Run box at the top. Make sure that the "Device configuration" is set to "MeeGo Emulator". This will ensure that QEMU is started when you run your application. You can now launch the QEMU MeeGo emulator. Click the "Start Meego emulator" icon near the bottom left corner of Qt Creator (circled in red in the screenshot below).
Note: You can also start the Qemu from MADDE terminal. For that you need to go to Start > Programs > MeeGoSDK > MADDE Terminal. In the terminal type:
mad list
to see the runtime and target names, and then type:
mad remote -r <runtime> poweron
After QEMU starts, click the "Run" icon to run your application. Qt Creator will package and deploy your application to QEMU and start it on the target. You can see the window of your application in QEMU.
You can also debug the application by clicking the "Debug" icon. Setting breakpoints and stepping are the same as local applications.
Anytime MeeGo is running in QEMU, you can use SSH to connect to the image from another terminal on the host system.
$ ssh meego@127.0.0.1 -p 6666
Two user accounts are available in the MeeGo images:
User: meego Password: meego
User: root Password: meego
rm -rf /etc/ssh/*key*
sudo zypper ref sudo zypper install utfs-client sudo zypper install mad-developer
rpm -i mad-developer-2.0-2.1.i586.rpm
You need to install Debugging Tools for Windows for debugging apps with simulator.