Installing Qt Creator 3.1.2 on Ubuntu 14.04 LTS



  • I have found "PPA ":https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa and "manual":http://www.sysads.co.uk/2014/06/install-qt-creator-ubuntu-14-04-lts/ method to install "Qt Creator 3.1.2":http://blog.qt.digia.com/blog/2014/06/25/qt-5-3-1-released/ on Ubuntu 14.04 LTS.

    Which one is more reliable (has less bugs once installed)? The manual method offers 64 bit installation. What if I install using the PPA method? Will the 64 bit version be installed into 64 bit Ubuntu? May I expect some problems if not? Which one updates itself with Ubuntu? Is GCC 4.9.1 supported?

    I reckon that Qt Creator is somehow linked with KDE. Shall I expect some problems when using Qt Creator with Ubuntu intead of Kubuntu?



  • I use Qt on ubuntu 14.04. I prefer use the online installer.
    The maintenance tool allow you to choose the Qt version you want.

    If you try it (or manual install), you will be able to remove it easily.

    I have Unity + KDE installed, Qt works on both.



  • And how difficult is to upgrade the Qt that was installed manually? Will all the settings and projects remain there after the process?


  • Moderators

    Hi,
    [quote author="Slazer" date="1406496894"]And how difficult is to upgrade the Qt that was installed manually?[/quote]It's very easy -- the online installer gives you a graphical package manager.

    [quote author="Slazer" date="1406496894"]Will all the settings and projects remain there after the process?[/quote]Yes.

    [quote author="Slazer" date="1406483101"]Which one is more reliable (has less bugs once installed)? The manual method offers 64 bit installation. What if I install using the PPA method? Will the 64 bit version be installed into 64 bit Ubuntu? May I expect some problems if not?[/quote]You will need to ask the creators of the PPA. That's an unofficial package.

    [quote author="Slazer" date="1406483101"]Which one updates itself with Ubuntu?[/quote]The PPA will update when the PPA maintainers decide to update it. It is completely independent from Ubuntu.

    Note that Ubuntu itself has its own official repository containing Qt and Qt Creator. This repo tends to lag behind by a few versions.

    [quote author="Slazer" date="1406483101"]Is GCC 4.9.1 supported?[/quote]Do you mean Qt or Qt Creator?

    [quote author="Slazer" date="1406483101"]I reckon that Qt Creator is somehow linked with KDE. Shall I expect some problems when using Qt Creator with Ubuntu intead of Kubuntu?[/quote]No. They are not linked in any way, except that both Qt Creator and KDE are built using Qt libraries. However, they don't care about each other's existence.



  • I eventually decided to use Linux Mint 17.1 instead of Ubuntu 14.04.1 LTS. I wonder if there might be some problems because of this. Will I be able to use the PPAs for Ubuntu?

    How can I access the graphical package manager once installed?

    I found two PPA sources. The one is "Ubuntu SDK team":https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa and the other is "Alexey Ivanov":https://launchpad.net/~alexey-ivanov/+archive/ubuntu/qtcreator. I thought the first one was official. So which one do you recommend?

    What about the official repository from Ubuntu? Does the older version guarantee stability or are the developers just too lazy to upgrade? What if some regression (bug) appears? Will the old version upgrade in this case?

    I meant "GNU Compiler Collection" version 4.9.1. Which version of Qt Creator does support it?


  • Moderators

    [quote author="Slazer" date="1407406664"]I eventually decided to use Linux Mint 17.1 instead of Ubuntu 14.04.1 LTS. I wonder if there might be some problems because of this. Will I be able to use the PPAs for Ubuntu?[/quote]-No, Ubuntu PPAs are for Ubuntu only.-

    EDIT: Actually, it looks like Linux Mint can use PPAs: http://community.linuxmint.com/tutorial/view/173

    [quote author="Slazer" date="1407406664"]How can I access the graphical package manager once installed?[/quote]Go to the folder where you installed Qt and launch the MaintenanceTool executable.

    [quote author="Slazer" date="1407406664"]I found two PPA sources. The one is "Ubuntu SDK team":https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa and the other is "Alexey Ivanov":https://launchpad.net/~alexey-ivanov/+archive/ubuntu/qtcreator. I thought the first one was official. So which one do you recommend?[/quote]I recommend neither. Use the online installer from http://qt-project.org/downloads

    Also, please note:

    • "Qt Creator" is the IDE while "Qt" is the library. They are different things.
    • The Ubuntu SDK is not the Qt SDK.

    [quote author="Slazer" date="1407406664"]What about the official repository from Ubuntu? Does the older version guarantee stability or are the developers just too lazy to upgrade? What if some regression (bug) appears? Will the old version upgrade in this case?[/quote]They're not lazy, they just have very strict rules on what can/can't be upgraded. Changing Qt versions is too big of an update within an Ubuntu release.

    From my experience over the last few years (I'm not involved with the Ubuntu release process): No, even if there's a regression discovered, there will be no upgrade until the next version of Ubuntu is released.

    [quote author="Slazer" date="1407406664"]I meant "GNU Compiler Collection" version 4.9.1. Which version of Qt Creator does support it?[/quote](Again, note the difference between Qt and Qt Creator) Qt Creator doesn't care what your compiler is.

    The important thing is that your Qt binaries (libraries) must be compatible with your compiler.

    I don't know about GCC 4.9.1, but I do know that the official Qt Project libraries are compatible with GCC 4.8.2. If GCC 4.9.1 is compatible with GCC 4.8.2, then everything will be just fine.



  • Nice reply!

    I wonder if there is something like PPA for Linux Mint (17.1), I just like the idea of an automatic upgrade (or at least a notification of a new version as soon as it is released). I have tackled some nasty bugs in the past and they might have been avoided if I didnt forget to upgrade.

    So Qt Craetor might not work with GCC 4.9.1 because of the Qt libraries? I want to use just the core C++ not any Qt functionality. I might even like to try some C++11.


  • Moderators

    [quote author="Slazer" date="1407433183"]I wonder if there is something like PPA for Linux Mint (17.1)[/quote]Actually, I stand corrected. Linux Mint can use Launchpad PPAs: http://community.linuxmint.com/tutorial/view/173

    [quote author="Slazer" date="1407433183"]I just like the idea of an automatic upgrade (or at least a notification of a new version as soon as it is released). I have tackled some nasty bugs in the past and they might have been avoided if I didnt forget to upgrade.[/quote]You'll only get updates if the PPA maintainer provides the update though. Both PPAs you listed currently provide Qt Creator 3.1.1, yet the latest version (Qt Creator 3.1.2) is already 2 months old. In fact, Qt Creator 3.2 is almost out -- the "Release Candidate":http://blog.qt.digia.com/blog/2014/08/05/qt-creator-3-2-rc1-released/ came out a few days ago.

    [quote author="Slazer" date="1407433183"]So Qt Craetor might not work with GCC 4.9.1 because of the Qt libraries? I want to use just the core C++ not any Qt functionality. I might even like to try some C++11.[/quote]Qt Creator will happily work with any version of GCC. Are you planning to use Qt Creator as a generic C++ IDE only? If so, then you don't have to worry about GCC versions.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.