I would like to compile one of my applications for Sailfish and Android from the same project.
Are there any Sailfish specific macros defined like Q_OS_ANDROID in any Qt headers?
Having #ifdef Q_OS_ANDROID … #else - here goes SFOS #endif is an option, but if we have a proper define I would prefer that.
Due to the different Qt versions I might need to add some target dependent section to the qmake pro file as well. Is there any way to do that?