<div dir="ltr">Hi,<div><br></div><div>I'm trying to convert a somewhat big qmake based project to qbs. The next challenge is that we have some text files from which we generate C++ and/or qml files.</div><div><br></div><div>I have created a module for this that I depend on and configure for the products that need it. The products are all C++/Qt based, but most also with QML components embedded in a resource file. The normal QML files work fine, but I'm a bit at a loss for how to include the generated QML file in the resource file. (The C++ files are generated and added properly.)</div><div><br></div><div>In Qmake, the reference to the generated file was always present in the qrc file, and then the extra compiler stuff doing the generation depended on the input, and also had target_predeps set. Thus the generated file was eventually present when RCC was run.</div><div><br></div><div>In qbs, I thought I could do something similar, but I'm not able to make the correct dependencies I think. The file is not generated, and RCC fails with a missing file.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Best regards,</div><div>Lars Ivar Igesund</div></div>