Active Topics

 


Reply
Thread Tools
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#1
Hi guys, can anyone show me plz how to install/upgrade QT to 4.6 on my N900 ?

Thks
 

The Following User Says Thank You to goriofab For This Useful Post:
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#2
Originally Posted by goriofab View Post
Hi guys, can anyone show me plz how to install/upgrade QT to 4.6 on my N900 ?

Thks
What you need to do is something like

apt-cache search qt4

And then use apt-get install to install the ones listed as -maemo5.

Standard this could brick your phone warnings apply
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#3
i found a lot of qt in my search.. could you tell me step by step.. i'm a new user

Thanks
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#4
Can I ask why you want to install it - Apps that need it will install it automatically when they are installed.
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
Posts: 26 | Thanked: 7 times | Joined on Feb 2010 @ São Paulo - Brazil
#5
Sorry.. i'm a new user but i'd like to make some personal visual software and i'd like to install a software that do it. I research on the web and i saw that qt creator do it.. but i don't know how to install or start it..

Thks
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#6
Originally Posted by goriofab View Post
Sorry.. i'm a new user but i'd like to make some personal visual software and i'd like to install a software that do it. I research on the web and i saw that qt creator do it.. but i don't know how to install or start it..

Thks
To make software you need the scratchbox install on a PC, not your phone. The libs are just needed to run the software after you have made it on the scratchbox.
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#7
Originally Posted by goriofab View Post
Hi guys, can anyone show me plz how to install/upgrade QT to 4.6 on my N900 ?
As a user you don't need to install Qt 9r any other library. They will just come to your device when you install an app depending on them.

Currently the Qt 4.6 libraries are available in Extras-devel only, which is a repository for developers and advanced users at their own risk. Either you dig there and install one app based on Qt 4.6 like Miniature, or you simply wait until Qt 4.6 final is available and then you will get it sooner or later in your system.
 
Posts: 33 | Thanked: 13 times | Joined on Dec 2009 @ Helsinki, FINLAND
#8
HOW TO install / upgrade to Qt 4.6.2

I had to reflash about 3 weeks ago and qt 4.6.2 had been removed from extras devil so ive been missing a few important qt apps i.ve used daily.
I would understand if qt 4.6 was removed because the PR 1.2 was near but its been nearly a month now so i had to take measures.

For those who need Qt 4.6.2 here is a small tutorial /.how to. Typical noob warnings apply

(if you haven't used the terminal now its time to learn)

- You find the Qt 4.6 deb packages here
http://repository.maemo.org/pool/mae...ree/q/qt4-x11/

- download what you need, manually place the to mydocs/downloads or anywhere you like
ATTENCION:
Dont download the files with dbg if you only need to install apps.
And remember to check you have qt 4.6.2 in the file name and that the file ends with ...armel.deb

- open the x-term terminal

- type (you need rootsh for this):
sudo gainroot (enter)

-then navigate to where you files are
etc.

cd /MyDocs/Downloads (typing just cd and enter gets you to your user root)

ls (lists you the files in the directory)

- copy the libqt4...blaablaablaa.deb (blaablaa filled with the filename)
from the list ls-command showed you.

- type

dpkg -i (paste here the filename.deb)

now the package gets installed. there might be a dependency problem butyou just need to install the reported dependencies first

VOILA!

Go to App Manager and install the Qt apps you've been missing.

Last edited by Monniman; 2010-05-05 at 03:52.
 

The Following 3 Users Say Thank You to Monniman For This Useful Post:
Posts: 385 | Thanked: 426 times | Joined on Dec 2009 @ Gothenburg, Sweden
#9
Thanks for the guide. Just some hints though, in case someone else stumbles in to it.
What I wanted to do was to upgrade the core, network and maemo5 libraries (so I had for the dependencies also install xml, dbus and something else I forgot). The reason was to test my own app on the device since it actually uses the maemo5 features and the other runtime libraries mismatched of course.
Anyway, what happened was a couple of things:
1. The email app. stopped working (just crashed when trying to start it).
2. Battery drop in just a couple of hours, every time after recharging. There were also temporary "freezeups" for a few secs now and then (guess some process was spinning).
EDIT:
3. Oh another thing, don't be surprised when you go into the upgrade manager and it says that it want to upgrade Maemo5 (to the PR1.1.1 release). It take it that this is just because it discovers that some libraries do not match.

So, be aware, things might get instable. Remember you do not have the PR1.2 installed yet.

But, I have just downgraded again, and it seems my mail is working again. I just have to wait and see that the freezings and battery drops are gone too.

Last edited by Larswad; 2010-05-08 at 20:42.
 
Posts: 1 | Thanked: 0 times | Joined on Apr 2010 @ italy
#10
Hello
thanks so much for the guide.
I am new with Maemo development and I'm sad to encounter so many problems to develop a qt 4.6.2 application for the N900.
Now I am attempting to follow your instructions, but I encounter this problem :

Code:
Nokia-N900-51-1:/home/user/MyDocs# dpkg -i libqt4-dev_4.6.2~git20100310-0maemo1\+0m5_armel.deb
(Reading database ... 24963 files and directories currently installed.)
Preparing to replace libqt4-dev 4.6.2~git20100310-0maemo1+0m5 (using libqt4-dev_4.6.2~git20100310-0maemo1+0m5_armel.deb) ...
Unpacking replacement libqt4-dev ...
dpkg: dependency problems prevent configuration of libqt4-dev:
 libqt4-dev depends on libgles2-sgx-img-dev; however:
  Package libgles2-sgx-img-dev is not installed.
 libqt4-dev depends on opengles-sgx-img-common-dev; however:
  Package opengles-sgx-img-common-dev is not installed.
 libqt4-dev depends on libsqlite3-dev; however:
  Package libsqlite3-dev is not installed.
dpkg: error processing libqt4-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libqt4-dev
Please, anybody could point me where to find these packages ?
Thanks
 
Reply


 
Forum Jump


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