maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Qt 4.6 in scratchbox running PR1.2, but not on device (https://talk.maemo.org/showthread.php?t=48755)

dragly 2010-03-31 18:50

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
Quote:

Originally Posted by krk969 (Post 590031)
not sure why it didnt work really.
<= version should have worked for the build-Depends in the control file.

Nope. Seems like it doesn't use the right packages for apt-get. Guess I'll just have to wait for the PR1.2 release.

Jaffa 2010-04-07 14:03

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
People interested in fixing it are encouraged to look at this post:

http://talk.maemo.org/showthread.php...349#post599349

Both the Community Council and the maemo.org team are trying to find a solution to this problem for now, and in the future.

dragly 2010-04-07 15:40

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
Thanks for the info. I managed to get around the problem for now using libqt4-maemo5 and writing in all dependencies manually, thus leaving out the newest libhildon* libraries. Even if the application was compiled against the newest libraries, it didn't seem to be a problem to run it on the device. In my situation I was moving towards Qt4.6 anyways, so using libqt4-maemo5 was not really an issue in the end.

sampppa 2010-04-08 13:51

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
you can try to force install that package without manually modifying depencies and just let the ${shlibs:Depends} set them. For the libhildon case it may work, at least it did for my packages...
dpkg --force all -i package.deb

I think this is an ugly way but you can try :)

Bundyo 2010-04-12 21:47

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
Didn't see a solution anywhere, but managed to squeeze my Search Tool through the new libhildon1 dependencies. Just create a debian/shlibs.local file and fill it with
Code:

libhildonmime 0 libhildonmime0 (>= 2.1.0)
libhildon-1 0 libhildon1 (>= 2.2.0)

That should be enough to keep the autobuilder dpkg-shlibdeps happy.

EDIT: The main problem actually was to find what exactly mean the first two values (which should be name and version). Turned out they are the name of the library in /usr/lib and the major version that comes right after .so. Didn't expect libhildon1 to have major version of 0... :)

napoleon 2010-04-19 22:03

Re: Qt 4.6 in scratchbox running PR1.2, but not on device
 
Cheers Bundyo, you're a life-saver!


All times are GMT. The time now is 22:20.

vBulletin® Version 3.8.8