0

After upgrading QtCreator from 4.4.1 to version 4.5.0 and then updating Qbs from 1.9.0 to version 1.10.0, an error appeared: "... warning: Module cpp could not be loaded." "Product 'ProductName' had errors and was disabled." It was possible to find the following bugreport QBS-709.

However, the link in the last post is not working. Please help me find a solution of this problem.

4

1 回答 1

0

更新&&解决方案:建立最新的错误报告:QBS-1263。接下来,进入代码审查

为了解决问题需要更改 share/qbs/modules/cpp/GenericGCC.qbs 文件

需要更改此行:

CppModule { 
    condition: false

到下一个:

CppModule { 
    condition: qbs.toolchain && qbs.toolchain.contains("gcc")   
    priority: -100
于 2017-12-15T13:49:25.063 回答