![]() |
Qt Creator: How do I install or run my app on the n900?
Hi!
I succesfully set up my developing environment with madden and all the stuff. I created a hello world programm; 2 buttons & 1 Label click on the one its say hello world and click on the other it closes the programm In qt creator when I click on run, the app opens on my n900 and everything is working fine. But how do I get this app on the n900 without madden and qt creator I have a deb file and a exuctable file sayhi_0.1_armel.deb Try to run it, app manager appears and it shows that the apps programmpakets are not compatible sayHi try to run it, permission denied, try to chmod r+x sayHi and then ./sayHi is also not working ls -l shows me that chmod did nothing try as user, as sudo and gainroot any help please? |
Re: Qt Creator: How do I install or run my app on the n900?
try chmod u+x instead. I don't think the r is valid in your chmod.
|
Re: Qt Creator: How do I install or run my app on the n900?
Quote:
always at -rw-r--r-- |
Re: Qt Creator: How do I install or run my app on the n900?
Is the file saved under MyDocs? If so, it's saved in a VFAT file system that lacks bits like these.
Move the file to /home/user and do chmod 755 <filename>. |
Re: Qt Creator: How do I install or run my app on the n900?
Code:
sudo gainroot |
Re: Qt Creator: How do I install or run my app on the n900?
Quote:
yeah it was under MyDocs ok now I can set the permission and run it but its looking not weird now the background is grey not black also the buttons grey not black ok dpkg i- sayhi.deb does the work, but where I can find the app or how can I run it...the installed one. thanks for the help!!! |
Re: Qt Creator: How do I install or run my app on the n900?
Quote:
You need a .desktop file to see it in the applications list, otherwise a: Code:
dpkg -L sayhi_0.1_armel.deb Code:
/usr/bin/sayHI |
Re: Qt Creator: How do I install or run my app on the n900?
Quote:
There might be a way, using run-standalone.sh or something similar, to run applications as root and get the Hildon theme but I've never mucked about with it. |
Re: Qt Creator: How do I install or run my app on the n900?
Also getting similar problems. I have my .deb generated by Qt Creator. Tried installing it with dpkg -i, with no luck. dpkg -L prints out that the package is not installed. Argg.
|
Re: Qt Creator: How do I install or run my app on the n900?
Quote:
Remember to be in the same directory as the .deb, or provide a full path to it. |
Re: Qt Creator: How do I install or run my app on the n900?
Here's how I do it:
I use MADDE for packaging and only use Qt Creator's feature that simply copies over the app's binary and runs it, without packaging. It is also much faster this way, especially if you (like me) tend to run your apps often. This is not possible with the RC nor the 2.0 final version, but the beta works this way. (and it seems that some of the latest nightlies also have this functionality) |
All times are GMT. The time now is 06:54. |
vBulletin® Version 3.8.8