Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 怎么用qtcreator,将文件部署到嵌入式linux设备上。
Qt 6.12 LTS is out! See what's new in the release blog

怎么用qtcreator,将文件部署到嵌入式linux设备上。

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 2.2k Views
  • 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.
  • C Offline
    C Offline
    caiwei_cs
    wrote on last edited by
    #1

    我希望将文件部署到嵌入式设备上,看了以下文档以及相关文档
    doc.qt.io/qtcreator/creator-deployment-embedded-linux.html

    我的remote device连接正常
    我在pro文件里面加入:

    target.path = /tmp
    target.files += $${TARGET}
    target.files += main.o
    
    documentation.path = /tmp
    documentation.files += main.o
    
    INSTALLS += target documentation
    

    点击运行以后,只有app traget 部署过去,并且运行了,但是测试用的main.o没有。
    我的run settings 也没有显示main。o
    如下图:
    ![alt text](0_1505814376931_Screenshot from 2017-09-19 17:32:36.png )

    请问如何操作才是??

    1 Reply Last reply
    0
    • jiancaiyangJ Offline
      jiancaiyangJ Offline
      jiancaiyang
      wrote on last edited by
      #2

      看看生成的Makefile有没有复制main.o文件。这样可以把错误分解。

      我们自己的论坛:http://qtdream.com
      擅长三维角色仿真动画。

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved