Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20856

Unable to run GL Programs from within QT Creator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.7.0
    • Fix Version/s: None
    • Component/s: All Other Issues
    • Labels:
      None
    • Environment:
      Windows 10
      Qt 5.7.1
    • Platform/s:
      Windows

      Description

      In the prior version of Creator, 4.5.0, I was able to directly run my OpenGL 3.0 application from within Creator.

      Now that I've upgraded to 4.7, I get errors as if I don't have proper OpenGL drivers on the system.  The executable builds fine, and I can run it manually from it's build directory, but it won't run from within creator anymore.  I get errors like the following

      QOpenGLShader::compile(Vertex): ERROR: 0:1: 'core' : invalid version directive

      ERROR: 0:2: 'in' : storage qualifier supported in GLSL ES 3.00 only

       

      QOpenGLShader::compile(Fragment): ERROR: 0:1: 'core' : invalid version directive

      ERROR: 0:2: 'out' : storage qualifier supported in GLSL ES 3.00 only

      ERROR: 0:2: '' : No precision specified for (float)

      ERROR: 0:3: '' : No precision specified for (float)

      ERROR: 0:6: '' : No precision specified for (float)

      ERROR: 0:7: '' : No precision specified for (float

       Etc, when these errors did not occur in the past version.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTCREATORBUG-20856
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              gnatty Nate Reid
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes