导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. liuyongguang
    L
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 133
    • 主题 1
    • 帖子 2
    • 最佳 0
    • 群组 0

    liuyongguangLV 2

    @liuyongguang

    133
    积分
    0
    声望
    1
    资料浏览
    2
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    liuyongguang 取消关注 关注

    liuyongguang 发布的最新帖子

    • 回复: T507 tslib移植出现:Couldn't open tslib config file : No such file or directory

      这个问题应该是/etc/profile的环境变量在/etc/qtenv.sh执行之前没有导出来导致的,我把在/etc/profile中的设置放到了/etc/qtenv.sh中就没有这个错误提示了。关于/etc/profile和/etc/qtenv.sh的执行顺序还得再研究一下 。

      发布在 Linux
      L
      liuyongguang
    • T507 tslib移植出现:Couldn't open tslib config file : No such file or directory

      T507移植Qt后再移植tslib,在/etc/profile中设置环境变量——
      export TSLIB_TSDEVICE=/dev/input/event1
      export TSLIB_CALIBFILE=/etc/pointercal
      export TSLIB_CONFFILE=/etc/ts.conf
      export TSLIB_PLUGINDIR=/lib/ts
      export TSLIB_CONSOLEDEVICE=none
      export TSLIB_FBDEVICE=/dev/fb0
      export LD_PRELOAD=/lib/libts.so

      在qtenv.sh脚本中配置——
      export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event1
      export QT_QPA_PLATFORM=eglfs
      export QT_QPA_GENERIC_PLUGINS=tslib
      export QT_QPA_FB_TSLIB=1

      但是目标板开机后出现tslib错误——
      Couldn't open tslib config file : No such file or directory
      ts_config() failed (No such file or directory)

      看了下tslib相关文件的路径感觉没问题,ts.conf中 "module_raw input" 前面“#”也去掉了——

      Uncomment if you wish to use the linux input layer event interface

      module_raw input

      请教下各位这种错误是哪个地方引起的?Qt的问题还是tslib移植的问题?

      发布在 Linux
      L
      liuyongguang