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. Qt5.11 eglfs xcb on raspberry pi 3

Qt5.11 eglfs xcb on raspberry pi 3

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5raspberry pi 3eglfsxcbbackend
4 Posts 4 Posters 3.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.
  • S Offline
    S Offline
    Saman19
    wrote on last edited by
    #1

    Hello. I want to setup Qt on raspberry pi 3. I install every library that system required but when I cross compile Qt I got these errors:

    tforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmmain.cpp -o .moc/qeglfskmsgbmmain.moc
    Makefile:2849: recipe for target '.obj/qeglfskmsgbmwindow.o' failed
    make[7]: *** [.obj/qeglfskmsgbmwindow.o] Error 1
    make[7]: *** Waiting for unfinished jobs....
    make[7]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms'
    Makefile:98: recipe for target 'sub-eglfs_kms-make_first' failed
    make[6]: *** [sub-eglfs_kms-make_first] Error 2
    make[6]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs/deviceintegration'
    Makefile:104: recipe for target 'sub-deviceintegration-make_first-ordered' failed
    make[5]: *** [sub-deviceintegration-make_first-ordered] Error 2
    make[5]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs'
    Makefile:125: recipe for target 'sub-eglfs-make_first' failed
    make[4]: *** [sub-eglfs-make_first] Error 2
    make[4]: *** Waiting for unfinished jobs....

    my configuration:
    ./configure -opengl es2 -ssl -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/saman/QtonRaspb/tools-gcc-linaro-4.9/arm-bcm2708/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /media/saman/62ca0b6d-6291-4c40-b1fd-11bc291e4a381 -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -extprefix /home/saman/raspi/qt5pi -hostprefix /home/saman/raspi/qt5 -v -skip qtwayland -hostprefix /home/saman/raspberryPi3/Qt5.11.0

    My config summery:

    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: devices/linux-rasp-pi3-g++ (arm, CPU features: neon)
    Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports release_tools stl
    Build options:
    Mode ................................... release; optimized tools
    Optimize release build for size ........ no
    Building shared libraries .............. yes
    Using C++ standard ..................... C++14
    Using ccache ........................... no
    Using gold linker ...................... no
    Using new DTAGS ........................ yes
    Using precompiled headers .............. yes
    Using LTCG ............................. no
    Target compiler supports:
    NEON ................................. yes
    Build parts ............................ libs
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... yes
    Qt D-Bus directly linked to libdbus .... yes
    Qt Gui ................................. yes
    Qt Network ............................. yes
    Qt Sql ................................. yes
    Qt Testlib ............................. yes
    Qt Widgets ............................. yes
    Qt Xml ................................. yes
    Support enabled for:
    Using pkg-config ....................... yes
    udev ................................... no
    Using system zlib ...................... yes
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ yes
    GLib ................................... yes
    iconv .................................. no
    ICU .................................... yes
    Tracing backend ........................ <none>
    Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
    Using system PCRE2 ..................... no
    Qt Network:
    getifaddrs() ........................... yes
    IPv6 ifname ............................ yes
    libproxy ............................... no
    Linux AF_NETLINK ....................... yes
    OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
    OpenSSL 1.1 ............................ no
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Gui:
    Accessibility .......................... yes
    FreeType ............................... yes
    Using system FreeType ................ yes
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. yes
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... yes
    PNG .................................. yes
    Using system libpng ................ yes
    EGL .................................... yes
    OpenVG ................................. yes
    OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
    OpenGL ES 3.2 ........................ yes
    Vulkan ................................. no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    INTEGRITY HID .......................... no
    mtdev .................................. yes
    tslib .................................. yes
    xkbcommon-evdev ........................ yes
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. yes
    EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ yes
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... yes
    LinuxFB ................................ yes
    VNC .................................... yes
    Mir client ............................. no
    X11:
    Using system-provided XCB libraries .. yes
    EGL on X11 ........................... yes
    Xinput2 .............................. yes
    XCB XKB .............................. yes
    XLib ................................. yes
    XCB render ........................... yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... yes
    Native painting (experimental) ....... yes
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows
    Qt PrintSupport:
    CUPS ................................... yes
    Qt Sql:
    DB2 (IBM) .............................. no
    InterBase .............................. no
    MySql .................................. no
    OCI (Oracle) ........................... no
    ODBC ................................... no
    PostgreSQL ............................. yes
    SQLite2 ................................ yes
    SQLite ................................. yes
    Using system provided SQLite ......... no
    TDS (Sybase) ........................... yes
    Qt Testlib:
    Tester for item models ................. yes
    Qt SerialBus:
    Socket CAN ............................. yes
    Socket CAN FD .......................... yes
    QtXmlPatterns:
    XML schema support ..................... yes
    Qt QML:
    QML network support .................... yes
    QML debugging and profiling support .... yes
    QML delegate model ..................... yes
    Qt Quick:
    Direct3D 12 ............................ no
    AnimatedImage item ..................... yes
    Canvas item ............................ yes
    Support for Qt Quick Designer .......... yes
    Flipable item .......................... yes
    GridView item .......................... yes
    ListView item .......................... yes
    Path support ........................... yes
    PathView item .......................... yes
    Positioner items ....................... yes
    Repeater item .......................... yes
    ShaderEffect item ...................... yes
    Sprite item ............................ yes
    Qt Gamepad:
    SDL2 ................................... no
    Qt 3D:
    Assimp ................................. yes
    System Assimp .......................... no
    Output Qt3D Job traces ................. no
    Output Qt3D GL traces .................. no
    Use SSE2 instructions .................. no
    Use AVX2 instructions .................. no
    Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
    Qt 3D Renderers:
    OpenGL Renderer ........................ yes
    Qt 3D GeometryLoaders:
    Autodesk FBX ........................... no
    Qt Bluetooth:
    BlueZ .................................. yes
    BlueZ Low Energy ....................... yes
    Linux Crypto API ....................... yes
    WinRT Bluetooth API (desktop & UWP) .... no
    Qt Sensors:
    sensorfw ............................... no
    Qt Quick Controls 2:
    Styles ................................. Default Fusion Imagine Material Universal
    Qt Quick Templates 2:
    Hover support .......................... yes
    Multi-touch support .................... yes
    Qt Multimedia:
    ALSA ................................... yes
    GStreamer 1.0 .......................... yes
    GStreamer 0.10 ......................... no
    Video for Linux ........................ yes
    OpenAL ................................. no
    PulseAudio ............................. yes
    Resource Policy (libresourceqt5) ....... no
    Windows Audio Services ................. no
    DirectShow ............................. no
    Windows Media Foundation ............... no
    Qt WebEngine:
    Embedded build ......................... yes
    Pepper Plugins ......................... no
    Printing and PDF ....................... no
    Proprietary Codecs ..................... no
    Spellchecker ........................... yes
    Native Spellchecker .................... no
    WebRTC ................................. no
    Use System Ninja ....................... no
    Geolocation ............................ no
    Use v8 snapshot ........................ yes
    Building v8 snapshot supported ......... no
    Use ALSA ............................... yes
    Use PulseAudio ......................... yes
    Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    libsrtp .............................. no
    glib ................................. yes
    zlib ................................. yes
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. yes
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. no
    harfbuzz ............................. no
    Required system libraries:
    fontconfig ........................... yes
    dbus ................................. yes
    nss .................................. yes
    khr .................................. yes
    glibc ................................ yes
    Required system libraries for qpa-xcb:
    libdrm ............................... yes
    xcomposite ........................... yes
    xcursor .............................. yes
    xi ................................... yes
    xrandr ............................... yes
    xtst ................................. yes

    Note: Also available for Linux: linux-clang linux-icc

    Note: -optimized-tools is not useful in -release mode.

    Note: Dropped compiler flags '-pthread' when detecting library 'glib'.

    Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.

    Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.

    Please help to Correct these errors...

    Pablo J. RoginaP 1 Reply Last reply
    0
    • C Offline
      C Offline
      cranz32
      wrote on last edited by
      #2

      just disable that library support...

      1 Reply Last reply
      0
      • S Saman19

        Hello. I want to setup Qt on raspberry pi 3. I install every library that system required but when I cross compile Qt I got these errors:

        tforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmmain.cpp -o .moc/qeglfskmsgbmmain.moc
        Makefile:2849: recipe for target '.obj/qeglfskmsgbmwindow.o' failed
        make[7]: *** [.obj/qeglfskmsgbmwindow.o] Error 1
        make[7]: *** Waiting for unfinished jobs....
        make[7]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms'
        Makefile:98: recipe for target 'sub-eglfs_kms-make_first' failed
        make[6]: *** [sub-eglfs_kms-make_first] Error 2
        make[6]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs/deviceintegration'
        Makefile:104: recipe for target 'sub-deviceintegration-make_first-ordered' failed
        make[5]: *** [sub-deviceintegration-make_first-ordered] Error 2
        make[5]: Leaving directory '/home/saman/qt-everywhere-src-5.11.0/buildfinal/qtbase/src/plugins/platforms/eglfs'
        Makefile:125: recipe for target 'sub-eglfs-make_first' failed
        make[4]: *** [sub-eglfs-make_first] Error 2
        make[4]: *** Waiting for unfinished jobs....

        my configuration:
        ./configure -opengl es2 -ssl -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/saman/QtonRaspb/tools-gcc-linaro-4.9/arm-bcm2708/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /media/saman/62ca0b6d-6291-4c40-b1fd-11bc291e4a381 -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -extprefix /home/saman/raspi/qt5pi -hostprefix /home/saman/raspi/qt5 -v -skip qtwayland -hostprefix /home/saman/raspberryPi3/Qt5.11.0

        My config summery:

        Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
        Building for: devices/linux-rasp-pi3-g++ (arm, CPU features: neon)
        Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports release_tools stl
        Build options:
        Mode ................................... release; optimized tools
        Optimize release build for size ........ no
        Building shared libraries .............. yes
        Using C++ standard ..................... C++14
        Using ccache ........................... no
        Using gold linker ...................... no
        Using new DTAGS ........................ yes
        Using precompiled headers .............. yes
        Using LTCG ............................. no
        Target compiler supports:
        NEON ................................. yes
        Build parts ............................ libs
        Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... yes
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
        Support enabled for:
        Using pkg-config ....................... yes
        udev ................................... no
        Using system zlib ...................... yes
        Qt Core:
        DoubleConversion ....................... yes
        Using system DoubleConversion ........ yes
        GLib ................................... yes
        iconv .................................. no
        ICU .................................... yes
        Tracing backend ........................ <none>
        Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
        Using system PCRE2 ..................... no
        Qt Network:
        getifaddrs() ........................... yes
        IPv6 ifname ............................ yes
        libproxy ............................... no
        Linux AF_NETLINK ....................... yes
        OpenSSL ................................ yes
        Qt directly linked to OpenSSL ........ no
        OpenSSL 1.1 ............................ no
        SCTP ................................... no
        Use system proxies ..................... yes
        Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
        Using system FreeType ................ yes
        HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
        Fontconfig ............................. yes
        Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
        Using system libjpeg ............... yes
        PNG .................................. yes
        Using system libpng ................ yes
        EGL .................................... yes
        OpenVG ................................. yes
        OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ yes
        OpenGL ES 3.0 ........................ yes
        OpenGL ES 3.1 ........................ yes
        OpenGL ES 3.2 ........................ yes
        Vulkan ................................. no
        Session Management ..................... yes
        Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... no
        INTEGRITY HID .......................... no
        mtdev .................................. yes
        tslib .................................. yes
        xkbcommon-evdev ........................ yes
        QPA backends:
        DirectFB ............................... no
        EGLFS .................................. yes
        EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ yes
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGL on X11 ........................... yes
        LinuxFB ................................ yes
        VNC .................................... yes
        Mir client ............................. no
        X11:
        Using system-provided XCB libraries .. yes
        EGL on X11 ........................... yes
        Xinput2 .............................. yes
        XCB XKB .............................. yes
        XLib ................................. yes
        XCB render ........................... yes
        XCB GLX .............................. yes
        XCB Xlib ............................. yes
        Using system-provided xkbcommon ...... yes
        Native painting (experimental) ....... yes
        Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
        Qt PrintSupport:
        CUPS ................................... yes
        Qt Sql:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. yes
        SQLite2 ................................ yes
        SQLite ................................. yes
        Using system provided SQLite ......... no
        TDS (Sybase) ........................... yes
        Qt Testlib:
        Tester for item models ................. yes
        Qt SerialBus:
        Socket CAN ............................. yes
        Socket CAN FD .......................... yes
        QtXmlPatterns:
        XML schema support ..................... yes
        Qt QML:
        QML network support .................... yes
        QML debugging and profiling support .... yes
        QML delegate model ..................... yes
        Qt Quick:
        Direct3D 12 ............................ no
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Qt Quick Designer .......... yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        Repeater item .......................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
        Qt Gamepad:
        SDL2 ................................... no
        Qt 3D:
        Assimp ................................. yes
        System Assimp .......................... no
        Output Qt3D Job traces ................. no
        Output Qt3D GL traces .................. no
        Use SSE2 instructions .................. no
        Use AVX2 instructions .................. no
        Aspects:
        Render aspect ........................ yes
        Input aspect ......................... yes
        Logic aspect ......................... yes
        Animation aspect ..................... yes
        Extras aspect ........................ yes
        Qt 3D Renderers:
        OpenGL Renderer ........................ yes
        Qt 3D GeometryLoaders:
        Autodesk FBX ........................... no
        Qt Bluetooth:
        BlueZ .................................. yes
        BlueZ Low Energy ....................... yes
        Linux Crypto API ....................... yes
        WinRT Bluetooth API (desktop & UWP) .... no
        Qt Sensors:
        sensorfw ............................... no
        Qt Quick Controls 2:
        Styles ................................. Default Fusion Imagine Material Universal
        Qt Quick Templates 2:
        Hover support .......................... yes
        Multi-touch support .................... yes
        Qt Multimedia:
        ALSA ................................... yes
        GStreamer 1.0 .......................... yes
        GStreamer 0.10 ......................... no
        Video for Linux ........................ yes
        OpenAL ................................. no
        PulseAudio ............................. yes
        Resource Policy (libresourceqt5) ....... no
        Windows Audio Services ................. no
        DirectShow ............................. no
        Windows Media Foundation ............... no
        Qt WebEngine:
        Embedded build ......................... yes
        Pepper Plugins ......................... no
        Printing and PDF ....................... no
        Proprietary Codecs ..................... no
        Spellchecker ........................... yes
        Native Spellchecker .................... no
        WebRTC ................................. no
        Use System Ninja ....................... no
        Geolocation ............................ no
        Use v8 snapshot ........................ yes
        Building v8 snapshot supported ......... no
        Use ALSA ............................... yes
        Use PulseAudio ......................... yes
        Optional system libraries used:
        re2 .................................. no
        icu .................................. no
        libwebp, libwebpmux and libwebpdemux . no
        opus ................................. no
        ffmpeg ............................... no
        libvpx ............................... no
        snappy ............................... no
        libsrtp .............................. no
        glib ................................. yes
        zlib ................................. yes
        minizip .............................. no
        libevent ............................. no
        jsoncpp .............................. yes
        protobuf ............................. no
        libxml2 and libxslt .................. no
        lcms2 ................................ no
        png .................................. no
        JPEG ................................. no
        harfbuzz ............................. no
        Required system libraries:
        fontconfig ........................... yes
        dbus ................................. yes
        nss .................................. yes
        khr .................................. yes
        glibc ................................ yes
        Required system libraries for qpa-xcb:
        libdrm ............................... yes
        xcomposite ........................... yes
        xcursor .............................. yes
        xi ................................... yes
        xrandr ............................... yes
        xtst ................................. yes

        Note: Also available for Linux: linux-clang linux-icc

        Note: -optimized-tools is not useful in -release mode.

        Note: Dropped compiler flags '-pthread' when detecting library 'glib'.

        Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.

        Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.

        Please help to Correct these errors...

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @Saman19 please don't double post! You even copied the same output in both posts...

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Topic locked for duplication

          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

          • Login

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