Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Issue running apps compiled and deployed with QtCreator: cannot find QT libs
Forum Updated to NodeBB v4.3 + New Features

Issue running apps compiled and deployed with QtCreator: cannot find QT libs

Scheduled Pinned Locked Moved QtonPi
4 Posts 3 Posters 3.2k 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.
  • J Offline
    J Offline
    jcverdie
    wrote on last edited by
    #1

    I fully installed qt5 and its toolchain following the guidelines at http://qt-project.org/wiki/RaspberryPi_Beginners_Guide

    QT ended being installed not in opt but in /usr/local/qt5pi/ (is this normal ?)

    When I try to run hello-qtonpi (or helloworld sample), it fails telling me it cannot find libQtQuick.so.5.0.0
    Setting LD_LIBRARY_PATH does not change anything which is quite surprising,

    side note : ldd tells me hello-qtonpi is not a dynamic executable

    any help appreciated

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomma
      wrote on last edited by
      #2

      That guide uses @-prefix /usr/local/qt5pi@ "-prefix <dir> ...... This will install everything relative to <dir>"

      ldd tells you binary is not dynamic executable if binary is not compiled for right architecture.
      Did you use right ldd?
      You can check arch of binary using file:
      @$ file hellopi
      hellopi: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped@

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AcerExtensa
        wrote on last edited by
        #3

        It is easy to use /opt/qt5 on your PC and RPi too....

        God is Real unless explicitly declared as Integer.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jcverdie
          wrote on last edited by
          #4

          Tomma,

          Thanks for the reply. Yes ldd confirms that my executable is an ARM executable :(

          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