Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved]Text rendering problem in QML Harmattan
Forum Updated to NodeBB v4.3 + New Features

[Solved]Text rendering problem in QML Harmattan

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 3.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kunal_the_one
    wrote on 1 Oct 2011, 01:55 last edited by
    #1

    Hi,

    I recently upgraded my n950 to "version 34-2 [1.2011.34-2_PR_RM680" firmware and then after I started facing Text rendering problem in my application.

    I am not able to see any kind of text on my application. I tried using Lable or Text but nothing appear on screen. When I launch app from command prompt I get following error.

    "Unable to load graphicssystem "openvg"
    RemoteThemeDaemonClient: Failed to connect to theme server (that's OK if you're on a PC)
    LocalThemeDaemonClient: Looking for assets in "/usr/share/themes/blanco/meegotouch"
    loaded the Generic plugin
    loaded the grue plugin
    Loaded the MeeGo sensor plugin
    Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
    Component created
    Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
    Component created
    Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
    Component created
    Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
    Component created
    X Error: BadDamage (invalid Damage parameter) 153
    Extension: 146 (Uknown extension)
    Minor opcode: 2 (Unknown request)
    Resource id: 0x29
    X Error: RenderBadGlyphSet (invalid GlyphSet parameter) 148
    Extension: 143 (RENDER)
    Minor opcode: 25 (RenderCompositeGlyphs32)
    Resource id: 0x23
    X Error: RenderBadGlyphSet (invalid GlyphSet parameter) 148
    Extension: 143 (RENDER)
    Minor opcode: 25 (RenderCompositeGlyphs32)
    Resource id: 0x23
    X Error: RenderBadGlyphSet (invalid GlyphSet parameter) 148
    Extension: 143 (RENDER)
    Minor opcode: 25 (RenderCompositeGlyphs32)
    Resource id: 0x23
    X Error: RenderBadGlyphSet (invalid GlyphSet parameter) 148
    Extension: 143 (RENDER)
    Minor opcode: 25 (RenderCompositeGlyphs32)

    My sample QML code is as below.

    @import QtQuick 1.0
    import com.meego 1.0

    Item {
    id:button
    property alias text: btnText.text
    width: btnImage.width; height: btnImage.height

    signal clicked;
    
    Image {
        id: btnImage
        source: mouseArea.pressed ? "cloud_btn_on.png" : "cloud_btn.png"
    }
    Text {
        id: btnText
        anchors.centerIn: btnImage
    }
    
    MouseArea {
        id:mouseArea
        anchors.fill: parent
        onClicked: button.clicked();
    }
    

    }@

    Can anyone please provide some hints whats going wrong here.

    Thanks,
    Kunal

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kunal_the_one
      wrote on 1 Oct 2011, 09:11 last edited by
      #2

      I realized that I have set openvg as graphics system in my main.cpp and that was causing above issue.

      "QApplication::setGraphicsSystem("openvg");"

      After removing above line from main.cpp. My application is working fine now.

      1 Reply Last reply
      0

      1/2

      1 Oct 2011, 01:55

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved