[QBS] error: Property 'cxxLanguageVersion' is not declared.

Yuchen Deng loaden at gmail.com
Tue Jan 20 10:14:06 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150120/870de80f/attachment.html>


More information about the Qbs mailing list