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.
You are expected to follow the Stanford Honor Code.
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!