View Single Post
Posts: 15 | Thanked: 2 times | Joined on Sep 2012
#10
EDIT: Alles goed! Just noticed that of course the SSH commands can not work if not using N9 itself for testing.

Originally Posted by marxian View Post
There is a missing argument (the error string) in your call to qmlRegisterUncreatableType. The error string can be anything you like, for example:

Code:
qmlRegisterUncreatableType<QDeclarativeProcessEnums>("org.component.Processes", 1, 0, "Processes", "Cannot be created in QML");
Ah, missed that one. Never ever used qmlRegisterUncreatableType and your example did not include the error string so... But thanks anyways!

It still gives me only error no matter what command I'm trying to execute. I've tried 'ls' 'ls -a' 'ls /' etc. I've also tried with and without the workingDirectory property. I've tried to call the Process QML from Page QML's Component.onCompleted and on button click. Neither of 'em have worked.

Last edited by KullasH; 2013-04-30 at 04:45.