<div class="gmail_quote">On Tue, May 11, 2010 at 11:06 AM, Walter Bright <span dir="ltr">&lt;<a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>&gt;</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&#39;t know if they&#39;re causing the problem you&#39;re seeing. Just uploaded a new beta to solve them.<br>
<br></blockquote></div><br>The latest beta doesn&#39;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 &#39;PaintDeviceMetric&#39; for type &#39;qt.gui.QPaintDevice.QPaintDevice&#39;<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&#39;ll try to provide a test-case later.<br>