Reply
Thread Tools
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#11
Originally Posted by Joorin View Post
Leading question:

What's the difference between the list of -I flags given in the first compile, when you start make, and in the second where the packaging tool starts make?
I think you are asking about this :
Code:
-I../../sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtDBus
which I added manually, but it gets overwritten after the make.
and :
Code:
-lQtDBus
which I added manually, but it gets overwritten.

I also tried adding this to the .pro file :
Code:
INCLUDEPATH += C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include
But to no avail...

Edit :
According to the documentation all I need to do is add
QT += dbus to the.pro file,
And I already did that. ):
It works on scratchbox (which I don't have installed, so I want to make madde work.)
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |

Last edited by eitama; 2010-06-19 at 10:03.
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#12
Unbelievable.

I solved it - thanks to this link : http://permalink.gmane.org/gmane.com...t.general/5357

Here are the lines I needed in the .pro file for this to work.
I think it's a total bug, cause adding "QT += dbus" should be enough.

Code:
CONFIG      += mobility\
			   console
CONFIG      += link_pkconfig
			   
PKGCONFIG       += dbus-1
MOBILITY    += contacts

INCLUDEPATH += C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtDBus
LIBS        += -lQtDBus
DEFINES     +=
Edit : Marked actual required lines in green. ( To Solve this problem )
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |

Last edited by eitama; 2010-06-19 at 10:19.
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#13
My leading question was to make you think about where the packaging tool gets it's configuration from and go there and see if the needed include path entry was missing.

I'm glad you found the fix for it.

On a side note, this is just another example of when tools fsck things up. Sticking to doing the work and supplying the actual configuration in each step is often good enough.
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#14
Originally Posted by Joorin View Post
My leading question was to make you think about where the packaging tool gets it's configuration from and go there and see if the needed include path entry was missing.

I'm glad you found the fix for it.

On a side note, this is just another example of when tools fsck things up. Sticking to doing the work and supplying the actual configuration in each step is often good enough.
I had no idea it gets it from there, but the impression I have is that i am supposed to edit just the .pro file.

I still have another problem. the library libqtm-contacts is needed for my app, but it doesn't get automatically installed if I run the deb file.
Any chance you know where in the project file I need to add that?
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#15
Originally Posted by eitama View Post
I still have another problem. the library libqtm-contacts is needed for my app, but it doesn't get automatically installed if I run the deb file.
That's a limitation of Hildon Application Manager - if you install from a deb and a dependency is missing, it won't install the missing dependency.

If/When you put your program into a repository and the Depends line is correct, HAM will install any missing dependencies. I know, it should be like GDebi but alas...
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#16
Originally Posted by qwerty12 View Post
That's a limitation of Hildon Application Manager - if you install from a deb and a dependency is missing, it won't install the missing dependency.

If/When you put your program into a repository and the Depends line is correct, HAM will install any missing dependencies. I know, it should be like GDebi but alas...
Aha!
Ok!
Thank you!
I am just waiting to get the upload to devel approved... for 3 days now ):
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:59.