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:
- I use the Qt framework which abstracts away all platform-dependent details in my case.
- 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.
- 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.