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. QT5.5 on Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

QT5.5 on Raspberry Pi

Scheduled Pinned Locked Moved QtonPi
3 Posts 2 Posters 3.0k 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.
  • A Offline
    A Offline
    AQTStudent
    wrote on last edited by
    #1

    Hello,
    I am trying to use the beginners tut http://qt-project.org/wiki/RaspberryPi_Beginners_guide
    Somehow I ended up compiling 5.5.0 ...
    Anyway, not the problem here as I can run any 5.4 application too then right?

    The problem:

    • qlibrary_unix.cpp:(.text+0x1330): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlopen.o): In function dlopen': (.text+0xc): undefined reference to __dlopen'
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlclose.o): In function dlclose': (.text+0x0): undefined reference to __dlclose'
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlsym.o): In function dlsym': (.text+0xc): undefined reference to __dlsym'
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlerror.o): In function dlerror': (.text+0x0): undefined reference to __dlerror'
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(feholdexcpt.o): In function feholdexcept': (.text+0x48): undefined reference to _dl_hwcap'
      /mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(fesetenv.o): In function fesetenv': (.text+0x64): undefined reference to _dl_hwcap'
      collect2: error: ld returned 1 exit status
      Makefile:1207: recipe for target '../../lib/libQt5Core.so.5.5.0' failed
      make[2]: *** [../../lib/libQt5Core.so.5.5.0] Error 1
      make[2]: Leaving directory '/home/tueco/opt/qt5/qtbase/src/corelib'
      Makefile:170: recipe for target 'sub-corelib-make_first' failed
      make[1]: *** [sub-corelib-make_first] Error 2
      make[1]: Leaving directory '/home/tueco/opt/qt5/qtbase/src'
      Makefile:45: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2

    Anyone a clue?

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      https://forum.qt.io/topic/51542/qt-5-4-compile-problem-for-raspberry-pi-again/2

      A 1 Reply Last reply
      1
      • sneubertS sneubert

        https://forum.qt.io/topic/51542/qt-5-4-compile-problem-for-raspberry-pi-again/2

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

        @sneubert
        Thanks! However, when I execute it I get this:

        • tueco@ubuntu:~/opt/cross-compile-tools$ sudo ./fixQualifiedLibraryPaths
          usage ./cmd target-rootfs path-to-target-toolchain-compiler

        I'm not really sure what to do with it now..

        nvm figured it out.. it's even in the tutorial.. totally looked over it!
        Thanks!!

        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