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

3d-text example blank screen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.3.0
    • Qt3D
    • Tested on Windows using Android 10 emulator and Oneplus 5 running Android 10
    • Android, Windows

      3d-text example shows only blank screen and gives error message.

       

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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes