Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Wierd looking text in TableView section in Qt 5.1.0 Beta

$
0
0
The text of the sections in a tableview are not rendered correctly. (It is the same sort of effect with text running the “Scene Graph – OpenGL Under QML” example.) Here is a screenshot od the TableView problem My code is simple: import QtQuick 2.0 import QtQuick.Controls 1.0 import QtQuick.Window 2.0   ApplicationWindow {     width: 640     height: 480         Component {         id: sectionDel         Rectangle {             height: childrenRect.height             width: mainTable.width             color: "lightsteelblue"             Text {                 x: 20                 text: section                 font.bold: true             }         }     }       ListModel {        id: libraryModel        ListElement{ title: "A Masterpiece" ; author: "Gabriel"; cat: "big" }        ListElement{ title: "Outstanding"   ; author: "Frederik"; cat: "big" }        ListElement{ title: "Brilliance"    ; author: "Jens"; cat: "small" }     }     TableView {        id: mainTable        TableViewColumn{ role: "title"  ; title: "Title" ; width: 100 }        TableViewColumn{ role: "author" ; title: "Author" ; width: 200 }        model: libraryModel        section.property: "cat"        section.criteria: ViewSection.FullString        section.delegate: sectionDel     } } I am using windows 7 Enterprise 32bit My opengl version according to “OpenGL Extensions Viewer” is 2.0. I get the following warnings/errors when running the QML project: Starting C:\Qt\Qt5.1.0\5.1.0-beta1\mingw47_32\bin\qmlscene.exe D:/prototypes/QuickWithControlsTest/QuickWithControlsTest.qml getProcAddress: Unable to resolve ‘glGenFramebuffers’ getProcAddress: Unable to resolve ‘glGenFramebuffersOES’ getProcAddress: Unable to resolve ‘glGenFramebuffersARB’ getProcAddress: Unable to resolve ‘glBindFramebuffer’ getProcAddress: Unable to resolve ‘glBindFramebufferOES’ getProcAddress: Unable to resolve ‘glBindFramebufferARB’ getProcAddress: Unable to resolve ‘glFramebufferTexture2D’ getProcAddress: Unable to resolve ‘glFramebufferTexture2DOES’ getProcAddress: Unable to resolve ‘glFramebufferTexture2DARB’ QOpenGLShader::link: “No errors.” getProcAddress: Unable to resolve ‘glFramebufferRenderbuffer’ getProcAddress: Unable to resolve ‘glFramebufferRenderbufferOES’ getProcAddress: Unable to resolve ‘glFramebufferRenderbufferARB’ QOpenGLShader::link: “No errors.” QOpenGLShader::link: “No errors.” QOpenGLShader::link: “No errors.” QOpenGLShader::link: “No errors.”

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images