There is not too much solution on the market to create multi platform applications and those are typically not free of charge. So it makes sense to check out Lazarus and Free Pascal.
In this video you can see, how it works on Windows, Linux and MacOS and the generated sample application on these systems, from the same code.
Please do not forget to SUBSCRIBE to my channel!