Debug programs written by QT-creator using real devices on the tablet

Source: Internet
Author: User

First, go to the terminal settings on the tablet

I,

su

The password is meego. Wait a moment and enter root.

II,

Sudo zypper install OpenSSH-server // is installed by default. This step skips sudo/etc/init. d/sshd start

Install and run sshd

sudo chkconfig --add sshd

Set sshd startup

3,

Install mad-developer

The following two statements may be invalid.

  1. Sudo zypper install mad-developer // The meego software source URL has been updated, so zypper is almost useless.
    Sudo zypper install GDB-gdbserver // The meego software source URL has been updated, so zypper is almost useless.

The preceding online installation is unavailable, so I downloaded mad-developer manually.

Install utfs-client before installing mad-developer

:

Utfs-client link: http://repo.meego.com/MeeGo/snapshots/stable/1.2.0.90/1.2.0.90.13.20110811.1/repos/oss/ia32/packages/i586/utfs-client-1.959-1.10.i586.rpm

Mad-developer download: http://repo.meego.com/MeeGo/snapshots/stable/1.2.0.90/1.2.0.90.13.20110811.1/repos/oss/ia32/packages/i586/mad-developer-2.0-2.3.i586.rpm

After download:

1. Copy it to the USB flash drive.

2. Insert a USB flash disk into the tablet

3. Enter the terminal and Su enter the root

4. Run fdisk-L.

View the last information, such as/dev/sdb1 ....

This is the USB flash drive.

5. mount a USB flash drive

Mkdir/mnt/USB // create a folder and choose the one you like. Mount/dev/sdb1/mnt/USB // to mount the USB flash drive, mount/dev/sdb1 to an empty folder, which is the new USB folder.

6. Install the RPM package

rpm -ivh --force utfs-client-1.959-1.10.i586.rpmrpm -ivh --force mad-developer-2.0-2.3.i586.rpm

IV,

xhost +SI:localuser:root

At this point, after the tablet is set up, the tablet must be connected to the Internet, and then enter ifconfig on the terminal to view the IP address of the tablet.

Then configure the QT-creator.

Go to the tool-option, and set it as shown in. You need to modify the IP address and add the IP address of the tablet computer, just like the image.


After all the settings are complete, run the program to run on the tablet.

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.