Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can Qt 5.6 Creator and Qt 5.7 Creator coexist in different Qt directories?

Can Qt 5.6 Creator and Qt 5.7 Creator coexist in different Qt directories?

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 2 Posters 805 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eureka
    wrote on last edited by
    #1

    I had Qt 5.6 (32bits) installed with Qt 5.6 Creator working in Ubuntu 14.04 (32 bits).

    I installed Qt 5.7 PPA as I discussed in another thread.

    At the point of installing Qt 5.7 Creator I was informed that Qt 5.6 Creator was to be uninstalled (it seems that the two versions of Qt Creator cannot coexist). I agreed and continued to complete Qt 5.7 installation, which purged Qt 5.6 Creator.

    Later I tried to re-install Qt 5.6 Creator back into Qt 5.6 through Ubuntu Software Centre but saw this

    Package dependencies cannot be resolved
    
    This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
    
    Details:
    The following packages have unmet dependencies:
    
    qt56creator: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.3-0ubuntu4 is to be installed
                 Depends: libstdc++6 (>= 4.8) but 4.8.4-2ubuntu1~14.04.1 is to be installed
    
    

    So the summary is I now have these two installations

    /opt/qt56
    /opt/qt57

    Qt 5.6 Creator (uninstalled during installing Qt 5.7)
    Qt 5.7 Creator .. launches and works

    Qt 5.6 Designer .. launches and works
    Qt 5.7 Designer .. launches and works

    Running qtchooser -list-versions
    I get this returned

    default
    opt-qt56
    opt-qt57
    

    My question:
    Can Qt 5.6 and 5.7 Creator co-exist in /opt/qt56 and /opt/qt57?

    1 Reply Last reply
    1
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      They can coexist, but you could get some problems with settings if the versions are too different.
      But you can specify which settings to use:

      qtcreator -settingspath ~/.config/QtProject1
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved