Reply
Thread Tools
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#11
Originally Posted by postformac View Post
I don't know how to package and deploy the final release other than by using MADDE (and I didn't get that working yet either, I have another thread on that).

What I mean is you can compile your project for Maemo inside QtCreator, as descibed in the original guide and then if you have your N900 connected to the PC via USB (with PCConnectivity running on your PC and Mad developer running on your device, just follow that guide exactly step by step for the setup) then after compilation has completed QtCreator will launch your app live on your device. You can then start and stop your app from within Qt creator on your PC, and interact with your app on the device. It's just a quick way to test your code is working ok before going through the process of packaging and deploying it properly.
Will that "install" the application on my N900? or just run it once?
 
Posts: 24 | Thanked: 12 times | Joined on Mar 2010
#12
Originally Posted by eitama View Post
Will that "install" the application on my N900? or just run it once?
No, it won't leave the app on your device to run as standalone it will just run it once (or however many times you press play in QtCreator). Like I said it's just a quick way for you to test your code as you make changes, and also allows you to see exactly what your forms look like on the device without having to keep on repeatedly re-making the project in MADDE and deploying it.
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#13
Originally Posted by postformac View Post
No, it won't leave the app on your device to run as standalone it will just run it once (or however many times you press play in QtCreator). Like I said it's just a quick way for you to test your code as you make changes, and also allows you to see exactly what your forms look like on the device without having to keep on repeatedly re-making the project in MADDE and deploying it.
Ok, thx for the info.
We are still missing one part then, how to package a QtCreator Qt project, into deb. AND on windows!

If you find out, let me know (:
 
Posts: 24 | Thanked: 12 times | Joined on Mar 2010
#14
Originally Posted by eitama View Post
Ok, thx for the info.
We are still missing one part then, how to package a QtCreator Qt project, into deb. AND on windows!

If you find out, let me know (:
Well I think at the moment you still have to do it using the MADDE terminal in Windows and building a skeleton project to drop your source files into. I don't think there is currently a way to do this step from within Qt. I may be wrong but I haven't found or read any way.
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#15
Originally Posted by postformac View Post
Well I think at the moment you still have to do it using the MADDE terminal in Windows and building a skeleton project to drop your source files into. I don't think there is currently a way to do this step from within Qt. I may be wrong but I haven't found or read any way.
There is a pretty good guide on how to package a Qt application for Maemo5. Try it out, and just use the "mad" command before "dh_make" and "dpkg-buildpackage". Let me know if you have issues with that.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 24 | Thanked: 12 times | Joined on Mar 2010
#16
Originally Posted by danielwilms View Post
There is a pretty good guide on how to package a Qt application for Maemo5. Try it out, and just use the "mad" command before "dh_make" and "dpkg-buildpackage". Let me know if you have issues with that.

Daniel
Ok I have just tried that and it seems to have worked, no error messages anyway. It's created a whole load of new files / folders in the original project folder. Now which files do I need to copy to the device, and where do I need to copy them to? I can't see any information on that in the guide (as well as no mention of the dpkg-buildpackage command...)

Thanks
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#17
Originally Posted by postformac View Post
Ok I have just tried that and it seems to have worked, no error messages anyway. It's created a whole load of new files / folders in the original project folder. Now which files do I need to copy to the device, and where do I need to copy them to? I can't see any information on that in the guide (as well as no mention of the dpkg-buildpackage command...)

Thanks
If you used the MADDE with command line stuff,
It generates a .deb file. you just copy that to the device, and run it.
It will open the app manager and install your app, including Some default icon.
 

The Following User Says Thank You to eitama For This Useful Post:
Posts: 24 | Thanked: 12 times | Joined on Mar 2010
#18
Ok I have done that- Copied it straingt to MyDocs via USB in mass storage mode, unpackaged it ini the terminal on the device using "dpkg -i <myapp.deb>" and it works! There is a blank icon for my app in the list of applications and it runs fine if I click it, thanks very much for the help.

I do notice though that my app is listed as "Mad Qt example" rather than by the app name, is this normal? Where / how do I set the app name correctly during the building / packaging process?
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#19
Originally Posted by postformac View Post
Ok I have done that- Copied it straingt to MyDocs via USB in mass storage mode, unpackaged it ini the terminal on the device using "dpkg -i <myapp.deb>" and it works! There is a blank icon for my app in the list of applications and it runs fine if I click it, thanks very much for the help.

I do notice though that my app is listed as "Mad Qt example" rather than by the app name, is this normal? Where / how do I set the app name correctly during the building / packaging process?
First I am happy I could help, it means I am getting somewhere to (:
About the title, I don't know what project you just compiled, but you used a madde qt template, it's hardcoded somewhere as plain text.
Try rifling though the files and searching for that. I think it's in the .install file.
 
BLIZZARD's Avatar
Posts: 194 | Thanked: 266 times | Joined on May 2010
#20
Originally Posted by danielwilms View Post
There is a pretty good guide on how to package a Qt application for Maemo5. Try it out, and just use the "mad" command before "dh_make" and "dpkg-buildpackage". Let me know if you have issues with that.

Daniel
Hi,
I made a qt app that works (tested it with mad developer), and i am trying to make a deb. Can i make a deb for n900 using only windows? I googled and searched various sites but i didnt manage to make a working deb for n900 (i made some that when i try to install them on n900 says incompatible package)

Thanks.
__________________
I LOVE THESE GAMES: STARCRAFT/STARCRAFT2
I LOVE N900 I LOVE C++ I LOVE UBUNTU
E.F.F, (QT) E.F.F EMPTY FREQUENCIES FINDER, CRAPS, T-CONTROL
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:35.