[Solved] NetworkInfo and Symbian components
-
What does not work together? How are you trying to make whichever two work together?
-
if i create simple qml file:
@import QtQuick 1.1
import QtMobility.systeminfo 1.1
import QtMobility.sensors 1.1
import com.nokia.symbian 1.1Item {
NetworkInfo {
id: wlaninfo
mode: NetworkInfo.WlanMode
monitorNameChanges: true
monitorSignalStrengthChanges: true
}
Text {
id: signame
color: "white"
text: wlaninfo.networkName + " " +wlaninfo.networkSignalStrength
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
}@...im getting this error: Element is not creatable.
NetworkInfo {
^removing line: import com.nokia.symbian 1.1 removes the error but means i can't use symbian components
-
I made it as a part of a quite big code but some basic sniplets, ici il est:
@import QtQuick 1.1
import com.nokia.symbian 1.1
import QtMobility.systeminfo 1.1
import MojeInfo 1.0import "gfx"
@
@ NetworkInfo{
id: myNetwork
}
@
@ SysListItem{
id: sli5
x: 110
y: 170
txt: "MAC: "+myNetwork.macAddress
}@ -