Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QEMU qml Text element does not display text
Forum Updated to NodeBB v4.3 + New Features

QEMU qml Text element does not display text

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.1k 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.
  • M Offline
    M Offline
    MichK
    wrote on last edited by
    #1

    Hi,
    Recently I tried start developing for Meego platform. I have installed newest packets using SDKMaintenanceTool.
    I can successfully run QEMU under Linux KUbuntu.
    I tried to run qml Hello World generated by QtCreator.
    However I am unable to see text "Hello World" on QEMU Harmattan display.
    Does anyone know what can be wrong?

    @Rectangle {
    width: 400
    height: 400
    color: "green"

    Text {
        id: helloTxt
        text: qsTr("Hello World")
        anchors.centerIn: parent
        width: paintedWidth
        height: paintedHeight
        font.pixelSize: 40
        
        color: "white"
    
        Component.onCompleted: console.log("[untitled] Text: " + text + " " + width + " " + height)
    }
    
    MouseArea {
        anchors.fill: parent
        onClicked: {
            Qt.quit();
        }
    }
    

    }@

    Edited by michal.k:
    I can see that I get similar error messages as in "this":http://developer.qt.nokia.com/forums/viewthread/10262 thread:

    X Error: RenderBadGlyphSet (invalid GlyphSet parameter) 148
    Extension: 142 (RENDER)
    Minor opcode: 25 (RenderCompositeGlyphs32)
    Resource id: 0×23

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RazrFalcon
      wrote on last edited by
      #2

      Just
      @text: "Hello World"@
      also didn't work?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MichK
        wrote on last edited by
        #3

        Hi,
        Thanks for the suggestion. However it does not make my text displayed.
        I think that problem is in my graphics card or Xorg configuration.
        My VGA controller is: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

        For now I have to imagine that text is displayed where it should be :)

        1 Reply Last reply
        0

        • Login

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