[Webkit-unassigned] [Bug 17796] Qt Windows buildbot failing because dftables script uses tools not present in that configuration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 13 08:39:21 PDT 2008


------- Comment #4 from hausmann at kde.org  2008-03-13 08:39 PDT -------
The problem originally with the Qt port is that we can't rely on cpp being
available as preprocessor in the system. We used to use a preprocessor that is
built into a little helper tool that comes with Qt (moc), but that
unfortunately has its limits. The macro substitution done for the chartables
generation unfortunately doesn't work with the moc.

That's the bad part of the story. The good part is that we figured out that we
can call cl.exe's preprocessor with /E just like g++ -E. We can abstract that
in the qmake buildsystem and call the dftables script accordingly. So in other
words the use of the preprocessor should be fine for the Qt build on Windows,
provided that

1) The command can be configured through the commandline of the script (like
with generate-bindings.pl.

2) The input to the preprocessor is a file, not stdin.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list