![]() |
How dose D-Bus working with QT4 in Maemo SDK 4,5
Hello,
I have a simple qt example would like working with D-Bus, but i got error when i launch it. some detail as following Code:
#include <QtCore/QCoreApplication> Code:
dbus-launch --auto-syntax Code:
[sbox-DIABLO_X86: ~/qt_tmp/demo_1] > run-standalone.sh ./demo_1 |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
Hi funpig,
the problem is not on the Qt side, but a SDK-problem. We tried it here with the Fremantle SDK and it worked. I will try to figure out how to solve that issue. Cheers Daniel |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
The problem can be most likely solved by export the dbus session bus address manually. you can do this by following these steps:
Code:
> eval $(dbus-launch --sh-syntax) Cheers Daniel |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
Quote:
thank you for your reply. i tried your way like following: Code:
[sbox-DIABLO_X86: ~/qt_tmp/demo_1] > eval $(dbus-launch --sh-syntax) Br funpig |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
Hi, Daniel
Do you have other solution could fix this problem in Maemo SDK 4.5? Br funpig |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
Hi funpig,
hmmm...the error message of your application is still the same as before?? But what do you need your application for? If you want to run it on your tablet then just updating to fremantle wouldn't be a solution. I will try to investigate more on it... Cheers Daniel |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
Hi, Daniel
Because i'm focus on mid-software relate with SIP in nokia phone, So, i want write a simple QT app like VoIP that working with telepathy and run it in Maemo. i'll update my Maemo SDK to Fremantle tonight. hope everything is ok!:D thanks for your help! Br funpig |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
yesterday night, i just updated the scratchbox because the internet speed is too slow. it looks my app still can't connect to D-Bus just only updated the scratchbox. I'll continue to updating Maemo SDK tonight. let's see what's happened.
|
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
It's too bad. my hard disk is too small in VM. i can't install anything because that's no free space in my hard disk after i installed the new scratchbox.:mad:
I'll resize the hard disk in VM for get more space for continue working with VM. |
Re: How dose D-Bus working with QT4 in Maemo SDK 4,5
:D my app is works fine after i upgrage to fremantle. but i got some error when i run
Code:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac & PS: i'm not like the theme in this fremantle simulator. |
All times are GMT. The time now is 06:16. |
vBulletin® Version 3.8.8