[Qbs] Problems with Xml.DomDocument through a module provider

Иван Комиссаров abbapoh at gmail.com
Wed Jun 12 10:41:53 CEST 2024


Hello.

The usual. Build Qbs in debug mode and run in the debugger, possibly with --jobs=1.
Or attach to the running Qbs Session in QtC/vscode.

Alternatively, if you code is public, provide a link to repo to reproduce and we can take a look.

Ivan

> 12 июня 2024 г., в 00:31, Björn Schäpers <qt-maillist at hazardy.de> написал(а):
> 
> Hi,
> 
> I've created a module that reads a xml file and exports some of the content through properties, that works nice. I wanted to extend it, so that there is a (predefined) choice of xml files, and one could depend on multiple of these. So I thought a module provider would be the right choice. I have setup the provider, but qbs crashes on the load() of the xml document, a console.info() before is still printed, afterwards not anymore.
> 
> I've even changed the provider to just depend on the old module and then it also crashes, while the module itself still works if a product depends on it directly.
> 
> How can I debug what's happening here?
> 
> Kind regards,
> Björn.
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs



More information about the Qbs mailing list