How do I run/build gtk3-rust applications on Windows?

⚓ Rust    📅 2025-09-30    👤 surdeus    👁️ 6      

surdeus

I have made a gtk3 application successfully with Rust on Linux and now I wish to port it over to Windows.

I am reading the documentation on how to get gtk3 to install on Windows:

I have ran:

pacman -Syu mingw-w64-ucrt-x86_64-gtk3 mingw-w64-ucrt-x86_64-toolchain base-devel

After running the command I can see I have to get the themes installed:

image

After downloading the Windows 10 Transformation Pack:

I am not entirely sure where to copy the the themes. According to the screenshot I have to copy the icon assets to share/themes/Windows10.

In the root of msys2:

image

some of these folders contains the share folder but not themes/Windows10 so I assume under mingw64/share I create themes/Windows10 and copy it there?

Another thing according to step 2:

image

I clicked on the link and downloaded this one:

image

And after extracting it I see this:

image

Do I just copy the entire folder or something else and I assume it goes into share/themes/WIndows10?

1 post - 1 participant

Read full topic

🏷️ Rust_feed