Qt 4.7.3 moc and libc++

Hi All,
   I've compiled Qt 4.7.3 (yes, its an older version but 4.8 has a few issues) with clang + libc++. When I compile one of my resource files using Qt's moc, it reports:

...x86_64-centos-linux-clang-libcxx/include/QtCore/QObjec:0: Warning: No relevant classes found. No output generated.

I traced it to the presence of libc++ include path in the compilation:

-Ix86_64-centos-linux-clang-libcxx/include

which is the location of libc++ headers. If I remove that include path, moc works fine and generates the expected output.

   Has anybody seen this? I'm posting to the Qt's forums also to see if they know about this.

thanks,
ashok

Ashok Nalkund <ashoknn@qualcomm.com> writes:

  I've compiled Qt 4.7.3 (yes, its an older version but 4.8 has a few
issues) with clang + libc++. When I compile one of my resource files
using Qt's moc, it reports:

...x86_64-centos-linux-clang-libcxx/include/QtCore/QObjec:0: Warning: No relevant classes found. No output generated.

[snip]

You'll better ask on the Clang mailing list.