Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113開機後自動執行程式有誤(use QT發展)

    T Series
    1
    1
    466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aqmars LV 3 last edited by

      Hi All,
      我有一個程式是用QT發展的, 叫AAA好了
      現要開機後自動執行AAA程式.

      1. 我修改profile檔, 加入
        export XDG_RUNTIME_DIR=/usr/lib/
        export RUNLEVEL=3

      2. 我修改rcS檔, 加入
        cd root
        ./AAA

      3. make & mboot & pack

      4. 用adb push的方式傳到板子 /root

      5. reboot

      開機後失敗,
      但我用手動的方式執行卻沒問題.

      請問會是哪邊或是觀念出錯, 請指教. 謝謝.

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策