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 *Mv 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
For Gerrit Dashboard: QTBUG-64428 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
211626,2 | Use texture() GLSL function rather than texture2D() in core profile | 5.10 | qt/qt3d | Status: MERGED | +2 | 0 |