maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   packaging n900 apps using qt creator (https://talk.maemo.org/showthread.php?t=57091)

mohannad 2010-06-29 09:16

Re: packaging n900 apps using qt creator
 
I followed the instructions in the following link and it worked for me.
http://talk.maemo.org/showthread.php?t=39962
Ill put up step by step instructions on my blog this weekend if youre still having trouble.

strekazoid 2010-06-29 11:15

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by danielwilms (Post 733691)
Hi,



in the name for a package should not contain any underscores. Try to name it "maemo-test" and it should work. Some more information about package naming:



source

Daniel

Thanks, it worked!

danielwilms 2010-06-29 14:32

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by aenbacka (Post 733722)
Concerning using QtCreator to create a deb package (using the final 2.0 version part of NokiaQtSDK); is it currently possible at all to customize the package creation process (e.g., by editing debian/rules, debian/control etc.)? It seems that currently QtCreator always executes the same build steps. This means that I at the moment still need to use the Scratchbox environment to build my project.


You can modify your settings in the debian-folder, which you can find shadow-build folder. It uses MADDE's dpkg-buildpackage, so it should take the changes in the control, changelog files into account. If you have faced concrete problems with it, please let me know.

Daniel

aenbacka 2010-06-29 18:33

Re: packaging n900 apps using qt creator
 
Thanks for your reply. I tried modifying e.g., the rules file in the shadow-build debian folder, but the changes were not taken into account when re-building the project (tried to comment out the dh_shlibdeps step, due to problem with locating dependency information for one of the libs in my project). Should such a modification be possible in the current QtCreator / MADDE versions?


Quote:

Originally Posted by danielwilms (Post 734149)
You can modify your settings in the debian-folder, which you can find shadow-build folder. It uses MADDE's dpkg-buildpackage, so it should take the changes in the control, changelog files into account. If you have faced concrete problems with it, please let me know.

Daniel


thecube 2010-06-30 00:17

Re: packaging n900 apps using qt creator
 
Hi!
I also have problems run my hello_0.1_armel.deb on my n900.
Created with QT Creator, C++, Winx64

I tried to rename it, to hi.deb

everytime I get from programm manager the error
Quote:

installing hello not possible
programm pakets not compatible
Any ideas???????

danielwilms 2010-06-30 12:35

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by aenbacka (Post 734448)
Thanks for your reply. I tried modifying e.g., the rules file in the shadow-build debian folder, but the changes were not taken into account when re-building the project (tried to comment out the dh_shlibdeps step, due to problem with locating dependency information for one of the libs in my project). Should such a modification be possible in the current QtCreator / MADDE versions?

For me it seems to be a bug in QtCreator. I tried it directly with the command-line tools of MADDE and it took the changes in the rules file into account, while QtCreator didn't. I have filed a bug-report there.

Daniel

aenbacka 2010-06-30 13:29

Re: packaging n900 apps using qt creator
 
Thank you for the info. I have also tried directly using the MADDE terminal, and then the changes were indeed taken into account.

Quote:

Originally Posted by danielwilms (Post 735358)
For me it seems to be a bug in QtCreator. I tried it directly with the command-line tools of MADDE and it took the changes in the rules file into account, while QtCreator didn't. I have filed a bug-report there.

Daniel


nath 2010-06-30 13:48

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by thecube (Post 734807)
Hi!
I also have problems run my hello_0.1_armel.deb on my n900.
Created with QT Creator, C++, Winx64

I tried to rename it, to hi.deb

everytime I get from programm manager the error


Any ideas???????

This sounds like the version of the Nokia Qt SDK and on your n900 are incompatible.
Is your n900 updated to PR1.2?
Do you use the 1.0 release of the Nokia Qt SDK?

thecube 2010-06-30 19:55

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by nath (Post 735411)
This sounds like the version of the Nokia Qt SDK and on your n900 are incompatible.
Is your n900 updated to PR1.2?
Do you use the 1.0 release of the Nokia Qt SDK?

Hi!

I used the 1.0 release from here:
http://www.forum.nokia.com/info/sw.n...ia_Qt_SDK.html

my n900 has the pr1.2
10.2010.19-1

what are the steps to build 100% an arm deb for the n900 with qt creator? maybe I did something wrong

realsportcars 2010-07-01 01:14

Re: packaging n900 apps using qt creator
 
Quote:

Originally Posted by thecube (Post 736017)
Hi!

I used the 1.0 release from here:
http://www.forum.nokia.com/info/sw.n...ia_Qt_SDK.html

my n900 has the pr1.2
10.2010.19-1

what are the steps to build 100% an arm deb for the n900 with qt creator? maybe I did something wrong

Im not sure to understand but when you create a package you need to install it from N900 command line or from PC command line using madde.
Packages created from SDK are not "signed" as application manager requires.

Also i suggest you to use madde from command line because SDK seems to ignore somethings like the .pro file (or perhaps it uses a different procedures/keywords)


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

vBulletin® Version 3.8.8