Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Cross compiling Qt6 for raspberry pi with eglfs option
Forum Updated to NodeBB v4.3 + New Features

Cross compiling Qt6 for raspberry pi with eglfs option

Scheduled Pinned Locked Moved Unsolved Qt 6
1 Posts 1 Posters 381 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.
  • G Offline
    G Offline
    glamis
    wrote on last edited by
    #1

    I'm trying to compile Qt6 for Raspberry Pi Zero W with EGLFS option enabled. Previously I have successfully compiled and deployed QT5.15 on the same platform with EGLFS so I'm reusing the same developpement environment (same sysroot and cross compiler). However after configuration I cannot get the EGLFS Raspberry Pi option to be enabled i.e. the output is:

     eglfs .................................. yes
      EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... no
        EGLFS GBM ............................ yes
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        eglfs_brcm ........................... yes
        EGLFS X11 ............................ no
    

    However in CMakeError.log I see :

    Test HAVE_egl_brcm failed with the following output:
    ...
    undefined reference to `vc_dispmanx_display_open
    

    My cmake configuration options are :

        cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DINPUT_opengl=es2 -DQT_FEATURE_opengles3=ON -DQT_FEATURE_eglfs=ON -DQT_FEATURE_eglfs_brcm=ON -DQT_QPA_DEFAULT_PLATFORM=eglfs\
        -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF \
        -DQT_HOST_PATH=$QT_HOST_PATH                          \
        -DCMAKE_STAGING_PREFIX=$SYSROOT_PATH/$QT_INSTALL_PATH_ON_PI                  \
        -DCMAKE_INSTALL_PREFIX=/$QT_INSTALL_PATH_ON_PI                 \
        -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN_FILE  \
        $QT_SRC_PATH/qtbase
    

    I know that my CMAKE_TOOLCHAIN_FILE file works as I have used it previously for other projects.
    Do you know what I'm doing wrong ?

    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