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. Compiler static libraries problem in ARM

Compiler static libraries problem in ARM

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 840 Views 2 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.
  • M Offline
    M Offline
    M.Gimenez
    wrote on last edited by M.Gimenez
    #1
    This post is deleted!
    A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What kind of device is that ? Can you use something like yocto maybe to build an image with a more modern set of libraries for it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M M.Gimenez

        This post is deleted!

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @M.Gimenez You could just install the libs with your package. It may be against the stdc++ license but putting the version you expect on the target device will make it work.

        Speaking of licensing, know that static building with Qt requires a commercial license and is not available for the open source license.

        So to explain this a bit more, when I package my linux apps, they look something like this:

        fonts/
           *.ttf
        bin/
           myapp
        libs/
           libgcc_s.so.1
           libQt5Core.so.5
           libQt5Gui.so.5
           libQt5Network.so.5
           libQt5Widgets.so.5
           libstdc++.so.6
        resources/
           image.png
        myapp
        README
        

        myapp in the root package dir is a start script like so:

        #!/bin/sh
        
        dir="$(dirname `readlink -f $0`)"
        LD_LIBRARY_PATH="$dir/libs:$LD_LIBRARY_PATH"
        QT_QPA_FONTDIR="$dir/fonts"
        export LD_LIBRARY_PATH QT_QPA_FONTDIR
        exec $dir/bin/myapp "$\@"
        

        Again, please keep in mind you need to follow licensing. The above app was developed with Qt Commercial licensing. Even though I didn't use static linking it was a commercial app so I could have used it but preferred dynamic linking.

        Hope that helps in some way. :)

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        3

        • Login

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