<div class="gmail_quote">On Tue, May 11, 2010 at 11:06 AM, Walter Bright <span dir="ltr"><<a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I found a couple problems, don't know if they're causing the problem you're seeing. Just uploaded a new beta to solve them.<br>
<br></blockquote></div><br>The latest beta doesn't segfault but there is another problem:<br><br>/media/RESOURCES/d-projects/qtd-trunk/qtd/output/build/qt/gui/QPaintDevice.d(259): Error: no property 'PaintDeviceMetric' for type 'qt.gui.QPaintDevice.QPaintDevice'<br>
/media/RESOURCES/d-projects/qtd-trunk/qtd/output/build/qt/gui/QPaintDevice.d(259): Error: QPaintDevice.PaintDeviceMetric is used as a type<br><br>It is caused by an enum defined in an abstract class and forward referenced in an interface implemented by that abstract class:<br>
<br>abstract class QPaintDevice : QtdObject, IQPaintDevice<br>{<br> enum PaintDeviceMetric {<br> }<br>}<br><br>interface IQPaintDevice<br>{<br> public int metric(QPaintDevice.PaintDeviceMetric metric) const;<br>
}<br><br>The design is not quite right and we will move the enum into the interface. Yet, I think the code should compile without problems. We'll try to provide a test-case later.<br>