Home > Enterprise >  Developing Windows Software on Linux
Developing Windows Software on Linux

Time:03-15

I am making software for windows that uses things like windows api and I really do not like developing on windows.

Is there a way to develop software on Linux, for Windows, preferably without virtual machines as my computer is not very powerful, I am using C/C .

CodePudding user response:

There is probably no universal answer to this.

This is how I develop software on Linux that is used mainly on Windows:

  1. I use the Qt framework which abstracts away all platform-dependent details in my case.
  2. I use MinGW-w64 to cross-compile. It works very well with CMake-based projects and the excellent binaries from Martchus, which also have great support for static builds.
  3. I use Wine for testing. However during development I can test and debug the Linux binary. A luxury due to Qt abstraction that fits my needs.
  • Related