All Classes Namespaces Functions Variables Enumerations Properties Pages
Building Pencil2D on Windows

These are instructions for building Pencil2D on a Windows PC. If you are using Mac go here, and Linux please go here.

This guide is primarily targeted towards developers. If you just want to use the latest version, download it from our nightly builds. This tutorial was made with Windows 10 in mind, however this will work with Windows 7 and up.

There are 3 steps in total:

  1. Install Qt SDK
  2. Get the source code
  3. Configure and compile Pencil2D


If you are an experienced Qt developer, compiling Pencil2D would be extremely easy for you. Just open up in Qt Creator and compile, that's it.

Install Qt SDK

Pencil2D is built upon Qt, you need to install it before you can compile the program.

Official Qt Installer (Recommended)

Get Source Code

Building the application

Now it's time to build the application.

With Qt Creator (recommended)

If you see any errors, the issues tab at the bottom will display error messages. Please search the Pencil2D Issue tracker or create an issue if you can't find anything. Be sure to include as much detail as you can in your report!

With Visual Studio

Follow these steps if you prefer Visual Studio:

  1. Have a Visual Studio with C++ compiler installed. (VS2015 or later)
  2. Install Qt SDK that matches your VS version (e.g. Qt 5.15.x msvc2019 64bit if you use VS2019).
  3. Download and install the Qt Visual Studio Add-in.
  4. Open Visual Studio, from the Menu bar Extension -> Qt VS Tools -> Open Qt Project File (.pro), navigate to the Pencil2D source folder and select
  5. Build & run the project.

Next steps

Now that you can build Pencil2D, the next step is to learn about navigating the source code.