Discussion Board

Results 1 to 4 of 4

Threaded View

  1. #1
    Registered User
    Join Date
    Apr 2008
    Budapest, Hungary

    QtComponents with MeeGo Harmattan problem - InfoBanner


    I was trying to create an InfoBanner element as I have seen it in the reference:
    import QtQuick 1.1
    import com.nokia.meego 1.0
    PageStackWindow {
        id: appWindow
        initialPage: main
        InfoBanner {
             id: banner
             text: ""
             timerShowTime: 3000
            // added a few properties and signals
            id: main
            to: "EN"
            onSelect: langSelector.open()
            onToChanged: {
                banner.text = "Selected language is now "+to
        ToolBarLayout {
            id: commonTools
            visible: true
            Label {
                verticalAlignment: Text.AlignVCenter
                horizontalAlignment: Text.AlignHCenter
                anchors.centerIn: parent
                id: toolBarText
                text: "Target: "+main.to
        Menu {
            id: langSelector
            visualParent: pageStack
            MenuLayout {
    It works perfectly when I remove the InfoBanner element, but when it's in it says
    InfoBanner is not a type
    when running, (to be honest, it's just a blank screen, but not running)
    unknown type
    in the editor. The design view fails, but it has never worked for me with Components.

    Do you know what could I do?

    Last edited by molbal; 2011-08-02 at 19:42. Reason: removing post icon - problem solved

Similar Threads

  1. Accessing ShareUI on Harmattan/MeeGo ?
    By mac1ej in forum Nokia N9
    Replies: 34
    Last Post: 2012-03-23, 02:49
  2. Trouble getting declarative examples working with Harmattan
    By GuusDavidson in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-08-19, 16:07
  3. Replies: 6
    Last Post: 2011-07-23, 14:41
  4. Sources of Widgets Galleries for MeeGo 1.2 Harmattan
    By svlasov in forum [Archived] Qt SDKs and Tools
    Replies: 0
    Last Post: 2011-07-07, 13:03
  5. Replies: 2
    Last Post: 2010-10-22, 23:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts