[Interest] Q_OS_ANDROID macro
Thiago Macieira
thiago.macieira at intel.com
Wed Feb 4 19:49:32 CET 2015
On Wednesday 04 February 2015 19:32:56 Giuseppe D'Angelo wrote:
> Il 04/02/2015 11:18, Reinhardt Behm ha scritto:
> > MOC does not understand and therefor does not respect macros and #ifdef.
>
> I'm sorry to be blunt, but this is simply false. moc has had a full C++
> preprocessor since Qt 5.0.
The problem is that it does not have the right set of #defines. The rule of
thumb is: if the #define isn't coming from the command-line (moc -D...) or
derived strictly from it, assume moc will not understand it.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list