The Following User Says Thank You to rlinfati For This Useful Post: | ||
![]() |
2010-01-12
, 16:15
|
Posts: 5 |
Thanked: 0 times |
Joined on Dec 2009
|
#12
|
the glib object loop is "autostarted" via Qt...
i not seed any new mail
QCoreApplication app(argc, argv);
QApplication app(argc, argv);
![]() |
2010-02-16
, 13:30
|
|
Posts: 71 |
Thanked: 47 times |
Joined on Dec 2009
|
#13
|
Check the PDF in this page: http://wiki.forum.nokia.com/index.ph...velopers_Guide
Chapter 5.1: Using Maemo APIs in Qt applications - Liblocation
The example that comes there is with Gtk though (weird thing being Qt documentation).
![]() |
2010-02-16
, 14:12
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#14
|
Is there a newer version of that pdf or a better Qt developer guide? I went through chapters 1 and 2, and for some reason created deb doesn't have a binary inside.
Then this uuencode tool...works weird. With the following command:
uuencode -m icon-26x26.png > icon-26x26.base64
it just gets stuck, waiting for input? who knows. Had to do it like this:
uuencode -m icon-26x26.png foo > icon-26x26.base64
uuencode -m <name of 48x48 image> <name of 48x48 image> > <name of 48x48 image>.base64
I copy-pasted the content into control file, and received a complaint later:
dpkg-genchanges: warning: unknown information field `Xb-Maemo-Icon-26' in input data in package's section of control info file
Huh?
Next, nothing said about iconxpm icon26 icon40 icon64 icons creation, for the author it seemed to be too obvious to talk about.
And finally, after dpkg-buildpackage I've got a deb package of 3kb size. What's inside:
./usr
./usr/share
./usr/share/doc
./usr/share/doc/qscroll-test
./usr/share/doc/qscroll-test/copyright
./usr/share/doc/qscroll-test/changelog.Debian.gz
./usr/share/doc/qscroll-test/README.Debian
./usr/bin
./usr/sbin
Even no .desktop file there. From the build logs everything looks ok, except Xb-Maemo-Icon-26 complaint. I have never done deb packaging before, so I'm quite lost
The Following User Says Thank You to danielwilms For This Useful Post: | ||
![]() |
2010-02-16
, 14:34
|
|
Posts: 71 |
Thanked: 47 times |
Joined on Dec 2009
|
#15
|
Find a good packaging guide for Qt in the wiki.
The right command is:
Code:uuencode -m <name of 48x48 image> <name of 48x48 image> > <name of 48x48 image>.base64
The field is called 'XB-Maemo-Icon-26'.
Do you have the sources somewhere? The easiest thing is to do that with the help of the project file and Qt itself. Please consider therefore the packaging guide I mentioned above. Without knowing how your rules & project file look like, is it hard to figure out what is going wrong here.
![]() |
2010-02-16
, 14:54
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#16
|
I didn't misspell XB with Xb, but it may look so from the warning. I don't know why.
Nowhere yetI will read the packaging guide you gave and then if still have problems I will share the sources.
![]() |
2010-02-16
, 15:30
|
Posts: 17 |
Thanked: 42 times |
Joined on Feb 2010
|
#17
|
i not seed any new mail
User:rlinfati