Menu

Windows Setup Instructions

Jaroslav Bosak

Step 1 - Install Qt

The easiest way to install Qt on Windows is via the Online installer. Note that while this by far the easiest way to install that I've been able to find, it does require the creation of a Qt account and using those credentials within the Online installer. The only other method I've been able to find for getting Qt without using the Online installer, is to download the source and compile it yourself.

Assuming the Online installer is used:

  1. Create a Qt account and validate your email (if not done previously)
  2. Download the Online installer
  3. Follow through the installer, selecting the required version. It is highly recommended to also install Qt Creator (Qt Designer however is not required)

If opting not create a Qt account and compiling the source manually, please follow their instructions.

Step 2 - Install GoogleTest

Google Test is used for Unit and any other automated tests within the project. In order to compile and run them, Google Test must be separately downloaded and installed. Version 1.13.0 is used at present, however it is highly likely that newer versions will work as well.

  1. Download the source zip package from GitHub
  2. Extract it to an appropriate location on the system
  3. Create an environment variable GOOGLETEST_DIR that points to the directory into which it was extracted (i.e.: C:\dev\googletest-1.13.0)

And done! Once the project is loaded in Qt Creator it will use the environment variable to determine where Google Test is installed to and perform the rest of the necessary work.


Related

Wiki: Development Environment
Wiki: Home