import qbs

CppApplication {

    name: "Test"

    cpp.cxxLanguageVersion: "c++11"

    files: "Main.cpp"

}


hi, Could some one tell me why this simple app can't support c++11 flags?

I've read the docs, but can't find why.

cxxLanguageVersion
*Type:*string*Default:*undefined*Allowed Values:*"c++98", "c++11"

The version of the C++ standard with which the code must comply. If
this property is set, corresponding compiler and/or linker flags will
be added, depending on the toolchain. If the value is left undefined,
the compiler default will be used.


-- 
Best Regards
Yuchen
_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to