On quinta-feira, 2 de fevereiro de 2017 15:02:41 PST Hamish Moffatt wrote: > Is Microsoft's clang add-on for Visual Studio 2015 (CodeGen) supported > for compiling Qt applications? (With Qt 5.8?)
clang-cl is still buggy and not working properly. Some people reported some level of success after fixing Qt headers, but I didn't have any. Make sure you're using 3.9 or 4.0, at least, if you do. I have absolutely no clue about using clang-cl inside Visual Studio. qmake support for generating project files is completely absent. > I tried (qmake -tp vc, change settings to CodeGen etc) but didn't get > far; the very first source file failed to compile with: > > > 1> In file included from > ..\..\..\..\qt\Qt5.8.0\5.8\msvc2015\include\QtCore/qbasicatomic.h:57: > 1>..\..\..\..\qt\Qt5.8.0\5.8\msvc2015\include\QtCore/qatomic_msvc.h(130,10): > warning : unknown pragma ignored [-Wunknown-pragmas] > 1> # pragma intrinsic (_InterlockedIncrement) Report to LLVM community and have them fix compatibility issues. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest