Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. If building Qt staticaly on my dev host, is the executable of an application enough to run it on a target device ?

If building Qt staticaly on my dev host, is the executable of an application enough to run it on a target device ?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 959 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.
  • W Offline
    W Offline
    wowy
    wrote on last edited by wowy
    #1

    Hi,

    I have installed now qt-everywhere-opensource-src-4.8.5 (in static) with the toolchain gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux and the libraries of tslib-1.0 (because i want to use a touch screen).

    If i generate a executable (for example a simple widget with a button and msgbox) with qt creator, is the executable enough to run or must i still copy past the qt folders (and maybe the tslib folder) too on my target board ?

    I am asking because my board only has a hundred Mb of free and the Qt folder is heavier than 400MB if i take out the examples, maybe you would know if i only need some folders and which ones.

    Thank you for your future answers !

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      @wowy said:

      copy past the qt folders

      Why all the folders??
      You have only to copy libraries and plugins needed by your app.

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      W 1 Reply Last reply
      0
      • M mcosta

        @wowy said:

        copy past the qt folders

        Why all the folders??
        You have only to copy libraries and plugins needed by your app.

        W Offline
        W Offline
        wowy
        wrote on last edited by
        #3

        @mcosta

        Ok, in the root directly for Qt or in a particular way ?

        After searching in my board it seems that ts is already installed on it so i don't think i will have to worry about it (i hope).

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          Refer to this to understand what and how to deploy

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          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 Extensions
          • Unsolved