64bit/Help/Qt Update

From kJams Wiki
Jump to navigation Jump to search

When there is a Kit version update, follow these steps:

  1. run Qt Maintenance Tool, select "add or remove components"
  2. select the new kit version to add, DO NOT deselect the old kit version to uninstall. Select only "macOS", "Sources", and "Qt Debug Information Files"
    add-remove.png
  3. complete the install
  4. Run Qt Creator
  5. go to Kit Settings
  6. rename the old kit to "64_old", rename the new kit to "64"
  7. click "make default" for the new kit "64"
  8. Open the CFTest project and do these steps:
    1. copy the kit settings for debug / release from the old kit (right click->copy steps from another kit->64_old)
    2. note that "copy steps from another" does NOT copy the shadow build directory, so you'll have to copy that manually from old to new
    3. build and run with new kit, ensure it works
    4. under "Projects->Build & Run->64->Build->Build Settings", delete the auto-created build configs (debug, profile, release) (but leave ALL the other build configs)
    5. under "Projects->Build & Run->64->Run->Deployment", delete the default deployment method "Deploy Configuration", leaving the other one
    6. build and run at least the debug build ("CFTest Debug" for CFTest, "kJams 2 Debug" for kJams), ensure it works
    7. under "Projects->Build & Run", delete the reference to the old kit settings (right click->disable kit)
  9. open the kJams project, and do the same steps
  10. run Qt Maintenance Tool, select "add or remove components"
  11. now deselect (uncheck) the old kit, and uninstall it