![]() |
Re: Madde: How to build/manage third-party libraries?
Quote:
Quote:
Quote:
|
Re: Madde: How to build/manage third-party libraries?
As I have had the same problem (I need to use libqjson while using MADDE/QtCreator), here is how I solved it (ugly hacks, but well, if there is no official way…):
Then, in the Qt project file, add: Code:
CONFIG += link_pkgconfig |
Re: Madde: How to build/manage third-party libraries?
Thanks to w00t_ on irc I found this thread.
I got it to work with w00t_s help, but I had to do 2 extra steps: install libqjson-dev on the device and copy the *.pc file so QJson is found when running qmake. |
Re: Madde: How to build/manage third-party libraries?
Quote:
|
Re: Madde: How to build/manage third-party libraries?
For the benefit of others, I also had to copy the record for the dev package from "/var/lib/dpkg/status" on my device into the one in the MADDE environment in order for "dpkg-checkbuilddeps" to succeed.
|
Re: Madde: How to build/manage third-party libraries?
Is there another way to do this with the harmattan sdk? I tried all this but it won't work still, it's not adding my lib to the includes. No big deal cuz I can manually add it, but annoying...
never mind, found the command i was looking for (xdpkg) in my case, running from I:\QtSDK\Madde\wbin mad set harmattan_10.2011.34-1_rt1.2 mad-admin xdpkg -i something.deb I get all the way to "dpkg-checkbuilddeps: Unmet build dependencies:" now :confused: Ok, xdpkg + manually modify the "status" file works. |
Re: Madde: How to build/manage third-party libraries?
The following scripts worked for me:
Replace $MADDEROOT with the correct path on your system. $MADDEROOT/apt/apt.conf: Code:
APT::Archives::MaxAge "30";Code:
#!/bin/shCode:
deb http://repository.maemo.org/extras/ fremantle free non-free |
| All times are GMT. The time now is 22:22. |
vBulletin® Version 3.8.8