The errors you are encountering suggest that there is a problem with the location attribute in your vertex shader. In OpenGL, the location attribute specifies the index of a vertex attribute in the shader program, and it should be unique for each attribute.
In your case, it seems that two vertex attributes are using the same location (location 16), which is causing the conflict. To resolve this issue, you should check your vertex shader code and ensure that each attribute has a unique location specified.
One way to do this is to explicitly specify the location for each attribute in the shader code, like this:
layout(location = 0) in vec3 vertexPosition;
layout(location = 1) in vec3 vertexNormal;
layout(location = 2) in vec2 vertexTexCoord;
layout(location = 3) in vec4 vertexTangent;
Then, you should update your QtDesign code to match the specified locations for each vertex attribute in the shader.
If the issue persists, you could also try checking if there are any conflicting locations specified in the QtDesign Studio UI.
Also, you may want to ensure that you are using the correct version of the shader language in your shader code. The code you provided uses version 330 core, which should work for most modern OpenGL implementations.