View Single Post
Posts: 18 | Thanked: 2 times | Joined on Mar 2010
#1
Hi!

Following may be very easy and may have been handled in a thread already, but I could not find an answer easily.

I am trying to make my first application and deb package with QtCreator and QtDesigner.
There are an xml file and couple of other files, which need to be delivered with the application. The deb package is created with QtCreator: I choose Build --> Deploy Project "x" --> deb file is created.

When my deb package is installed to N900, then the xml file and other files are in gzipped form in an installed directory on the N900 device. One of the files does not end up in gzipped (.gz) form.

Is there a way to gunzip the files automatically during the installation of the deb package? Which files should I modify? maemo5pkgrules.pri?? etc. I added the files also to Resources / x.qrc file. I have never made debian packages.
The application would currently need the files in extracted form. Otherwise the application works ok, if I just gunzip the files manually from the command line on the N900 device.

Additionally: what would be correct way to access (and deliver) the files?
I could also try to read directly from the gzipped file, etc. etc.

One file is bigger (the XML file), few MBs. Other files are smaller.



Btw., are there some log files where possible error messages are delivered to, on the N900? First versions of my app "crashed", but I do not know are any error messages shown in any log files automatically? I just printed to my own log files in a temporary directory.

Last edited by visiting01; 2011-07-21 at 13:28.