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 Qt Everywhere Raspberry Pi
QtWS25 Last Chance

Cross compiling Qt Everywhere Raspberry Pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
cross-compilingraspberry eglfsraspbianraspberry
2 Posts 2 Posters 1.1k 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.
  • H Offline
    H Offline
    herionoid
    wrote on last edited by
    #1

    I want to cross compiling qt application for embeded raspberry pi, my system is

    Host: Manjaro 17.10 64 bit
    Pi: Raspberry pi 2, Raspbian Strecth
    Qt version: 5.9

    I have follow instruction from https://wiki.qt.io/RaspberryPi2EGLFS, during the process there not any single error, but when i try to run example program (qtbase/qopenglwidget) i got error segmentation fault.

    Then i try to debug qopenglwidget, i got message Thread 1 qopenglwidget received signal SIGSEGV, Segmentation fault, 0x75... in platform_get_handle () from /opt/vc/lib/libEGL.so.

    Then i check folder /opt/vc/lib/ but in the folder nothing libEGL.so. event tough i was retried twice follow the step with care.

    My question is, how to solve the the segmentation fault?

    Thank's.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vivx701
      wrote on last edited by Vivx701
      #2

      Did you try the this https://bugreports.qt.io/browse/QTBUG-62216

      For the pi2 configuration the change should be something like this:

      -QMAKE_LIBS_EGL = -lEGL -lGLESv2
      -QMAKE_LIBS_OPENVG = -lEGL -lOpenVG -lGLESv2
      +QMAKE_LIBS_EGL = -lbrcmEGL -lbrcmGLESv2
      +QMAKE_LIBS_OPENGL_ES2 = -lbrcmEGL -lbrcmGLESv2
      +QMAKE_LIBS_OPENVG = -lbrcmEGL -lbrcmOpenVG -lbrcmGLESv2

      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