嵌入式爱好者

查看: 10474|回复: 1

[Linux] qt程序自启动

[复制链接]

10

主题

23

帖子

96

积分

AM335x通行证i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2019-7-15 11:20:01 | 显示全部楼层 |阅读模式

INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting inetd daemon.
Starting syslogd/klogd: done
/etc/rc5.d/S97matrix-gui: line 82: export: `MouseMan:/dev/input/mice
#touch and mouse use at the same time,but qt app need touch two times,affect user experiance
#export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0': not a valid identifier
/etc/rc5.d/S97matrix-gui: line 82: export: `Intellimouse:/dev/input/mice
export QWS_MOUSE_PROTO=Tslib:/dev/input/event0': not a valid identifier
/etc/rc5.d/S97matrix-gui: line 88: aw: command not found
/etc/rc5.d/S97matrix-gui: line 92: [: =: unary operator expected
2000-01-01 00:16:48: (log.c.166) server started
./TOD_Project: error while loading shared libraries: libQtSql.so.4: cannot open shared object file: No such file or directory
Stopping Bootlog daemon: bootlogd.

_____   _____   _____    _       _   __   _  __    __
|  ___| /  _   |  _    | |     | | |   | |    / /
| |__   | | | | | |_| |  | |     | | |   | |   / /
|  __|  | | | | |  _  /  | |     | | | |   |   }  {
| |     | |_| | | |    | |___  | | | |   |  / /
|_|     _____/ |_|  _ |_____| |_| |_|  _| /_/  _


ok335x login: root
amixer: Control default open error: No such file or directory

root@ok335x:~#



启动报少 libQtSql.so.4 , 而且前面还有好多错误,自动启动程序启动不了,但手动启动可以,,
回复

使用道具 举报

10

主题

23

帖子

96

积分

AM335x通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2019-7-15 16:47:11 | 显示全部楼层
问题解决,修改文件系统的配置时改变了格式引起的,重烧文件系统就可以了,或者找相同板的/etc/init.d/qt.sh替换即可
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-20 01:12

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表