PDA

View Full Version : Installation/How To Run QT/X11 (Ubuntu) 4.4.1.



qoo
28th August 2008, 05:35
Hi,

I followed the instructions available in "Installing QT/X11 Version 4.4.1.:

1. Open Source

2. cd /tmp
gunzip qt-x11-opensource-src-4.4.1.tar.gz # uncompress the archive
tar xvf qt-x11-opensource-src-4.4.1.tar # unpack it

3. Building with the ./configure -prefix-install option and "make" + "make install"

4. and in order to use QT...well that's what I'm not sure of...I located the .profile file in /ROOT dir and it looked like this:

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi

mesg n

...and since I have no idea how to edit this file I just added the PATH environment at the end like this:

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi

mesg n

PATH=/usr/local/Trolltech/Qt-4.4.1/bin:$PATH
export PATH

So, my 1st question: Is the .profile file edited correctly (it was the only .profile file):confused:

...and my 2nd question is: How the QT is supposed to run in X11 - via terminal or should one be able to find it in the Application Menu:confused:

I did try to run the QTdemo via terminal but it didn't work.

Confused! Who, me? :cool:

jacek
28th August 2008, 19:22
I did try to run the QTdemo via terminal but it didn't work.
What "didn't work" means in this case? Were there any error messages?

Doesn't Ubuntu have any ready-made packages with Qt4?

LiCodeX
28th August 2008, 20:10
can you be more specific as of what makes the confusion? and to whom?

qoo
29th August 2008, 06:41
Nothing happend and there were no error msgs.

Yes, there is older ready-make package of QT4.

jacek
29th August 2008, 15:54
Nothing happend and there were no error msgs.
What commands did you try to execute? Did you do that from a terminal emulator?


Yes, there is older ready-make package of QT4.
Maybe there's some "unstable" or "testing" repository with newer version?

Holy Cheater
30th August 2008, 12:53
4.4.1 is in intrepid repositories

jpn
30th August 2008, 13:01
And Qt 4.4.0 (http://packages.ubuntu.com/hardy-backports/libqt4-dev) is available in hardy-backports (https://help.ubuntu.com/community/UbuntuBackports).