[Qbs] qbs / QML issue

Christian Kandeler christian.kandeler at qt.io
Fri Jul 25 10:42:05 CEST 2025


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



More information about the Qbs mailing list