Download for Windows

Requirements

Packages

You will need the GLib, cairo, Pango, ATK, gdk-pixbuf and GTK+ developer packages to build software against GTK+. To run GTK+ programs you will also need the gettext-runtime, fontconfig, freetype, expat, libpng and zlib packages.

This page is not intended directly for end-users. It is expected that people who build installers for GTK+ applications for Windows bundle GTK+ with them.

You are welcome to redistribute GTK+ binaries, including applications that bundle them, on other web sites, CD-ROM, and other media. You don't have to ask for permission. That's one of the points of Free Software. One important thing that the GNU licenses require is that you must also redistribute the source code. This usually means at least the gettext, GLib, GTK+, Pango and Atk sources.

Downloading GTK and its dependencies

The preferred way to obtain GTK+ and its dependencies in binary form for Windows is to use the MSYS2 project.

You can use the installer to set up the MSYS2 environment for developing your application by following the instructions on the website. MSYS2 provides packages for the GTK stack, so all you have to do is install them and build your application inside the MSYS2 environment. You can also use MSYS2 to build your application, and create an installer with all the build artifacts necessary for distributing it. You can find more information in this article.

GTK releases also provide project files for Microsoft Visual Studio, which you can use to build GTK itself and use it in your own project. You can find more information on the Wiki and in this article.

Which Windows versions?

The current GTK+ stack uses APIs that are available only on Windows Vista or later.

If you require builds for unsupported versions of Windows, you should do a custom build of an older version of GLib and GTK+.