|
2010-06-02
, 17:44
|
|
Posts: 6 |
Thanked: 1 time |
Joined on Apr 2010
@ Oulu, Finland
|
#3
|
|
2010-06-02
, 18:04
|
Posts: 35 |
Thanked: 64 times |
Joined on Aug 2006
@ Somerville, MA
|
#4
|
|
2010-06-02
, 18:07
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#5
|
|
2010-06-02
, 18:11
|
|
Posts: 6 |
Thanked: 1 time |
Joined on Apr 2010
@ Oulu, Finland
|
#6
|
|
2010-06-02
, 20:31
|
|
Posts: 47 |
Thanked: 28 times |
Joined on Dec 2009
@ London, UK
|
#7
|
You also need a little code in your app to register itself with D-Bus and respond to the appropriate signals.
|
2010-06-03
, 14:01
|
|
Posts: 6 |
Thanked: 1 time |
Joined on Apr 2010
@ Oulu, Finland
|
#8
|
I was under the obviously mistaken impression that the QT framework did that for you (can't locate source offhand). Thanks for the link.
I have a couple of small, simple Qt apps which I have recompiled and repackaged for Maemo5 PR 1.2 using Madde running on a Mac (lovely build environment, btw).
The apps run nicely on Mac and on Linux, and I am pretty sure that the apps are working fine. They even run fine on Windows, although obviously using Windows is not something I do, if I can avoid it.
They install nicely on the N900, but don't run when I tap the icons - or if they do run, they start to open up and then crash.
But if I start the applications from the command line, they run fine.
So, there is nothing wrong with the applications, it is obviously my packaging which has the problem.
As you can see, I am a noob at packaging applications. I created the packaging for the applications by following the MADDE instructions, ie
mad pscreate -t qt_simple newapp
/* add code etc */
mad qmake
mad make
mad dpgk-buildpackage
I also tried building the application in scratchbox, same problem - runs on command line but not from menu.
I've looked through this forum and found something about adding QT += maemo5 to the .pro file - tried this but no help.
Any hints about what I am missing out/doing wrong would be much appreciated.
cheers,
rache