Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109497

Controls example shows only controls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.3.0
    • Qt3D
    • Tested on Windows using Android 10 emulator and Oneplus 5 running Android 10
    • Android, Windows

    Description

      Controls example shows only controls and gives error.

       

      W libcontrols_x86_64.so: QOpenGLShader::compile(Fragment): ERROR: 0:6: 'attribute' : supported in vertex shaders only 
      W libcontrols_x86_64.so: ERROR: 0:7: 'attribute' : supported in vertex shaders only 
      07-04 09:40:36.701 19980 20011 
      W libcontrols_x86_64.so: 
      W libcontrols_x86_64.so: *** Problematic Fragment shader source code *** 
      W libcontrols_x86_64.so: #version 100 
      W libcontrols_x86_64.so: #ifdef GL_KHR_blend_equation_advanced 
      W libcontrols_x86_64.so: #extension GL_ARB_fragment_coord_conventions : enable 
      W libcontrols_x86_64.so: #extension GL_KHR_blend_equation_advanced : enable 
      W libcontrols_x86_64.so: #endif 
      W libcontrols_x86_64.so: #ifndef GL_FRAGMENT_PRECISION_HIGH 
      W libcontrols_x86_64.so: #define highp mediump 
      W libcontrols_x86_64.so: #endif 
      W libcontrols_x86_64.so: #line 1 07-04 09:40:36.701 19980 20011 
      W libcontrols_x86_64.so: 
      W libcontrols_x86_64.so: #define LAYER_diffuse 
      W libcontrols_x86_64.so: #define LAYER_specular 
      W libcontrols_x86_64.so: #define LAYER_normal 
      W libcontrols_x86_64.so: uniform highp vec3 eyePosition; 
      W libcontrols_x86_64.so: attribute highp vec3 worldPosition; 
      W libcontrols_x86_64.so: attribute highp vec3 worldNormal; 
      W libcontrols_x86_64.so: uniform highp float shininess; 
      W libcontrols_x86_64.so: uniform highp vec4 ks; 
      W libcontrols_x86_64.so: uniform highp vec4 kd; 
      W libcontrols_x86_64.so: uniform highp vec4 ka; 
      W libcontrols_x86_64.so: /**************************************************************************** 
      W libcontrols_x86_64.so: ** 
      W libcontrols_x86_64.so: ** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB). 
      W libcontrols_x86_64.so: ** Contact: https://www.qt.io/licensing/ 
      W libcontrols_x86_64.so: ** 
      W libcontrols_x86_64.so: ** This file is part of the Qt3D module of the Qt Toolkit. 
      W libcontrols_x86_64.so: ** 
      W libcontrols_x86_64.so: ** $QT_BEGIN_LICENSE:BSD$ 
      W libcontrols_x86_64.so: ** Commercial License Usage 
      W libcontrols_x86_64.so: ** Licensees holding valid commercial Qt licenses may use this file in 
      W libcontrols_x86_64.so: ** accordance with the commercial license agreement provided with the 
      W libcontrols_x86_64.so: ** Software or, alternatively, 
      E eglCodecCommon: glUtilsParamSize: unknow param 0x000092f5
      

      Attachments

        1. controls.PNG
          controls.PNG
          28 kB
        2. controls1.PNG
          controls1.PNG
          25 kB

        Issue Links

          Activity

            People

              seanharmer Sean Harmer
              eliashautala Elias Hautala
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: