liuhj_shenzhen 发表于 2020-12-22 11:49:43

Qt程序调试警告

gdb远程调试Qt程序,调试开始出现如下错误提示,程序能运行:

调试开始
Process /extp/WheelRobotUpperDCH created; pid = 1474
Listening on port 10001
Remote debugging from host 192.168.0.234
.dynamic section for "/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libinput.so.10" is not at the expected address (wrong library or version mismatch?)
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
.dynamic section for "/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/ts/input.so" is not at the expected address (wrong library or version mismatch?)
.dynamic section for "/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/ts/pthres.so" is not at the expected address (wrong library or version mismatch?)
.dynamic section for "/root/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/ts/dejitter.so" is not at the expected address (wrong library or version mismatch?)

tanglu 发表于 2020-12-22 13:59:41

您测试的qt程序是您自己写的应用程序吗?

liuhj_shenzhen 发表于 2020-12-23 13:56:27

tanglu 发表于 2020-12-22 13:59
您测试的qt程序是您自己写的应用程序吗?

是的,是我自己开发的Qt应用程序。看警告提示,貌似与触摸屏输入有关?

liuhj_shenzhen 发表于 2020-12-23 14:31:24

找到问题了,是对应的库的版本不对,将对应版本的库文件拷贝到开发板上就行了。
页: [1]
查看完整版本: Qt程序调试警告