Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there a fix for Qt-Raspi EGL/GLES names mismatch?
QtWS25 Last Chance

Is there a fix for Qt-Raspi EGL/GLES names mismatch?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 378 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.
  • R Offline
    R Offline
    rrd0
    wrote on last edited by
    #1

    Since Raspbian Stretch, Qt and Raspberry Pi use different names to refer to EGL/GLES shared objects and this is making some people very upset (and with good reason).

    The issue is described in this and this bug reports and has been around for a long time.

    There are some possible solutions to that problem:

    • edit qmake.conf
    • use symlinks
    • run rpi-update

    None of them worked for me.

    So I'm here to ask:

    1. Are there plans to put Qt and Raspbian on the same page again in the future?
    2. Does anyone know a solution (that really works) to the problem?
    Pablo J. RoginaP 1 Reply Last reply
    0
    • R Offline
      R Offline
      rrd0
      wrote on last edited by
      #6

      It's working now.

      The problem was linux-rasp-pi3-g++'s qmake.conf file. If we're building Qt for RPi3 we need to create a new qmake.conf based on linux-rasp-pi-g++ and replace the build flags with those from linux-rasp-pi3-g++.

      The fix is described in this guide.

      1 Reply Last reply
      0
      • R rrd0

        Since Raspbian Stretch, Qt and Raspberry Pi use different names to refer to EGL/GLES shared objects and this is making some people very upset (and with good reason).

        The issue is described in this and this bug reports and has been around for a long time.

        There are some possible solutions to that problem:

        • edit qmake.conf
        • use symlinks
        • run rpi-update

        None of them worked for me.

        So I'm here to ask:

        1. Are there plans to put Qt and Raspbian on the same page again in the future?
        2. Does anyone know a solution (that really works) to the problem?
        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #2

        @rrd0

        1. Are there plans to put Qt and Raspbian on the same page again in the future?

        That's a question for the Qt company. This is a users drvien forum...

        1. Does anyone know a solution (that really works) to the problem?

        Have you check this guide? See step #6 regarding EGL libraries naming which uses the edit qmake.conf approach.

        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

        R 1 Reply Last reply
        0
        • Pablo J. RoginaP Pablo J. Rogina

          @rrd0

          1. Are there plans to put Qt and Raspbian on the same page again in the future?

          That's a question for the Qt company. This is a users drvien forum...

          1. Does anyone know a solution (that really works) to the problem?

          Have you check this guide? See step #6 regarding EGL libraries naming which uses the edit qmake.conf approach.

          R Offline
          R Offline
          rrd0
          wrote on last edited by
          #3

          @pablo-j-rogina said in Is there a fix for Qt-Raspi EGL/GLES names mismatch?:

          Have you check this guide? See step #6 regarding EGL libraries naming which uses the edit qmake.conf approach.

          Yes. I tried that before.

          Pablo J. RoginaP 1 Reply Last reply
          0
          • R rrd0

            @pablo-j-rogina said in Is there a fix for Qt-Raspi EGL/GLES names mismatch?:

            Have you check this guide? See step #6 regarding EGL libraries naming which uses the edit qmake.conf approach.

            Yes. I tried that before.

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

            @rrd0 said in Is there a fix for Qt-Raspi EGL/GLES names mismatch?:

            I tried that before.

            so? did it worked for you?

            According to the guide I pointed out, it's a solution for the scenario you mentioned

            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

            R 1 Reply Last reply
            0
            • Pablo J. RoginaP Pablo J. Rogina

              @rrd0 said in Is there a fix for Qt-Raspi EGL/GLES names mismatch?:

              I tried that before.

              so? did it worked for you?

              According to the guide I pointed out, it's a solution for the scenario you mentioned

              R Offline
              R Offline
              rrd0
              wrote on last edited by
              #5

              @pablo-j-rogina

              It didn't work.

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rrd0
                wrote on last edited by
                #6

                It's working now.

                The problem was linux-rasp-pi3-g++'s qmake.conf file. If we're building Qt for RPi3 we need to create a new qmake.conf based on linux-rasp-pi-g++ and replace the build flags with those from linux-rasp-pi3-g++.

                The fix is described in this guide.

                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