Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Adding additional files to deb with QtSDK-1.1

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


talmage at acm

May 6, 2011, 8:28 AM

Post #1 of 3 (306 views)
Permalink
Adding additional files to deb with QtSDK-1.1

I recently upgraded to QtSDK-1.1 and that seems to have changed the way I must
package my application. Now I need help figuring that out. I have a help file,
panicbutton.html, to add to my package. I want to install it in
/usr/share/doc/panicbutton/. QtCreator makes a deb for me and that ensures
that /usr/share/doc/panicbutton exists. How do I make QtCreator add my help
file to the deb?

Before, I packaged a little bit manually using instructions from the maemo.org
wiki (http://wiki.maemo.org/Packaging_Qt_Creator_Apps_for_Maemo_Extras). I
don't think those instructions apply to QtSDK-1.1.
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


daniil.ivanov at gmail

May 6, 2011, 8:43 AM

Post #2 of 3 (296 views)
Permalink
Re: Adding additional files to deb with QtSDK-1.1 [In reply to]

Hi David!

It's enough if you add to your project file:

data.path = /usr/share/doc/panicbutton/
data.files += panicbutton.html
INSTALLS += data

If that doesn't work, then there is a problem with debian/rules script

Normally your debian/rules looks like this
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk

--Daniil

On Fri, May 6, 2011 at 6:28 PM, David Talmage <talmage [at] acm> wrote:
> I recently upgraded to QtSDK-1.1 and that seems to have changed the way I must
> package my application.  Now I need help figuring that out.  I have a help file,
> panicbutton.html, to add to my package.  I want to install it in
> /usr/share/doc/panicbutton/.  QtCreator makes a deb for me and that ensures
> that /usr/share/doc/panicbutton exists.  How do I make QtCreator add my help
> file to the deb?
>
> Before, I packaged a little bit manually using instructions from the maemo.org
> wiki (http://wiki.maemo.org/Packaging_Qt_Creator_Apps_for_Maemo_Extras).  I
> don't think those instructions apply to QtSDK-1.1.
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


talmage at acm

May 15, 2011, 4:54 PM

Post #3 of 3 (277 views)
Permalink
Re: Adding additional files to deb with QtSDK-1.1 [In reply to]

On Friday, May 06, 2011 11:43:55 AM Daniil Ivanov wrote:

> It's enough if you add to your project file:
>
> data.path = /usr/share/doc/panicbutton/
> data.files += panicbutton.html
> INSTALLS += data
>...

Thanks, Daniil. That's what I was missing.
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.