How to develop a program on the worker

Source: Internet
Author: User
Contents
  • 1 Introduction
  • 2. Environment Configuration
  • 3. Create a project
  • 4. Connect to the real machine
  • 5 Running Effect
  • 6. Download the source code and sample programs.
  • 7 related links
Introduction

This article demonstrates how to develop a basic ghost program.

Environment Configuration

First download the latest qt sdk 1.1.2. Do not use the default installation during installation. Select custom installation. Remember to check the installation before Harmattan, in this way, the installation program installs the environment used to develop the meego platform on the machine.

Create a project

Create a Harmattan project as follows:

The name here is hellomeego. Follow the default settings in the following steps and click Finish at the last step. Now we have created a simple program on the meego platform.

Connect to a real machine

In order to see the running effect of our new program on the real machine, we need to configure our testing mobile phone and QT creator. First, switch to the project View:

Click "manage device configurations"

Click "add" in the pop-up window"


In the pop-up window, set a name for the new configuration. Here we call it meego device. Then click Next. You can follow the default settings for subsequent steps. Next we will go to the step of setting the key:


Select a path and click "create keys.

Next, we need to deploy the private key on the mobile phone. In this case, follow the prompts in the window.

Open SDK connectivity on the meego mobile phone. If you are using a USB connection, select USB, and then you will see the password in:

Enter the above password in the previous interface and click "deploy. As shown in, the deployment is successful.

Then we came to the last step:

Finally, test whether the computer and the mobile phone are connected. The following interface indicates that the connection is successful.

Here, we have set the new "meego device" configuration.

Next we will use this new configuration. Switch the device configuration to "meego device", as shown in:

Finally, click "run" to see the effect on the meego mobile phone:

Running Effect

The following shows the running effect of the Program on meego:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.