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.