<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>It is using the libdxfrw library.</p>
<p>Jürgen might have forked/patched it though, because activity in the original project is basically stalled -  I think you can find our version here: <a href="https://github.com/qgis/QGIS/tree/master/external/libdxfrw">https://github.com/qgis/QGIS/tree/master/external/libdxfrw</a></p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2020-09-04 14:38, Jesús de Diego Alarcón wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<div dir="ltr">Dear all
<div> </div>
<div>I would like to know which library is using QGIS for importing dwg files (this functionality is accessible in <em>File >  Import/Export > Importing a DXF or DWG file </em>).</div>
<div> </div>
<div>I had supposed that this functionality was using the newly-developed OGR CAD driver... But I have tried with ogr2ogr both command line and Python console and dwg files are not supported (at least the same dwf file I am able to import with the mentioned functionality).</div>
<div> </div>
<div>Any help will be appreciated. Thank you in advance</div>
<div> </div>
<div>Jesús de Diego<br clear="all" />
<div> </div>
-- <br />
<div class="v1gmail_signature" dir="ltr">Jesús de Diego Alarcón<br /><a href="mailto:jesdial@gmail.com" rel="noreferrer">jesdial@gmail.com</a><br /><br />"La vida es linda, lo malo es que muchos confunden lindo con fácil."<br />Mafalda</div>
</div>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />QGIS-Developer mailing list<br /><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p><br /></p>

</body></html>