How to setup compile switched for different OSs
I'm developing cross-platform application and don't know how to setup compiler directives to differentiate the code for each platform. Please guide, thanks!
Hi and welcome to devnet,
Use scopes in your pro file:
Have a look at the qmake manual chapter qmake Advanced usage, it's explained there
Happy coding !
Thanks a lot!
I will look at it.