Correct way to include qplatformdefs for harmattan

Laszlo Papp lpapp at kde.org
Thu Oct 27 09:26:44 UTC 2011


Hi Andre,

> Would this be right approach or should i rather define a macro during the
> build as a CMake option?

If qplatformdefs.h is present on all platforms,  an unconditional
include is just fine in my opinion, at least. :)

Just a quick research in the qt source tree:
find . -name qplatformdefs.h | wc -l
131

Best Regards,
Laszlo Papp


More information about the Kde-mobile mailing list