Results 1 to 2 of 2

Thread: How to install Qt on Ubuntu from a package manager tool ?

  1. #1
    Join Date
    Oct 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to install Qt on Ubuntu from a package manager tool ?

    I use Linux Ubuntu 12.4, downloaded Qt SDK from http://qt-project.org/downloads and get the "need C++ compiler error" whereas CMake is installed.
    The problem is that sofwares on Ubuntu should be installed thanks to a package manager but Qt is invisible to the Ubuntu Software Center and if one start using http://packages.ubuntu.com/precise/qt4-dev-tools for instance, it will take days to get all dependancies manually.
    How to install everything Qt needs so that it takes into account the existing CMake and installation completes. I suppose I'll have to go by the Shell to compile but that's fine.
    Thanks
    Fred

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to install Qt on Ubuntu from a package manager tool ?

    First thing is that Qt doesn't use CMake (and CMake is not a compiler anyway).

    Now, that said, open the terminal, and type in the following:

    sudo apt-get install libqt4-dev qt4-dev-tools qtcreator

    and confirm with your user password.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Install on Ubuntu
    By marc2050 in forum Installation and Deployment
    Replies: 1
    Last Post: 14th June 2011, 02:35
  2. creating package for ubuntu with usb device dependency
    By schnitzel in forum Installation and Deployment
    Replies: 0
    Last Post: 21st January 2010, 19:31
  3. how to install QT on Ubuntu?
    By waxwings in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd July 2009, 11:34
  4. (In-)official Debian/Ubuntu Qt 4.5 package?
    By BastiBense in forum Installation and Deployment
    Replies: 0
    Last Post: 11th March 2009, 11:47
  5. QT4 build debian/ubuntu package 4.2
    By patrik08 in forum Installation and Deployment
    Replies: 3
    Last Post: 21st September 2006, 09:01

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.