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. QOpenGLShader::link: LinkShaders: Too many instructions.

QOpenGLShader::link: LinkShaders: Too many instructions.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 774 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.
  • A Offline
    A Offline
    aRcleR
    wrote on 9 Aug 2019, 13:55 last edited by aRcleR 8 Sept 2019, 13:56
    #1

    Hi, I'm trying to execute the Qt3D simple-cpp application on imx6. But I get the error QOpenGLShader::link: LinkShaders: Too many instructions.

    Compilation goes fine, execution also starts but I can't see anything on the screen.
    Has someone get this kind of error? I can't find information on google..
    I'm using Qt 5.9.6 and for the example I have selected this revision.

    Thanks in advance!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 9 Aug 2019, 14:02 last edited by
      #2

      Hi
      It does sound like this
      https://bugreports.qt.io/browse/QTBUG-59349
      you could try adding environment var
      QT3D_GLSL100_WORKAROUND
      and see if that makes any difference.

      A 1 Reply Last reply 9 Aug 2019, 15:01
      1
      • E Offline
        E Offline
        Eddy
        wrote on 9 Aug 2019, 14:04 last edited by
        #3

        Can you run other examples in your imx6? What setup are you using?

        A lot has been changed in Qt3D since version Qt 5.9.6. Is there a specific reason not to use the latest version?

        Qt Certified Specialist
        www.edalsolutions.be

        A 1 Reply Last reply 9 Aug 2019, 16:57
        1
        • M mrjj
          9 Aug 2019, 14:02

          Hi
          It does sound like this
          https://bugreports.qt.io/browse/QTBUG-59349
          you could try adding environment var
          QT3D_GLSL100_WORKAROUND
          and see if that makes any difference.

          A Offline
          A Offline
          aRcleR
          wrote on 9 Aug 2019, 15:01 last edited by
          #4

          @mrjj I'll try it to see what happens.. Thanks!

          M 1 Reply Last reply 9 Aug 2019, 15:08
          1
          • A aRcleR
            9 Aug 2019, 15:01

            @mrjj I'll try it to see what happens.. Thanks!

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 9 Aug 2019, 15:08 last edited by
            #5

            @arcler
            Ok. please report back if it works or not. Good to know.
            Also, please consider @Eddy very good questions.

            1 Reply Last reply
            1
            • E Eddy
              9 Aug 2019, 14:04

              Can you run other examples in your imx6? What setup are you using?

              A lot has been changed in Qt3D since version Qt 5.9.6. Is there a specific reason not to use the latest version?

              A Offline
              A Offline
              aRcleR
              wrote on 9 Aug 2019, 16:57 last edited by
              #6

              @eddy I'm using what som provider offers (toradex) and Qt comes in this version.
              Maybe it's a good solution use the latest LTS QT, i think is 5.12.. but by now we don't have time to switch to..

              Thanks!

              1 Reply Last reply
              0

              2/6

              9 Aug 2019, 14:02

              topic:navigator.unread, 4
              • Login

              • Login or register to search.
              2 out of 6
              • First post
                2/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved