[SOLVED]Git Qt 5.4.2 branch to 5.5.0 branch

  • Hello,
    I currently have branch 5.4.2 checked out. I checked out this branch after git clone and before perl init-repository. Now I want to check out 5.5.0. Can I just check out the branch and pull? Or do I need to run the perl init-repository after checkout? Or is there something else I need to do? Thanks in advance.

  • Lifetime Qt Champion


    IIRC, you should only need to do that in the top level and it will cascade the change in all the submodules

  • Thanks. What I ended up doing (in the top level), which appears to work correctly is:
    git checkout 5.5.0
    git pull
    perl init-repository -f
    I got the -f option from the Getting Updates section of Building Qt5 from Git
    I should have read that more thoroughly before posting. Thanks again!

Log in to reply

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