maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Help] From Qt Creator to devel! (https://talk.maemo.org/showthread.php?t=53609)

Lullen 2010-05-25 15:04

[Help] From Qt Creator to devel!
 
I want to upload my program to extras-devel. I am using the nokia qt sdk and all what that means... The os is ubuntu if that matters. I have been looking for a way before but that was for windows but as I did not see anything windows specific I guess it is all the same and then I have no clue about this. So is there any guide that explains how I can make this .deb file and upload it to devel?


Yours,

naabi 2010-05-25 15:12

Re: [Help] From Qt Creator to devel!
 
Here you go.

http://wiki.maemo.org/Packaging_a_Qt_application

Lullen 2010-05-25 15:55

Re: [Help] From Qt Creator to devel!
 
Well I did run dh_make and got:
ludwig@ubuntu:/media/Downloads/NokiaQtSDK/QtCreator/bin/qexercise-0.1$ dh_make --createorig --single -e maintainer@email.org -c gpl
Maintainer name : Ludwig
Email-Address : maintainer@email.org
Date : Tue, 25 May 2010 17:51:47 +0200
Package Name : qexercise
Version : 0.1
License : gpl3
Using dpatch : no
Using quilt : no
Type of Package : Single
Hit <enter> to confirm:
Skipping copying to qexercise-0.1.orig since qexercise-0.1.orig exists.
Done. Please edit the files in the debian/ subdirectory now. You should also
check that the qexercise Makefiles install into $DESTDIR and not in / .

wich seems ok. And then I did change the rules file... Then what? I did not get any tar.gz file or something. Is that file youll upload later?

Lullen 2010-05-26 16:25

Re: [Help] From Qt Creator to devel!
 
I used http://wiki.forum.nokia.com/index.ph..._quick_project instead and it worked with the example. When I moved my code to the src folder and I add my sourceses, headers, qt libs and CONFIG += mobility and MOBILITY += sensors, and then try to run dpkg-buildpackage it gives me the following error:
failure: no dependency information found for /sysroots/fremantle-arm-sysroot-1014-slim/usr/lib/libQtsensors.so.1 ( used by debian/qexercise/usr/bin/qexercise)
dh_shlibdeps: command returned error code 512

what is the problem? :S

Lullen 2010-05-26 22:08

Re: [Help] From Qt Creator to devel!
 
Now I am finaly getting something! The problem is that I am getting a 215kb tar.gz file but my .deb file is just 3kb... And the data in the project folder is 3kb so I guess my source aint coming with it... I can install the file but it wont show up in the menu :(

edit: what does dh_strip --dbg-package=my-application-dbg do?
madde did not like "--dbg-package=my-application-dbg" so I removed it and the example does not need it

here is a link to the tar.gz it produces
http://www.megaupload.com/?d=NL8X8PYM


All times are GMT. The time now is 04:02.

vBulletin® Version 3.8.8