Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to build stand-alone applications for embedded device?
Forum Updated to NodeBB v4.3 + New Features

How to build stand-alone applications for embedded device?

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 2 Posters 533 Views 1 Watching
  • 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
    CBenussi
    wrote on last edited by
    #1

    Hello, my question could sound just a yes/no answer but I really went through different discussions and did not find a clear explanation, so excuse me if my topic is just a clarification.

    My goal is to develop with Qt (developing on host linux 64 bit) stand-alone applications that could run on an embedded device (mainly embedded linux on arm architectures) . I need then to setup correctly my Qt distro on Linux.

    Also, my idea is that I need to download qt-everywhere-opensource to build Qt from source and give the configure script options to build properly the Qt tool. These options for me would be:

    "-static" (needed to build statically linked (stand-alone) apps that will not need dll to run on the embedded device)
    
    "-embedded" [architecture] to target the specific device.
    

    After that, I would simply have to develop on Qt the application and compile it with the cross-compiler (selected by properly setting a kit in QtCreator).

    My question is then: is this the right way?

    Thanks in advance.

    K 1 Reply Last reply
    0
    • C CBenussi

      Hello, my question could sound just a yes/no answer but I really went through different discussions and did not find a clear explanation, so excuse me if my topic is just a clarification.

      My goal is to develop with Qt (developing on host linux 64 bit) stand-alone applications that could run on an embedded device (mainly embedded linux on arm architectures) . I need then to setup correctly my Qt distro on Linux.

      Also, my idea is that I need to download qt-everywhere-opensource to build Qt from source and give the configure script options to build properly the Qt tool. These options for me would be:

      "-static" (needed to build statically linked (stand-alone) apps that will not need dll to run on the embedded device)
      
      "-embedded" [architecture] to target the specific device.
      

      After that, I would simply have to develop on Qt the application and compile it with the cross-compiler (selected by properly setting a kit in QtCreator).

      My question is then: is this the right way?

      Thanks in advance.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @CBenussi
      Yes.

      You may need an additional compiler for embedded devices.

      This assumes that you can use a standard distro for developing on your desktop

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1

      • Login

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