Hello, I just want to know is there are any way to know, that we are building application for Qt Simulator target.
For example, for Maemo5 device in .pro file I can make branch by maemo5 directive:
and in the .cpp and .h files I can check by Q_WS_MAEMO_5 macro:
But what about Qt Simulator, is there any predefined macro and directive for it?
Surely, I can pass something like "DEFINES+=QT_SIMULATOR" to qmake, and check it in the .pro and sources.
But it's not good solution, it's only workaround.