Students in the CS106B/courses use Qt Creator to write C++ programs. Qt Creator is an integrated development environment (IDE) with tools to edit, build, run, and debug programs.
Installing Qt Creator
We have prepared installation guides for each operating system, choose the one for your computer.
- Install Qt Creator on macOS
- Install Qt Creator on Windows
- Install Qt Creator on Linux
The installation guide steps you through downloading and installing Qt and other necessary tools, as well as configuring the CS106-specific package. Please follow the instructions carefully and do not skip steps. In the final step, you will do a build and run cycle on a sample project. If you have successfully done this, your installation is good to go!
If you have a previous version Qt installed
The released version of Qt as of Fall Quarter 2024 is 6.7.2. Confirm that your Qt version is at least this version or newer (i.e. higher version numbers). If your version is older, you must first uninstall that version.
To uninstall a previous installation of Qt, run MaintenanceTool
from your Qt
folder and check the box "Uninstall only" on the first pane. After uninstalling, you are ready to do a fresh install using the guide above.
Using Qt Creator
Here are some guides on using these tools.
- Quick guide to Qt Creator
- This 📦 blank project is a template for creating a new CS106 project
- Configuring the Qt debugging helper
- Recommended Qt Creator settings
- Troubleshooting common Qt Creator project problems
- Common build/run/debug issues
- Debugger tutorial from CS106B Assignment 0