Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Installation and Deployment
    2
    2
    702
    Loading More Posts
    • 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
      eureka last edited by

      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 Reply Quote 1
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post