Results 1 to 4 of 4

Thread: Getting Qt 4.7.0 Built and Installed

  1. #1
    Join Date
    Oct 2005
    Location
    Edmonton
    Beans
    98
    Distro
    Kubuntu 8.10 Intrepid Ibex

    Getting Qt 4.7.0 Built and Installed

    I wanted to develop using some of the bleeding edge features of the new Qt framework, but there is no easy way to get 4.7.0 installed on lucid. The build is relatively easy with a few minor annoyances. So I am just going to detail those annoyances so you don't have to be so annoyed

    Code:
    # first grab some general require packages
    sudo apt-get install build-essential
    
    # now grab the build deps for the current qt (mostly the same as for 4.7.0)
    sudo apt-get build-dep qt4-x11
    
    # need to grab some extra libs that are not build deps
    sudo apt-get install libphonon-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
    
    # grab the source package from http://qt.nokia.com/developer/qt-qtcreator-prerelease/ 
    wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0-beta2.tar.gz
    
    # now configure qt 4.7.0 with declarative support
    # the annoyances here are all the extra includes that are required
    # i am installing to $HOME/qt/qt-4.7.0 but feel free to change that
    ./configure -prefix $HOME/qt/qt-4.7.0 -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -opensource -declarative -confirm-license -v 2>&1 | tee config.log
    
    # build (takes a while)
    make
    
    # install
    make install
    If anyone out there knows of a PPA that is building Qt 4.7.0, please let me know. I would be interested to abandon building it manually.
    The goggles... they do nothing!

  2. #2
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    53
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Getting Qt 4.7.0 Built and Installed

    Thank you! Worked great

    I would like to point out that now there is a release-candidate to use instead of the beta:

    Code:
    # grab the source package from http://qt.nokia.com/developer/qt-qtcreator-prerelease/ 
    wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0-rc1.tar.gz

  3. #3
    Join Date
    Sep 2010
    Beans
    1

    Re: Getting Qt 4.7.0 Built and Installed

    Thank you!

    And as Qt 4.7 is released :

    Code:
    # grab the source package from http://qt.nokia.com/developer/qt-qtcreator-prerelease/
    wget http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz

  4. #4
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: Getting Qt 4.7.0 Built and Installed

    Quote Originally Posted by patsissons View Post
    If anyone out there knows of a PPA that is building Qt 4.7.0, please let me know.
    Code:
    ## kubuntu-ppa backports 
    deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu lucid main
    27-Sep-2010 - Index of /kubuntu-ppa/backports/ubuntu/pool/main/q/qt4-x11

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
  •