I compiling for QNX, ARM, My Host platform can be Win32/64 , Linux or Mac I want to find a way to see wheat is my host platform in my PRO file (on computer I building my project)
Apparently using:
win32 {}
unix {}
macx {}
does not work because on different OSes it will always report unix, so I assume this is target platform So what is the way to obtain current host platform to make PRO file flexible because on different platform I would like to do different things.
Thank you
message(Host: $$[QT_HOST_PREFIX])
for example. Btw, I guess tag qt5 is relevant or are you on Qt4? – Heterochromosome