We have introduced how to run the MeeGo SDK on mainstream Linux operating systems. In China, developers generally use Windows operating systems, so we need to talk about how to run the MeeGo SDK on Windows.
System Configuration Requirements
1. Currently, MeeGo SDK only supports Windows Xp and Windows 7 operating systems. The MeeGo SDK is not guaranteed to work in Vista and is not supported.
2. The simulator can only work in 32-bit windows. If you are using a 64-bit system, sorry, you will not be able to use the simulator.
Known issues and possible working environments
1. Currently, the simulator can only be used for Intel CPU
2. Now you have only tested the target file named meego-handset-ia32-w32.1.1 and the runtime file of the meego-handset-ia32-pinetrail-mtf-1.0.90.2.20100914.1-sdk-1.1.80.20101023.1936-sda-runtime. Although the name contains "handset", it can be used for Handset and Netbook versions.
3. The uninstall program of MeeGo SDK does not appear in the "Start Menu". You can find it in the installation directory.
4. If you uninstall the MeeGo SDK, all files including targets and runtimes will be removed.
5. Search for the [Windows] keyword in the http://bugs.meego.com to view other issues.
Download and install MeeGo SDK
Download MeeGo SDK Windows Installation File
Double-click the. exe file
Install the SDK as instructed.
Installation Complete
Click Start> All Programs> MeeGoSDK> MADDE terminal to start MADDE.
A) if you need to use a proxy to access the Internet in the LAN, run a similar command: "export http_proxy = XXX"
B) Execute the command "mad-admin create-f meego-handset-ia32-w32-1.1" to create the target file "meego-handset-ia32-w32-1.1 ". The system automatically downloads large files.
C) Run "mad-admin create-e-f meego-handset-ia32-w32-qemu-1.1.20101031.2201-sda-runtime" to create the runtime file "meego-handset-ia32-w32-qemu-1.1.20101031.2201-sda-runtime". Some large files will also be downloaded
Click Start> All Programs> MeeGoSDK> Qt Creator to start QtCreator
Configure QtCreator to support sysroot of MeeGo
In QtCreator, perform the following steps:
A) on the "Tools" menu bar, select "Options"
B) Click the Qt4 option to open the QtVersions tab.
C) Click "+" and fill in the Version name and qmake location items.
I. Version name: meego-handset
Ii. qmake location: <MEEGO_SDK> \ MADDE \ targets \ <target name> \ bin \ qmake.exe
Replace the <MEEGO_SDK> label to the directory where you installed the MeeGo SDK. The default value is C: \ MeeGoSDK_1.1.
Replace the <target_name> label with the target file name, such as the meego-core-ia32
Iii. Once added, click "Rebuild" (lower right side) to help install and debug Qt of this version. This helps you use the debugging function of Qt.
The result is as follows.
Use Qt Creator to develop the MeeGo Application
Create a MeeGo Touch project handset) or Qt Gui project netbook)
Choose Menu: File> New File or Project> Qt Application Project> MeeGo TouchFramework Application.
In the "ProjectSetup" dialog box, select "meegohandset"
Install the simulator
Install the kqemu accelerator for QEMU on windows 32-bit systems.
Note: kqemu can only be used on 32-bit Windows, but not on 64-bit Windows. You cannot use a simulator on a 64-bit system either. Instead, use real devices.
Download the package from http://wiki.qemu.org/download/kqemu-1.4.0pre1.tar.gz
If you are using XP, right-click the kqemu. inf file and select "Install"
If you are using Windows 7 or Vista, edit the kqemu. inf file and make the following modifications. After the modification is complete, Run "right-click"-> "Install"
- [DefaultInstall.NT]--> [DefaultInstall]
- [DefaultInstall.NT.Services] -->[DefaultInstall.Services]
- [Uninstall.NT] --> [Uninstall]
- [Uninstall.NT.Services] -->[Uninstall.Services]
Manually open kqemu, Select Start> All Programs> attachments, right-click the command prompt, and select "Run as administrator". In the command line, execute the following command:
- net start kqem
Create an emulatorruntime file for MeeGo
Choose Tools> Options> Projects> MeeGo Device deployments.
Click "add" to add a runtime for the simulator. set "Device type" to "MeeGoemulator", "Authentication type" to "Password", "Username" to "root", and "Password" to "meego"
Set running configuration
Click "Projects" on the right again ". Select "Run" in MeeGoBuild/Run at the top ". Make sure that the "Deviceconfiguration" option is set to "MeeGo Emulator ". In this way, QEMU starts at the same time when you run the program. Now you can start the QEMUMeeGo simulator. Click the StartMeeGo emulator icon in the left-side corner of Qt Creator.
Note 1: When the simulator suddenly appears, please left-click the simulator screen and click "Enter". Otherwise, the system in the simulator will stop booting. This is the working environment.
NOTE 2: After the desktop in the simulator is displayed, start the terminal in the simulator and run the "xhost +" command. This is the working environment.
Compile, run, and publish applications
After QEMU is started, click the "Run" icon to Run the application. QtCreator will package and release your application to QEMU and start it in target. You can view the application window in QEMU.
Note: The following must be updated. Currently, the simulator does not have skin.
Debug an application
You can also use the "Debug" icon to increase the height of your application. You can set breakpoints and perform single-step debugging like local applications.
Log on to the QEMU Image Using SSH
MeeGo always runs in QEMU. You can connect to the image through SSH on the host.
1. Start the MeeGo image in QEMU
2. Connect to the running image on the Host terminal
- $ ssh meego@127.0.0.1 -p 6666
The MeeGo image currently has two accounts
◆ Username: meego password: meego
◆ Username: root Password: meego
Configure QtCreator to run on real devices
QtCreator can work with QEMU. But sometimes we need to work on a real device. The following describes how to implement it:
1. click Tools> Options> Projects> MeeGo Device deployments and click "Add. in "Devicetype", select "Remote Device", enter other information, and name the configuration.
2. Open the project and click "Run" in "Projects" mode. In the small MeeGo target form, select the configuration you just created in "DeviceConfiguration ".
3. Start the terminal in the settings and execute the command "xhost +"
4. Click "Run" or "Debug" in the lower left corner of QtCreator to Run or Debug your application on the configured device.