[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    qml module not installed
From:       Damian Ivanov <damianatorrpm () gmail ! com>
Date:       2012-09-19 13:18:54
Message-ID: CAPVS_cdGN5-UKU+=it+EBQziNKN-xyBsD3btKgHOzUbC2KkUdA () mail ! gmail ! com
[Download RAW message or body]

Hi,

I am trying to make a qml plasmoid when running it I get

module "org.kde.plasma.graphicswidgets" is not installed
     import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets

//Thats the actual file
import Qt 4.7
import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets

Item {
 id: 'item'
 PlasmaWidgets.PushButton {
  id:btn1
  anchors { left: parent.left
                    bottom: parent.bottom
                    top: parent.top
                  }
  text: "This is a Button!"
  onClicked: {print("hello world") ;  lbl.text= " hello label"}
                                                    }

 PlasmaWidgets.Label {
  id: lbl
  anchors { right: parent.right
                    bottom: parent.bottom
                    top: parent.top
                    left: btn1.right
                  }
  text: " This is a Label!"
                                         }
 }


Can anybody help me figure out what went wrong?

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic