<div dir="ltr"><div><div>Bear with me as I am learning the lingo and the philosophies of build systems.</div><div><br></div><div>Correct me if I am wrong on my following understanding.  Qt would be a package, downloaded and unpacked (as sources), then build2, as part of its Qt module, would compile moc, ui and lupdate (at least those) according to the host configuration, then compile Qt according to target configuration.  User's code would be mocced and uied with the built tools and everything linked normally at the end.<br><br></div>Or no, maybe you mean that any package can declare "I have a build tool" (Qt would say "I have moc" and others).  build2 can then compile and leverage those packaged tools as a new "transformation" that was injected in the toolchain from a package.</div><div><br></div><div>My wishes are to participate in some way in the "C++ needs a package and build system" movement and to enable a great build system at my workplace, which relies on Qt.<br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 8, 2018 at 6:40 AM, Boris Kolpackov <span dir="ltr"><<a href="mailto:boris@codesynthesis.com" target="_blank">boris@codesynthesis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please write to the <a href="mailto:users@build2.org">users@build2.org</a> mailing list (CC'ed) instead of to me<br>
directly.<br>
<span class=""><br>
Philippe Payant <<a href="mailto:philtherobot@gmail.com">philtherobot@gmail.com</a>> writes:<br>
<br>
> I would like it if build2 supported Qt and I would like to evaluate how<br>
> much work it would take one to do that.  I want moc, ui and lupdate<br>
> specifically.<br>
<br>
</span>Probably quite a bit. Also, build2 is still missing some major features<br>
(like support for building external build system modules, which is how<br>
you would handle moc, etc). There is also virtually no documentation<br>
(though the source code is well commented). So unless you feel really<br>
adventurous, I would suggest waiting a few more months.<br>
<span class=""><br>
<br>
> I still have only have a *very* high-level view of the code organization of<br>
> build2, much less an idea of where things are.  I spotted the modules (cxx,<br>
> pkgconfig), their init and config_init function, but that's it.<br>
<br>
</span>There are some pointers in a recent discussion on this topic:<br>
<br>
<a href="https://lists.build2.org/archives/users/2018-January/000213.html" rel="noreferrer" target="_blank">https://lists.build2.org/<wbr>archives/users/2018-January/<wbr>000213.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Boris<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Philippe</div></div></div>
</div></div>