[Qbs] How to reload a parent project after inserting a sub-project
Christian Kandeler
Christian.Kandeler at qt.io
Mon Jul 8 10:49:59 CEST 2019
On Mon, 8 Jul 2019 18:08:25 +1200
Christian Gagneraud <chgans at gmail.com> wrote:
> I'm back on https://codereview.qt-project.org/c/qbs/qbs/+/260217, i
> decided that I should get that done and tested before I move on
> QtCreator integration.
> Conceptually, it works, i added a test that check that a sub-project
> is correctly inserted, but for now, i need to re-setup the top project
> using SetupProjectJob (in tst_api.cpp).
I would not bother with any of that. Just update the files. Any halfway decent IDE will have a watch on the qbs files and re-resolve the project. I'm not ruling out that manually manipulating the build graph (as we do for file updates) is possible, but it seems quite ambitious.
Christian
More information about the Qbs
mailing list