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. Compile Build Static lib Arm Embeded Beaglebond with QT
Forum Updated to NodeBB v4.3 + New Features

Compile Build Static lib Arm Embeded Beaglebond with QT

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

    Hi All,
    im new to Qt Embeded.

    I have problem when cross compile Qt to Embeded as tutorial from https://chaitramohankumar.wordpress.com/2014/08/13/building-qt4-8-6-for-embedded-linux/

    build was succeed, but when application transfer into beaglebond, the result was "-sh application not found".

    From my suggestion, it is because library ( /usr/local/linaro/bin/arm-linux-gnueabihf-g++) not found in beaglebond.

    is ther any way to make thos library into static when we build cross compile Qt to Arm Embeded??

    any suggestion would be appreciate.

    thanks

    jsulmJ 1 Reply Last reply
    0
    • J joejond

      Hi All,
      im new to Qt Embeded.

      I have problem when cross compile Qt to Embeded as tutorial from https://chaitramohankumar.wordpress.com/2014/08/13/building-qt4-8-6-for-embedded-linux/

      build was succeed, but when application transfer into beaglebond, the result was "-sh application not found".

      From my suggestion, it is because library ( /usr/local/linaro/bin/arm-linux-gnueabihf-g++) not found in beaglebond.

      is ther any way to make thos library into static when we build cross compile Qt to Arm Embeded??

      any suggestion would be appreciate.

      thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @joejond said in Compile Build Static lib Arm Embeded Beaglebond with QT:

      /usr/local/linaro/bin/arm-linux-gnueabihf-g++

      is not a library - this is the C++ compiler, no need to copy it to the target.
      "-sh application not found" - at which exact step does it happen (what is executed at that time?)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      1
      • jsulmJ jsulm

        @joejond said in Compile Build Static lib Arm Embeded Beaglebond with QT:

        /usr/local/linaro/bin/arm-linux-gnueabihf-g++

        is not a library - this is the C++ compiler, no need to copy it to the target.
        "-sh application not found" - at which exact step does it happen (what is executed at that time?)?

        J Offline
        J Offline
        joejond
        wrote on last edited by
        #3

        @jsulm
        Sorry for my foolness

        i mean that some off library was not loaded. after we cehck using ldd, found
        /lib/ld-linux-armhf.so.3 not found

        i think, if i copy manual to beaglebone (black), it will OK, but is there any way to make this lib aotomatic include when i build in qt cross compile ?

        need more idea..

        jsulmJ 1 Reply Last reply
        0
        • J joejond

          @jsulm
          Sorry for my foolness

          i mean that some off library was not loaded. after we cehck using ldd, found
          /lib/ld-linux-armhf.so.3 not found

          i think, if i copy manual to beaglebone (black), it will OK, but is there any way to make this lib aotomatic include when i build in qt cross compile ?

          need more idea..

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @joejond It is enough to copy it once to the device. But if you want to do it together with your app, then you can add a custom deploy step in QtCreator if you use QtCreator.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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