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:
If you are an experienced Qt developer, compiling Pencil2D would be extremely easy for you. Just open up pencil2d.pro
in Qt Creator and compile, that's it.
Pencil2D is built upon Qt, you need to install it before you can compile the program.
MSVC 2019 64-bit
if you have Visual C++ 2019 installed.Qt 5.15.x -> MinGW 8.x
and Developer and Design Tools -> MinGW 8.x 64-bit
.Done
and it will launch Qt Creator for you.Now it's time to build the application.
pencil2d.pro
.kits
for the project. Kits determine compilers, target environment, and various build settings among other things. The Desktop option should be the only one checked. Click Configure Project to complete the kit selection.Ctrl+R
keyboard shortcut). A small progress bar will show up on the bottom right and you will see console outputs.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!
Follow these steps if you prefer Visual Studio:
pencil2d.pro
.Now that you can build Pencil2D, the next step is to learn about navigating the source code.