[Qbs] qbs / QML issue

Leon Buckel leon.buckel at bee360.com
Fri Jul 25 10:55:00 CEST 2025



> On 25. Jul 2025, at 10:42 AM, Christian Kandeler via Qbs <qbs at qt-project.org> wrote:
>
> On 7/25/25 9:50 AM, Jochen Becher wrote:
>
>>> You are not setting Qt.qml.extraMetaTypesFiles expicitly, are you?
>>>
>> Yes, we do. This is an  excerpt of our own product item that extends from Product:
>>
>>  // Workaround for QBS bug that causes Qt.Core metatypes info to be missing
>>  readonly property string _qtCoreMetatypesPath: Qt.core.installPrefixPath
>>                                                + "/metatypes/qt" + Qt.core.versionMajor
>>                                                  + "core_relwithdebinfo_metatypes.json"
>>   Qt.qml.extraMetaTypesFiles: [ _qtCoreMetatypesPath ]
>
> I'm not aware of such a bug in 3.0. If there is one, it should be reported. Please try removing that line.
>
>
> Christian
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs

We also get tons of these warnings and do not set the Qt.qml.extraMetaTypesFiles property.
I don’t know how to replicate it with a simple example but it also started happening with 3.0.


More information about the Qbs mailing list