This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Yocto Project 编译QT5 如何添加 tslib选项

我的文件系统使用 Processor SDK Linux 06.01.00.08,不想带weston桌面。

通过 MACHINE=am335x-evm bitbake tslib 已添加了tslib工具库。执行ts_calibration 校准后。执行ts_test确认触摸准确了。

在/etc/init/weston stop后,执行QT应用 程序,./XX  -platform linuxfb 坐标还是不对,没有调用tslib的触摸校准。尝试过很多配置都不行。

我的问题是:

1. PSDK中QT编译默认的QT5好像是  -no-tslib编译的,是不是必须重新编译。

2.查到Yocto可单独编译QT5模块。 MACHINE=am335x-evm bitbake qtbase。即使在conf/local.conf中添加DISTRO_FEATURES_remove = "wayland" ,这样编译QT好像仍是 -no-tslib选项。应该在哪里设置,使能 -tslib。