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



  • 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?


  • Moderators

    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
    

Log in to reply
 

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