[Scons-users] qt4 tool and scons 3.0

Thomas Berg merlin66b at gmail.com
Wed Oct 4 13:30:52 EDT 2017


On Tue, Oct 3, 2017 at 9:16 PM, Pierre-Luc Boily <pierreluc.boily at gmail.com>
wrote:

> Thx, get_text_contents() resolved the problem.  Moc files are properly
> generated now.
>
> As for the fix that you were wondering if it might affect my build, I
> decided to remove the fix and see.  Everything builds fine and is generated
> where it needs to.
>
> Otherwise, I was wondering why going from scons 2 to 3 broke the moc
> feature?  I am not sure to understand...
>
>

Judging from what fixed it, I guess it was the python version change from 2
to 3, rather than the scons version change, that broke moc in your case.
I've been using scons-3.0.0 with our version of the qt tool without any
modification, using python-2.7.

If you run into more problems, it could be a good idea to change only one
thing at a time: in this case, it's possible to first upgrade to
scons-3.0.0 but stay at python-2.7, then upgrade to python 3 in a separate
step. That helps narrow down the cause of any issues.

- Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171004/e1d12106/attachment.html>


More information about the Scons-users mailing list