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. Qt simple application on ARM embbedded system very slow to load the first time
Forum Updated to NodeBB v4.3 + New Features

Qt simple application on ARM embbedded system very slow to load the first time

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.1k 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
    ciclonite
    wrote on last edited by
    #1

    Hi all,
    I've a problem with a simple qt application (22KB compiled) when it load the first time..
    The board is an acme Aqua A5 (Atmel SAMA5D3) with a buildroot distribution with QT5 + X.org embedded.
    The first time i ran the application took about 1 minute. After this, if i kill the application and restart it, took about 2 secs.
    How can i do?
    I have setted release on my qt project.
    Thanks a lot.
    Giovanni

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

      Just a guess without knowing much about your device:

      Your app may be small because it links all Qt's libraries dynamically. If you use a very slow USB stick or SD card, loading of the libraries could take a while, but for the next start they already are loaded. You could for example use top or any other utility to see how the RAM looks like at all the stages (after reboot, when your app runs, after it has been killed). And of course it may have been a one-off problem. Reboot and repeat. Single happening is not reliable evidence.

      C 1 Reply Last reply
      1
      • M mvuori

        Just a guess without knowing much about your device:

        Your app may be small because it links all Qt's libraries dynamically. If you use a very slow USB stick or SD card, loading of the libraries could take a while, but for the next start they already are loaded. You could for example use top or any other utility to see how the RAM looks like at all the stages (after reboot, when your app runs, after it has been killed). And of course it may have been a one-off problem. Reboot and repeat. Single happening is not reliable evidence.

        C Offline
        C Offline
        ciclonite
        wrote on last edited by
        #3

        @mvuori Thank for reply, the problem repeat itself every time a reboot occur.
        I tought the same about dynamic libraries, but how can i compile my excutable with static library? I think QT discourage the use of static library.
        Thanks again,
        Giovanni

        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