View Single Post
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#15
Originally Posted by postformac View Post
I mean run them on the N900 from within Qt on my PC over the USB connection rather than having them actually installed on the device to be able to run once the USB is disconnected.
Right. Way I do that (bearing in mind I use Linux here, you could do this with Windows, if you used WinSCP + Putty or something)...

In the terminal, on my desktop, in my application's folder..

mad make # tell MADDE to build my project
scp bin/myapp 192.168.0.5:/home/user/myapp # copy myapp executable to my n900
ssh root@192.168.0.5 # connect to my n900 via SSH, so I have a terminal on there
chmod u+x /home/user/myapp # mark myapp executable
/home/user/myapp

You can also just open the terminal on your n900, and run '/home/user/myapp' manually.

--

If you were using Windows, you'd open WinSCP, connect to 192.168.0.5, copy myapp executable to /home/user, mark it executable (by right clicking the n900 copy, and properties, or something - I haven't done this in forever, so I forget how), then use PuTTY to connect to your n900 and run it as above.

--

There's probably a million ways to do it - this is mine. Hope this helps.
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.