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

Qt 3D auto visualizer example crashes on startup with a Runtime error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.10.0 RC
    • 5.10.0 Beta 4
    • Qt3D
    • None

    Description

      console output:

       

      Debugging starts
      
      0.000 debugger\qqmldebug.cpp(53):QML debugging is enabled. Only use this in a safe environment.
      
      1.440 qtcpserverconnection.cpp(168):QML Debugger: Waiting for connection on port 51439...
      
      12.241 opengl\qopenglshaderprogram.cpp(420):QOpenGLShader::compile(Fragment): ERROR: 3:21: 'texture2D' : function is removed in Forward Compatibile context
      
      ERROR: 3:21: 'texture2D' : no matching overloaded function found (using implicit conversion)
      
      ERROR: 3:21: '=' : cannot convert from 'const float' to '4-component vector of float'
      
      ERROR: 3:37: 'texture2D' : function is removed in Forward Compatibile context
      
      ERROR: 3:37: 'texture2D' : no matching overloaded function found (using implicit conversion)
      
      ERROR: 3:37: '=' : cannot convert from 'const float' to '4-component vector of float'
      
      
      
      
      12.242 opengl\qopenglshaderprogram.cpp(426):*** Problematic Fragment shader source code ***
      
      #version 140
      
      #define lowp
      
      #define mediump
      
      #define highp
      
      #line 1
      
      
      
      
      in vec3 worldPosition;
      
      uniform vec3 eyePosition;
      
      in vec3 worldNormal;
      
      in vec4 worldTangent;
      
      in vec2 texCoord;
      
      uniform vec4 ka;
      
      uniform sampler2D diffuseTexture;
      
      uniform vec4 ks;
      
      uniform float shininess;
      
      /****************************************************************************
      
      **
      
      ** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
      
      ** Contact: https://www.qt.io/licensing/
      
      **
      
      ** This file is part of the Qt3D module of the Qt Toolkit.
      
      **
      
      ** $QT_BEGIN_LICENSE:BSD$
      
      ** Commercial License Usage
      
      ** Licensees holding valid commercial Qt licenses may use this file in
      
      ** accordance with the commercial license agreement provided with the
      
      ** Software or, alternatively, in accordance with the terms contained in
      
      ** a written agreement between you and The Qt Company. For licensing terms
      
      ** and conditions see https://www.qt.io/terms-conditions. For further
      
      *Ìwˆ
      
      12.243 kernel\qmetaobject.cpp(3099):QMetaProperty::read: Unable to handle unregistered datatype 'const QQuickPointerDevice*' for property 'QQuickPointerEvent::device'
      
      12.697 opengl\qopenglshaderprogram.cpp(420):QOpenGLShader::compile(Fragment): ERROR: 3:21: 'texture2D' : function is removed in Forward Compatibile context
      
      ERROR: 3:21: 'texture2D' : no matching overloaded function found (using implicit conversion)
      
      ERROR: 3:21: '=' : cannot convert from 'const float' to '4-component vector of float'
      
      ERROR: 3:37: 'texture2D' : function is removed in Forward Compatibile context
      
      ERROR: 3:37: 'texture2D' : no matching overloaded function found (using implicit conversion)
      
      ERROR: 3:37: '=' : cannot convert from 'const float' to '4-component vector of float'
      
      
      
      
      12.697 opengl\qopenglshaderprogram.cpp(426):*** Problematic Fragment shader source code ***
      
      #version 140
      
      #define lowp
      
      #define mediump
      
      #define highp
      
      #line 1
      
      
      
      
      in vec3 worldPosition;
      
      uniform vec3 eyePosition;
      
      in vec3 worldNormal;
      
      in vec4 worldTangent;
      
      in vec2 texCoord;
      
      uniform vec4 ka;
      
      uniform sampler2D diffuseTexture;
      
      uniform vec4 ks;
      
      uniform float shininess;
      
      /****************************************************************************
      
      **
      
      ** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
      
      ** Contact: https://www.qt.io/licensing/
      
      **
      
      ** This file is part of the Qt3D module of the Qt Toolkit.
      
      **
      
      ** $QT_BEGIN_LICENSE:BSD$
      
      ** Commercial License Usage
      
      ** Licensees holding valid commercial Qt licenses may use this file in
      
      ** accordance with the commercial license agreement provided with the
      
      ** Software or, alternatively, in accordance with the terms contained in
      
      ** a written agreement between you and The Qt Company. For licensing terms
      
      ** and conditions see https://www.qt.io/terms-conditions. For further
      
      *M‡v
      
      12.699 materialsystem\shadercache.cpp(87):ASSERT: "!m_programHash.contains(dna)" in file materialsystem\shadercache.cpp, line 87
      
      17.793 kernel\qobject.cpp(247):QObject::~QObject: Timers cannot be stopped from another thread
      
      17.799 qqmldebugserver.cpp(655):ASSERT: "!m_thread.isRunning()" in file qqmldebugserver.cpp, line 655
      
      Debugging has finished

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            smd Jan Arve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes