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/includewhich 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 at 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.
Apparently Analagous Threads
- 6.4 x64 PyQt4 package not compatible with sip package in base repo ?
- CentOS7/Mate Qt bugs/features?
- [LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x
- Cross compiling with Qt and MinGW for Linux
- [LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x