Quantcast
Viewing all articles
Browse latest Browse all 4972

Image and warning X3206: implicit truncation of vector type

Hello, I am porting my app from QtQuick 1.1 to 2.0 and I have following code: Item {     id: container     width: 61     height: 59     property url bgImage: "qrc:/images/buttons/button1.png"       Image {         id: __bgImage         source: container.bgImage         anchors.top: parent.top; anchors.left: parent.left;         anchors.topMargin: 4; anchors.leftMargin: -4         visible: container.state==''         opacity: container.enabled ? 1.0 : 0.6     } } Image is displayed fine but I am getting following warning in application output: QOpenGLShader::link: "(35,18): warning X3206: implicit truncation of vector type" If I comment the source property in the __bgImage, then the warning is gone. I am running Qt 5.0.1 with Mingw32 on Windows 7. Can anyone tell me what this warning actually means and how to get rid off it? Thanks!

Viewing all articles
Browse latest Browse all 4972

Trending Articles