[Qbs] Deprecation error message from qbs 2.6.1

Jochen Becher jochen_becher at gmx.de
Fri Jul 4 16:55:39 CEST 2025


Hi,

I get a "Using list properties as fallback values is deprecated" error
from the following code. What is the suggested way to do this?


    property stringList additionalSystemLibs : []
    Properties {
        condition: qbs.targetOS.contains("windows")
        additionalSystemLibs: [ "version", "shlwapi", "wbemuuid",
"ole32", "oleaut32", "kernel32", "netapi32" ]
    }

    cpp.dynamicLibraries: additionalSystemLibs

    Export {
        Depends { name: "cpp" }
        cpp.dynamicLibraries: exportingProduct.additionalSystemLibs
        cpp.includePaths: path + "/include"
    }

Regards, Jochen


More information about the Qbs mailing list