maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to instal/upgrade QT 4.6 ? (https://talk.maemo.org/showthread.php?t=43308)

goriofab 2010-02-04 00:11

How to instal/upgrade QT 4.6 ?
 
Hi guys, can anyone show me plz how to install/upgrade QT to 4.6 on my N900 ?

Thks

Bratag 2010-02-04 00:21

Re: How to instal/upgrade QT 4.6 ?
 
Quote:

Originally Posted by goriofab (Post 509602)
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

goriofab 2010-02-04 00:31

Re: How to instal/upgrade QT 4.6 ?
 
i found a lot of qt in my search.. could you tell me step by step.. i'm a new user :(

Thanks

Bratag 2010-02-04 00:45

Re: How to instal/upgrade QT 4.6 ?
 
Can I ask why you want to install it - Apps that need it will install it automatically when they are installed.

goriofab 2010-02-04 00:55

Re: How to instal/upgrade QT 4.6 ?
 
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

Bratag 2010-02-04 04:26

Re: How to instal/upgrade QT 4.6 ?
 
Quote:

Originally Posted by goriofab (Post 509648)
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.

qgil 2010-02-04 04:34

Re: How to instal/upgrade QT 4.6 ?
 
Quote:

Originally Posted by goriofab (Post 509602)
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.

Monniman 2010-05-05 03:45

Re: How to instal/upgrade QT 4.6 ?
 
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.
:D

Larswad 2010-05-08 20:39

Re: How to instal/upgrade QT 4.6 ?
 
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.

sramp 2010-05-15 08:57

Re: How to instal/upgrade QT 4.6 ?
 
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


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

vBulletin® Version 3.8.8