Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use clang compiler
Diluka last edited by
Have a nice day ,I need some good reference about clang compiler and how we use C and objective C inside the Qt creater please anyone have better experience please share your ideas.
t3685 last edited by
Maybe this is a good place to start?
For number 1: use the macx-clang mkspec rather than the macx-g++
For number 2:Use the OBJECTIVE_SOURCES to list your objective-c/c++ code file (.m for pure objective-c .mm for objective-c++)
Hope it helps