After having Qt 5.3.0 running on my Cubieboard A20, I decided to run the usual Qt Cinematic Experience app from QuitCoding.
I got the Qt5_CinematicExperience_rpi_1.0.tgz version, same as usual, and while expecting to get the action, I got this instead:
Qt5_CinematicExperience.qml:26:5: Type MainView unavailable
MainView {
^
/content/MainView.qml:241:9: Type SettingsView unavailable
SettingsView {
^
/content/SettingsView.qml:88:13: Type Switch unavailable
Switch {
^
/content/Switch.qml:9:21: Cannot assign a value to a signal (expecting a script to be run)
property string onText: "On"
^
This issue showed up on both systems - my laptop and cubieboard, and while not entirely sure why that was, the solution came out of editing Switch.qml and SettingsView.qml and doing the following replacements:
onText > textON
offText > textOFF
... and Cinematic Experience runs once more on both platforms! :)
Coding Chase - Projects
Subscribe to:
Post Comments
(
Atom
)
Thanks, works fine for me.
ReplyDeleteFor a quick test I executed on a target system's shell:
cd /usr/share/cinematicexperience-1.0/content
sed -i 's/onText/textON/g' Switch.qml SettingsView.qml
sed -i 's/offText/textOFF/g' Switch.qml SettingsView.qml