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. QT6 Cross-compilation RPI4 error OpenGL
Forum Updated to NodeBB v4.3 + New Features

QT6 Cross-compilation RPI4 error OpenGL

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 390 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.
  • M Offline
    M Offline
    MStackoverflow
    wrote on 26 Aug 2021, 15:10 last edited by MStackoverflow
    #1

    Hi,

    I've successfully cross-compiled QT 5.15.2 with OpenGL (EGL and GLESv2) following the video tutorial from here :
    https://www.youtube.com/watch?v=TmtN3Rmx9Rk&t=2054s

    However, when I try to build any QT6 with the cmake method described on the official website :
    https://doc-snapshots.qt.io/qt6-dev/configure-linux-device.html

    I cannot get EGL and GLESv2 to configure.
    Because I can get QT5 to configure, I don't see why it should'nt work with QT6.

    Do anybody knows how to link EGL GLESv2 correctly?

    The error :

    ERROR: The OpenGL functionality tests failed!  You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
    
    CMake Error at cmake/QtBuildInformation.cmake:72 (message):
      Check the configuration messages for an error that has occurred.
    Call Stack (most recent call first):
      cmake/QtBuildInformation.cmake:10 (qt_configure_print_summary)
      cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:472 (qt_print_feature_summary)
      CMakeLists.txt:174 (qt_build_repo_end)
    
    1 Reply Last reply
    0
    • N Offline
      N Offline
      niedzviedz
      wrote on 14 Jul 2023, 17:09 last edited by
      #2

      For anyone who still struggles.
      Make sure that you have correct rpi OS bitness. For example it is common that you have 32bit os on 64 bit rpi4. Make sure that you use correct cross-compiler.
      Official Qt instruction requires 64bit OS.

      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