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. Cross compiling for raspberry pi 4 problem

Cross compiling for raspberry pi 4 problem

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 475 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.
  • aminaA Offline
    aminaA Offline
    amina
    wrote on last edited by amina
    #1

    I just cross compiled QT on ubuntu for my raspberry this is the code that I followed https://github.com/PhysicsX/QTonRaspberryPi/blob/main/qt5.14.2onRaspberrypi .

    I think that I did something wrong because when I created a project and tried to test it on my raspberry I had this error and the system crashed

    Could not queue DRM page flip on screen HDMI (invalid argument)

    there is some problem with eglfs (the project worked with ./speedometer -platform linuxfb

    how to fix this and also I have this error while triyng to compile a new project

    I am new to Qt can someone please explain to me what is wrong ? do I need to reinstall it ?

    DiracsbracketD 1 Reply Last reply
    0
    • aminaA amina

      I just cross compiled QT on ubuntu for my raspberry this is the code that I followed https://github.com/PhysicsX/QTonRaspberryPi/blob/main/qt5.14.2onRaspberrypi .

      I think that I did something wrong because when I created a project and tried to test it on my raspberry I had this error and the system crashed

      Could not queue DRM page flip on screen HDMI (invalid argument)

      there is some problem with eglfs (the project worked with ./speedometer -platform linuxfb

      how to fix this and also I have this error while triyng to compile a new project

      I am new to Qt can someone please explain to me what is wrong ? do I need to reinstall it ?

      DiracsbracketD Offline
      DiracsbracketD Offline
      Diracsbracket
      wrote on last edited by Diracsbracket
      #2

      @amina said in Cross compiling for raspberry pi 4 problem:

      Could not queue DRM page flip on screen HDMI

      Could this be of help:
      https://www.raspberrypi.org/forums/viewtopic.php?t=252614
      and
      https://bugreports.qt.io/browse/QTBUG-72538

      In particular, setting

      QT_QPA_EGLFS_KMS_ATOMIC=1
      

      solved my problem.

      1 Reply Last reply
      0
      • aminaA Offline
        aminaA Offline
        amina
        wrote on last edited by
        #3

        @Diracsbracket sorry for my late relay it was the first time that I post in this forum and I didn't get any notification so I thought that nobody answered ! actually I deleted the qt version because I couldn't fix it and I got other problems I couldn't even import QtQuick.Studio.Components 1.0 it does not exist, so I tried to uninstall all of it and tried again from the beginning ! I am still stack :( ! couldn't make it work :( please if you have any good documentation on how to cross compile qt on an os without a desktop version please share it with me ! and also which configuration should I make in my os to make qt work (I created an os with buildroot which is very minimal )

        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