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. cross-compiling Qt 5.6 for HW accelerated OpenGL with eglfs on Raspbian Jessie
QtWS25 Last Chance

cross-compiling Qt 5.6 for HW accelerated OpenGL with eglfs on Raspbian Jessie

Scheduled Pinned Locked Moved Unsolved QtonPi
5 Posts 2 Posters 2.4k 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
    carter_james
    wrote on last edited by
    #1

    my configure script :
    ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot /home/raspberry/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /home/raspberry/raspi/qt5pi -hostprefix ~/raspi/qt5 -v

    how kann i fix broken symlinks ?

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

      have a look at issue 6 from https://wiki.qt.io/RaspberryPi2EGLFS

      wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
      chmod +x sysroot-relativelinks.py
      ./sysroot-relativelinks.py sysroot

      C 1 Reply Last reply
      0
      • sneubertS sneubert

        have a look at issue 6 from https://wiki.qt.io/RaspberryPi2EGLFS

        wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
        chmod +x sysroot-relativelinks.py
        ./sysroot-relativelinks.py sysroot

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

        @sneubert i work with this tutorial but i get some problem by the configuration and i would like
        to fix broken symlinks with fixQualifiedLibraryPaths script how does it work?

        my error:

        /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libz.so: Datei oder Verzeichnis nicht gefunden
        /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libglib-2.0.so: Datei oder Verzeichnis nicht gefunden
        /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/librt.so: Datei oder Verzeichnis nicht gefunden
        /home/raspberry/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /home/raspberry/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libm.so: Datei oder Verzeichnis nicht gefunden
        collect2: error: ld returned 1 exit status
        Makefile:1210: recipe for target '../../lib/libQt5Core.so.5.6.0' failed
        make[2]: *** [../../lib/libQt5Core.so.5.6.0] Error 1
        make[2]: Leaving directory '/home/raspberry/raspi/qtbase/src/corelib'
        Makefile:194: recipe for target 'sub-corelib-make_first' failed
        make[1]: *** [sub-corelib-make_first] Error 2
        make[1]: Leaving directory '/home/raspberry/raspi/qtbase/src'
        Makefile:45: recipe for target 'sub-src-make_first' failed
        make: *** [sub-src-make_first] Error 2

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

          The fixQualifiedLibraryPaths skript does not work well. the sysroot-relativelinks.py is working. Maybe the rsync was not succesfull. You have to pay attention on the rsync arguments. Especially make sure that there are no trailing backslashes in the path arguments.

          C 1 Reply Last reply
          0
          • sneubertS sneubert

            The fixQualifiedLibraryPaths skript does not work well. the sysroot-relativelinks.py is working. Maybe the rsync was not succesfull. You have to pay attention on the rsync arguments. Especially make sure that there are no trailing backslashes in the path arguments.

            C Offline
            C Offline
            carter_james
            wrote on last edited by
            #5

            @sneubert ...

            according to the turials folowing habe been yes.
            but in my case by the configure summary libinput and dev are not yes.they are no
            how can i do the they be yes please?
            Evdev .................. yes
            FontConfig ............. yes
            FreeType ............... yes (system library)
            ...
            libinput................ yes
            ...
            OpenGL / OpenVG:
            EGL .................. yes
            OpenGL ............... yes (OpenGL ES 2.0+)
            QPA backends:
            EGLFS ................ yes
            ...
            EGLFS Raspberry Pi . yes
            ...
            LinuxFB .............. yes
            ...
            udev ................... yes
            xkbcommon-evdev......... yes

            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