Setting Up Qt Creator for CS 106B

Document currently maintained by Marty Stepp. Revisions also made by Chris Gregg, Cynthia Lee, and Keith Schwarz. Thanks to former CS 106 TAs Reid Watson, Jess Fisher, Ashley Taylor, and Danielle Kain for writing and revising our original Qt Creator instructions. Last updated 2018/09/23 by Marty Stepp.

Having trouble with your Qt Creator installation? Check out our Qt Creator Troubleshooting page. Try to search the page (Ctrl+F or Command+F) for the error text you are seeing.

In order to program your assignments, you must download and install an editor named Qt Creator. On Windows, Qt Creator includes a C++ compiler; on Mac, you need to install Xcode to enable the compiler. You also need to install Java JDK on your machine, because it is needed by some of our libraries. All CS 106B/X students are expected to use Qt Creator for their assignments; other editors are not supported and are strongly discouraged.

Based on your operating system (Windows, Mac, or Linux) you'll need to follow different instructions. Please make sure to follow the instructions precisely and do not skip steps.

Once you have installed the necessary software, here are some additional useful instructions for using and debugging it.

This document and its content are copyright © Marty Stepp and Julie Zelenski, 2019. All rights reserved. Any redistribution, reproduction, transmission, or storage of part or all of the contents in any form is prohibited without the authors' expressed written permission.