Use QT creator2.4.1 to create a project, run it on Linux, compile, debug GDB + gdbserver (example project, dvrgui)

Source: Internet
Author: User

    Copy dvrrdk to/usr/local/dvrrdk_03.00.00.00/target/rfs_816x and rename it DVR.

For example, after completing the QT environment configuration (refer to the LZ article above), open qtcreator "file"-> "open file or project"

Select the. Pro file to open the project. Click "project" and set it as follows:


"Tools"-> "build and run"

"Linux device"

Compile after setting

Copy the generated executable file to the board

Start Development Board

Go to/usr/local/dvrrdk_03.00.00.00/target/rfs_816x/opt/dvr_rdk/ti816x and change the last line of the run_gui.sh script

Gdbserver192.168.1.103: 10000/DVR/dvrgui/dvrmain-qws hdmi0 hdmi1 &

Enter the sub-command line:

CD/opt/dvr_rdk/ti816x/

./Run_gui.sh

Start listening

Choose "debug"-> "start debugging"-> "connect to the remote debugging server" from the menu bar of qtcreator"

After setting the settings, click "OK" for debugging.

Node: Check "application output" after each debugging to close the callback debugging connection, so that the connection cannot be opened multiple times.

Compile with a debug version.

Related Article

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.