On 11/10/2013 18:49, 罗勇刚(Yonggang Luo) wrote: > How to add cpp files but not to be compiled? Put them in a group and give them some file tag that the compiler rule doesn't understand: files: ["myfile.cpp"] Group { files: ["do_not_compile.cpp"] fileTags: ["example_source_code"] } -- Joerg Bornemann Digia, Qt http://qt.digia.com/