maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   A remedy for the Qt 4.6 situation (And the new Qt SDK works!) (https://talk.maemo.org/showthread.php?t=52442)

Tigerite 2010-05-24 08:31

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
Quote:

Originally Posted by Venemo (Post 667755)
To downgrade, use the following command from a root terminal:
Code:

apt-get install libqt4-core=4.5*

When I type this, I get a rather scary set of remove packages:

Code:

Selected version 4.5.3~git20090723-0maemo6+0m5 (downloads.maemo.nokia.com) for libqt4-core
The following packages were automatically installed and are no longer required:
  python2.5-qt4-common gstreamer-tools xulrunner lzma emutos-512k
  python-location pulseaudio-utils python2.5-sip4 gstreamer0.10-tools
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  as-config-applet-0 as-daemon-0 batterygraph camel-as-provider-0 cpufrequi
  healthcheck libas-storage-0 libqt4-dbus libqt4-gui libqt4-network
  libqt4-opengl libqt4-sql libqt4-sql-sqlite libqt4-svg libqt4-xml
  python2.5-qt4-core python2.5-qt4-gui storageusage
The following packages will be DOWNGRADED:
  libqt4-core

Ok, I know that batterygraph, cpufrequi, healthcheck and storageusage are not important (and nor are the as-* I believe) but the libqt4-* I am very concerned about - won't I brick my system?

saxen 2010-05-24 20:19

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
hi! it's me again! i've just removed location from my app, just to try how the rest of the app works, but there is another problem! it's about maemo5 :o

i've removed maemo5 from project file and from class files(WA_Maemo5StackedWindow, portrait, ecc...) and now it works! but, how to make maemo5 works??? :(

fcrochik 2010-05-24 20:30

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
Quote:

Originally Posted by saxen (Post 673881)
hi! it's me again! i've just removed location from my app, just to try how the rest of the app works, but there is another problem! it's about maemo5 :o

i've removed maemo5 from project file and from class files(WA_Maemo5StackedWindow, portrait, ecc...) and now it works! but, how to make maemo5 works??? :(

Why did you remove maemo5 from your project? This is not a mobility package and it works fine on the device on both Qt 4.6 versions available

saxen 2010-05-24 20:52

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
it gave me an error like the "location" one, something like :

Quote:

rror while loading shared libraries: libQtLocation.so.1: cannot open shared object file: No such file or directory
/home/developer $
whit libMaemo5.so(or something similar) instead of libQtLocation.so.1! it works libQtLocation.so.1 :(

fcrochik 2010-05-24 20:59

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
Quote:

Originally Posted by saxen (Post 673931)
it gave me an error like the "location" one, something like :



whit libMaemo5.so(or something similar) instead of libQtLocation.so.1! it works libQtLocation.so.1 :(

I probably can help you better if I understand what you are doing:
How are you compiling your application (Qt SDK, scratchbox,...)?
Are you trying to use the "official" Qt SDK updated to 4.6 (using any of the two hacks on this thread) or the "development" libqt4-maemo5-* packages?

Have you installed libqt4-maemo5 and/or libqt4-maemo5-maemo5 packages on your device?

Look at my post on page #4 with the list of libqt4 packages that you can/should update. I would still recommend you to use the libqt4-maemo5-* packages until pr1.2 is out

saxen 2010-05-24 21:30

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
i'm using nokia sdk, and i've used Venemo hack on first post of this thread. that's the list of installed qt packages

Quote:

libqt4-core 4.6.2
libqt4-dbus 4.6.2
libqt4-gui 4.6.2
libqt4-maemo5-core 4.6.2
libqt4-maemo5-dbus 4.6.2
libqt4-maemo5-gui 4.6.2
libqt4-maemo5-maemo5 4.6.2
libqt4-maemo5-network 4.6.2
libqt4-maemo5-opengl 4.6.2
libqt4-maemo5-phonon 4.6.2
libqt4-maemo5-svg 4.6.2
libqt4-maemo5-webkit 4.6.2
libqt4-maemo5-xml 4.6.2
libqt4-maemo5-xmlpatterns 4.6.2
libqt4-network 4.6.2
libqt4-opengl 4.6.2
libqt4-phonon 4.6.2
libqt4-qt3support 4.5.3
libqt4-sql 4.6.2
libqt4-sql-sqlite 4.6.2
libqt4-svg 4.6.2
libqt4-webkit 4.6.2
libqt4-xml 4.6.2
libqt4-xmlpatterns 4.6.2
are they right?

Venemo 2010-05-24 21:41

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
Quote:

Originally Posted by saxen (Post 673989)
i'm using nokia sdk, and i've used Venemo hack on first post of this thread. that's the list of installed qt packages



are they right?

It seems so.

fcrochik 2010-05-24 21:45

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
Quote:

Originally Posted by saxen (Post 673989)
i'm using nokia sdk, and i've used Venemo hack on first post of this thread. that's the list of installed qt packages



are they right?

You are missing libqt4-maemo5. The name is misleading because it looks like one of the "development" packages but is actually the maemo5 module of qt.

Just out of curiosity the name on the "development packages" for this package is libqt4-maemo5-maemo5

saxen 2010-05-24 22:06

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
how to get it?? same procedure described by venemo? i wonder why it has not been installed with first try :O

fcrochik 2010-05-24 22:16

Re: A remedy for the Qt 4.6 situation (And the new Qt SDK works!)
 
You can just download just this file directly from the "pool" (look at my post on page 4)


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

vBulletin® Version 3.8.8