(→Setup the MeeGo SDK) |
(→Setup the MeeGo SDK) |
||
| Line 53: | Line 53: | ||
<li>''Version name:'' '''meego-handset'''</li> | <li>''Version name:'' '''meego-handset'''</li> | ||
<li>''qmake location:'' '''<MEEGO_SDK>\MADDE\0.7.45\targets\<target name>\bin\qmake.exe'''<br/> | <li>''qmake location:'' '''<MEEGO_SDK>\MADDE\0.7.45\targets\<target name>\bin\qmake.exe'''<br/> | ||
| - | Replace <MEEGO_SDK> with the directory where you installed MeeGo SDK; the default is <code>C:\MeeGoSDK</code>; replace <target_name> with the name of the target (for example, '''meego-core-ia32''')</li> | + | Replace <MEEGO_SDK> with the directory where you installed MeeGo SDK; the default is <code>C:\MeeGoSDK</code>; replace <target_name> with the name of the target (for example, '''meego-core-ia32''').</li> |
</ul> | </ul> | ||
The result should look like this:<br/> | The result should look like this:<br/> | ||
Note: MeeGo SDK for Windows is still under development, and it has not been released yet.
Note: This page is work-in-progress (27 Oct 2010).
Note: This page contains instructions on install MeeGo SDK for Windows, and use it to build/deploy/debug apps.
Contents |
The current wiki page is the official document for MeeGo SDK for Windows. Feel free to edit it.
$ rm /runtimes/meego-handset-ia32-pinetrail-mtf-1.0.90.2.20100914.1-sdk-1.1.80.20101023.1936-sda/meego-handset-ia32-pinetrail-mtf-1.0.90.2.20100914.1-sdk-1.1.80.20101023.1936-sda.raw $ mv /runtimes/meego-handset-ia32-pinetrail-mtf-1.0.90.2.20100914.1-sdk-1.1.80.20101023.1936-sda.raw /runtimes/meego-handset-ia32-pinetrail-mtf-1.0.90.2.20100914.1-sdk-1.1.80.20101023.1936-sda/
C: disk.
C:\Qt\4.7.0\bin\qmlviewer.exe.
| File | Description | Size |
|---|---|---|
| http://download3.meego.com/meego-sdk-installer-1026.exe | MeeGo SDK Windows offline installer | 1.4GB |
.exe file and follow the prompts to install the SDK.C:\MeeGoSDK; replace <target_name> with the name of the target (for example, meego-core-ia32).The result should look like this:
![]()
Go to the menu: File -> New File or Project -> Qt Application Project -> Meego Touch Framework Application.
In "Project setup" dialog, choose "meego-handset".
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 WindowsXP system, right click the kqemu.inf file and select "install".
For WindowsVista 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]
TODO: Add instructions for Windows 7 system
Start the kqemu manually:
net start kqemu
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 #1: When emulator pops up, please press left mouse button over the emulator screen, and press "Enter" key once. Or the system inside the emulator will not continue to boot. This is a workaround.
Note #2: After desktop is shown in emulator, please launch terminal inside it, and run command "xhost +" in it. This is a workaround.
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.
Note: The screenshot need to be updated. The emulator does not have skin currently.
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
Qt Creator working with QEMU is out of the box, but sometimes we need to work with real device. Here is how: