I am trying to compile the program from the github repository source code in Debian Gnu/Linux.
I had to modify some files to get it to compile without errors,
I don't really know what these changes do but at least this way it doesn't give an error and can be compiled.
in file: qcad/scripts/Help/ShowReadme/ShowReadme.js
- text.toPlainText() = qsTr("File \"%1\" doesn't exist.").arg(
+ text.plainText = qsTr("File \"%1\" doesn't exist.").arg(
in file: qcad/src/3rdparty/spatialindexnavel/src/tools/Tools.cc
- if (mktemp(tmpName) == 0)
+ if (mkstemp(tmpName) == 0)
Some files don't end up in the right place so I have also changed:
file qcad/src/customwidgets/customwidgets.pro
-DESTDIR = ../../plugins/designer
+DESTDIR = $$PWD/../../plugins/designer
file qcad/src/scripts/scripts.pro
-DESTDIR = ../../plugins
+DESTDIR = $$PWD/../../plugins
I have tested compile with QT Creator and QT version 5.15.2 , 5-13.2 and 5.8.0.
with 5.13.5 all right
with 5.13.2 dont work well, error when running: libqcadscripts.so: undefined symbol
with 5.8.0 all right but an error when click on open web page in help menu, but it is easily repaired linking ssl librarys in qcad directory
$ ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so libcrypto.so
$ ln -s /usr/lib/x86_64-linux-gnu/libssl.so libssl.so
Sorry for my poor English
Difficulties compiling the source code
Use this forum for all posts and questions about the free QCAD Community Edition version 3
Moderator: andrew
Return to “QCAD Community Edition”
Jump to
- General
- ↳ Announcements
- ↳ Chat
- ↳ Site Feedback
- ↳ Pre-sales Questions
- ↳ Introduce Yourself
- QCAD Professional Version
- ↳ QCAD 'How Do I' Questions
- ↳ QCAD Suggestions and Feedback
- ↳ QCAD Voting Corner
- ↳ QCAD Troubleshooting and Problems
- ↳ QCAD Installation and Upgrades
- ↳ QCAD Programming, Script Programming and Contributing
- ↳ QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
- ↳ Finished 'Ready to go' Scripts/Plug-in's
- ↳ QCAD Tips and Tutorials
- ↳ QCAD/CAM
- ↳ What do you use QCAD/CAM for?
- QCAD Community Edition
- ↳ QCAD Community Edition
- International Forums
- ↳ Français
- ↳ QCAD Professional
- ↳ QCAD/CAM
- ↳ QCAD Community Edition (Version 3)
- ↳ Deutsch
- ↳ QCAD Professional
- ↳ QCAD/CAM
- ↳ QCAD Community Edition
- ↳ Italiano
- ↳ QCAD Professional
- ↳ QCAD/CAM
- ↳ QCAD Community Edition
- ↳ Español
- ↳ QCAD Professional
- ↳ QCAD/CAM
- ↳ QCAD Community Edition
- ↳ Português
- ↳ QCAD Professional
- ↳ QCAD/CAM
- ↳ QCAD Community Edition
- QCAD Book
- ↳ QCAD - An Introduction to Computer-Aided Design
- ↳ QCAD - Una Introducción al Diseño Asistido por Ordenador
- ↳ QCAD - Eine Einführung in computerunterstütztes Zeichnen (CAD)
- QCAD Part Libraries
- ↳ General
- ↳ Creating DXF/DWG items
- ↳ Creating SVG items
- ↳ Meta Data
- dxflib
- ↳ dxflib Suggestions and Feedback
- ↳ dxflib 'How Do I' Questions
- ↳ dxflib Troubleshooting and Problems
- Archive
- ↳ vec2web Format Converter
- ↳ vec2web Suggestions and Feedback
- ↳ vec2web 'How Do I' Questions
- ↳ vec2web Troubleshooting and Problems
- ↳ QCAD Development
- ↳ Translations
- ↳ QCAD Professional (2.1/2.2)
- ↳ QCAD 2.1/2.2 Suggestions and Feedback
- ↳ QCAD 2.1/2.2 'How Do I' Questions
- ↳ QCAD 2.1/2.2 Troubleshooting and Problems
- ↳ QCAD 2.1/2.2 Installation and Upgrades
- ↳ QCAD 2.1/2.2 Developers
- ↳ QCAD Community Edition (2.0)
- ↳ QCAD Community 'How Do I' Questions
- ↳ QCAD Community Patches
- ↳ CAM Expert
- ↳ Announcement
- ↳ CAM Expert Suggestions and Feedback
- ↳ CAM Expert 'How Do I' Questions
- ↳ CAM Expert Troubleshooting and Problems
- ↳ Annonces
- ↳ Ankündigungen
- ↳ Annunci
- ↳ Noticias