I'm editing the *.qml files using Qt Creator on Mac via Samba.
My Tablet is a Acer Iconia A210. Skins are located on the Core (is given by qOrbiter, i guess).
i tried to add a file under compontents/*
Therefore "Clock.qml" to "Clockdate.qml"in components/
Added this code to Screen_1qml
Clockdate{
id:screen1date
anchors.right: parent.right
anchors.rightMargin: scaleX(40)
anchors.verticalCenter: headerbg.verticalCenter
}
while Loading qOrbiter, a "./adb logcat" debug information from the device gives me:
D/Qt ( 4504): finishing load
D/Qt ( 4504): screenScreen_1.qml loaded.
D/Qt ( 4504): Starting timecode...
D/Qt ( 4504): opening connection to "192.168.80.1:12000"
W/Qt ( 4504): http://192.168.80.1/lmce-admin/skins/android/tablet/default/screens/Screen_1.qml:47:9: Clockdate is not a type
D/Qt ( 4504): Starting timecode...
D/Qt ( 4504): Time code running, moving on.
D/Qt ( 4504): "Starting screen switch"
D/Qt ( 4504): "About to call screenchange()"
D/Qt ( 4504): "Done call to screenchange()"
D/Qt ( 4504): "20:44:43::DCERouter Responded to Register with OK"
D/Qt ( 4504): loading page from network
D/Qt ( 4504): finishing load
D/Qt ( 4504): screenScreen_205.qml loaded.
D/Qt ( 4504): Starting timecode...
D/Qt ( 4504): Time code running, moving on.
D/Qt ( 4504): Screen Changed:http://192.168.80.1/lmce-admin/skins/android/tablet/default/screens/Screen_205.qml
D/Qt ( 4504): setFullScreen true
D/Qt ( 4504): setFullScreen true
D/NetdConnector( 186): RCV <- {601 limit alert globalAlert wlan0}
D/NetdConnector( 186): SND -> {bandwidth setglobalalert 2097152} {null}
D/NetdConnector( 186): RCV <- {200 Bandwidth command succeeeded}
D/NetdConnector( 186): RSP <- {200 Bandwidth command succeeeded}
D/Qt ( 4504): "Starting screen switch"
D/Qt ( 4504): "About to call screenchange()"
D/Qt ( 4504): "Done call to screenchange()"
W/Qt ( 4504): http://192.168.80.1/lmce-admin/skins/android/tablet/default/screens/Screen_1.qml:47:9: Clockdate is not a type
D/Qt ( 4504): Command to change to:Screen_1.qml failed!
D/Qt ( 4504): Screen Changed:http://192.168.80.1/lmce-admin/skins/android/tablet/default/screens/Screen_x.qml
V/Sensors ( 186): void cb_onMotion(uint16_t)
W/ActivityManager( 186): Activity destroy timeout for ActivityRecord{410cfea0 org.linuxmce.qorbiter/org.kde.necessitas.origo.QtActivity}
How can i add a qml to the components folder and load it?
Thanks for your help.
ochorocho