{"id":64,"date":"2013-05-27T14:48:34","date_gmt":"2013-05-27T12:48:34","guid":{"rendered":"http:\/\/localhost\/~johan\/wordpress\/?p=64"},"modified":"2017-10-30T21:01:06","modified_gmt":"2017-10-30T20:01:06","slug":"qcad-3-1-on-intel-mac-os-x","status":"publish","type":"post","link":"https:\/\/www.chaosgeordend.nl\/wordpress\/2013\/05\/27\/qcad-3-1-on-intel-mac-os-x\/","title":{"rendered":"QCad 3.1 on Intel Mac OS X"},"content":{"rendered":"<div id=\"entry_img\"><a href=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/QCad3.png\" rel=\"lightbox[64]\"><img decoding=\"async\" alt=\"QCad3.png\" src=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/thumbnails\/QCad3_tn.png\"\/><\/a><\/div>\n<p>Still using <a href=\"https:\/\/www.ribbonsoft.com\/en\/qcad\">QCad<\/a> to view and edit <a href=\"https:\/\/en.wikipedia.org\/wiki\/AutoCAD_DXF\">Autocad DXF<\/a> files. Finally upgraded from the Qt3 version, QCad 2, to the 2012 QCad 3.1 beta which makes use of <a href=\"https:\/\/doc.qt.io\/qt-4.8\/\">Qt4<\/a>.<\/p>\n<p>For an overview of all new features, see the <a href=\"https:\/\/www.qcad.org\/en\">QCad blog<\/a>. New functionality I am happy with, though I do miss the old plain icons, in order of importance:<\/p>\n<ul>\n<li>SVG export and import;\n<li>reverse line direction;\n<li>isometric projection.\n<\/ul>\n<p><b>Compilation<\/b><\/p>\n<p>Building QCad from the <a href=\"https:\/\/github.com\/qcad\/qcad\">Github<\/a> source is straightforward:<\/p>\n<p><!--more--><br \/>\n<code>git clone git:\/\/github.com\/qcad\/qcad.git qcad<br \/>\ncd qcad<br \/>\nqmake<br \/>\nmake<br \/>\ndoxygen # optionally generate developer documentation<\/code><\/p>\n<p>Qt4 was installed with Macports qt4-mac package:<\/p>\n<p><code># QMake version 2.01a<br \/>\n# Using Qt version 4.8.4 in \/opt\/local\/lib<\/code><\/p>\n<p>In addition, for the library browser to work, Macports package qt4-mac-sqlite3-plugin was installed.<\/p>\n<p><b>Development<\/b><\/p>\n<p>What I like best of the QCad makeover is the architecture, especially the ease with which (<a href=\"https:\/\/en.wikipedia.org\/wiki\/ECMAScript\">ECMA<\/a>) scripts can be added.<\/p>\n<p>An example testrun, e.g. to test your own scripts, with a dxf TestFile and the QCad scriptdebugger enabled:<\/p>\n<p><code>export DYLD_LIBRARY_PATH=\"&lt;yourPath&gt;\/qcad\/release:$DYLD_LIBRARY_PATH\";<br \/>\ncd qcad\/release\/QCad.app\/Contents\/MacOS<br \/>\n.\/QCAD<br \/>\n-always-load-scripts<br \/>\n-enable-script-debugger<br \/>\n&lt;pathToYourTestFile&gt;<\/code><\/p>\n<p>Run <code>QCAD -help<\/code> for a list of all command-line options.<\/p>\n<p>The adventurous developer can find more info in Ribbonsoft&#8217;s<br \/>\n<a href=\"https:\/\/www.qcad.org\/rsforum\/\">QCad forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Still using QCad to view and edit Autocad DXF files. Finally upgraded from the Qt3 version, QCad 2, to the 2012 QCad 3.1 beta which makes use of Qt4. For an overview of all new features, see the QCad blog. New functionality I am happy with, though I do miss the old plain icons, in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.chaosgeordend.nl\/wordpress\/2013\/05\/27\/qcad-3-1-on-intel-mac-os-x\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;QCad 3.1 on Intel Mac OS X&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-qcad"],"_links":{"self":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":5,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":486,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/64\/revisions\/486"}],"wp:attachment":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}