Results 1 to 7 of 7

Thread: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

  1. #1
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    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)

    ...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

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

    Confused! Who, me?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    Quote Originally Posted by qoo View Post
    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?

  3. #3
    Join Date
    Jul 2007
    Posts
    25
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    can you be more specific as of what makes the confusion? and to whom?

  4. #4
    Join Date
    Aug 2008
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    Nothing happend and there were no error msgs.

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

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    Quote Originally Posted by qoo View Post
    Nothing happend and there were no error msgs.
    What commands did you try to execute? Did you do that from a terminal emulator?

    Quote Originally Posted by qoo View Post
    Yes, there is older ready-make package of QT4.
    Maybe there's some "unstable" or "testing" repository with newer version?

  6. #6
    Join Date
    Jun 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    4.4.1 is in intrepid repositories

  7. #7
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Installation/How To Run QT/X11 (Ubuntu) 4.4.1.

    And Qt 4.4.0 is available in hardy-backports.
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.