Document currently maintained by Marty Stepp. Revisions also made by Cynthia Lee and Victoria Kirst. Thanks to former CS 106 TAs Reid Watson, Jess Fisher, and Danielle Kain for writing our original Qt Creator instructions. Last updated 2017/09/24.
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.
You are expected to follow the Stanford Honor Code.
If this is an assignment that allows pairs, the same rules apply to each team. For example, do not look at assignment solutions that do not belong to your team, and do not give your solution to anyone outside of your team.
Remember that we run similarity-detection software over all solutions, including this quarter and past quarters, as well as any solutions we find on the web.
If you need help solving an assignment, we are happy to help you. You can go to the LaIR, or the course message forum, or email your section leader, or visit the instructor / head TA during office hours. You can do it!