Make sure package mingw-w64-x86_64-gtk4
is installed. Build your project
with a custom prefix (e.g. ~/my-gtk-app-prefix
). Navigate to this directory
such that you have subdirectories 'bin', 'lib', 'share', etc containing
the executable to distribute.
If you want to compile with Adwaita, please check if the package mingw-w64-x86_64-libadwaita
is installed. 😉
The following command copies all dependent DLLs to the current directory: