Reply
Thread Tools
Posts: 23 | Thanked: 51 times | Joined on Nov 2009
#1
Hi,

I success to compie a qt4.5 hello world application in scratchboard. It runs fine in Xephyr.
now I don't know how to run it in my n900? I copy the binary inside my /home/user by typing : './myqtapps' it return me I have no permission...
And when I call :'su -c ./myqtapps user' it return me "must be suid to work properly"

So, how run an application compiled in scrachbox??
 
jkq's Avatar
Posts: 251 | Thanked: 131 times | Joined on Oct 2009 @ USA
#2
Originally Posted by dridk View Post
I success to compie a qt4.5 hello world application in scratchboard. It runs fine in Xephyr.
now I don't know how to run it in my n900? I copy the binary inside my /home/user by typing : './myqtapps' it return me I have no permission...
And when I call :'su -c ./myqtapps user' it return me "must be suid to work properly"

So, how run an application compiled in scrachbox??
First, you have to make sure you compiled it for the FREMANTLE_ARMEL target in scratchbox.

Then, run the following command as the user while in the same directory as your program ("myqtapps", per above):

Code:
chmod +x myqtapps
You can then run it via:

Code:
./myqtapps
Hope that helps!

-jkq
__________________
Class .. : Quiet One
Humor .. : [*********-] Alignment: Chaotic Good
Patience : [******----] Weapon(s): Python scripts
Agro ... : [***-------] Relic(s) : N900
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:49.