Call Us India :- +91 9099002975       US :- +1 (732) 927-5544       Email us :
Call Us India :- +91 9099002975
US :- +1 (732) 927-5544
Email us :


Jan 02

Alfresco QCAD Integration for CAD Files Preview

Alfresco is a widely used Document Management System across the manufacturing and EPC (Engineer, Procurement, Construction) industry. One of the key document types in this segment is 2D and 3D CAD files which are generated through AutoCAD and other such CAD software. Alfresco default document previewer doesn’t support these files, so the users can’t view the documents within Alfresco. However, we can integrate QCAD software with Alfresco to enable users to view these CAD files within Alfresco document viewer.

Integration Related blog: Alfresco Integration with Chronoscan

In this blog, we have provided QCAD – Alfresco integration steps in the Linux environment for the developers.

Install QCAD using the following steps. (Linux)

1. Download following file

2. Install QCAD using the following command
Go to the path where the above file is copied.

./ press enter

3. Copy and paste the following lines at the starting of file located at /opt/alfresco-community/
(These are the environment variables which are need to be set before starting QCAD)

export QT_QPA_PLATFORM=offscreen
export DISPLAY=""
export QT_QPA_FONTDIR="/usr/local/share/fonts/type1"

4. Place the following files at alfresco-community/tomcat/shared/classes/alfresco/extension/

5. Add following in alfresco-community/tomcat/shared/classes/alfresco/extension/mimetype/mimetyps-extension-map.xml

<mimetype mimetype="image/vnd.dxf" display="DXF Mimetype">
<mimetype mimetype="application/dxf" display="DXF-Mimetype">

6. Add the following at file

# QCAD Configuration Properties #
dwg2pdf.root=C:/Program Files/QCAD


7. Restart the server

8. To test the QCAD
Upload the .dxf or .dwg file, they should be previewed in Alfresco.


QCAD integration will support popular file extensions such as DWG, DXF, PDF, PNG, JPEG, TIF, GIF, BMP, WRL, TIF, PSD in 2D and OBJ, 3DS, STL, WRL in 3D.

As an Alfresco ECM & BPM expert, ContCentric team has been associated with several clients where Alfresco was deployed to store, govern and retrieve the CAD files. It is not essential to do the Alfresco AutoCAD integration, but the previewer would suffice. The rest of the functionality would be leveraged from the Alfresco Enterprise Content Management platform. Do contact us for the case study on this topic.

Kintu Barot

About The Author

Kintu is an Alfresco Certified Engineer (ACE501). Apart from shaping Alfresco projects to the requirements of the clients, he keeps himself busy in coordinating Alfresco training program for the new developers at ContCentric.

Leave a reply

Your email address will not be published. Required fields are marked *