这篇教程在windows编译qcad写得很实用,希望能帮到您。
Windows
- Download and install a C++ compiler, for example:
- Download and install Qt from qt.io (see supported platforms):
- If available, download and extract Teigha (e.g. Kernel_vc14_amd64md.zip and Drawings_vc14_amd64md.zip) into qcadpro/src/io/dwg/opendesign and copy OdActivationInfo to qcadpro/src/io/dwg/opendesign/ThirdParty/activation.
- Configure QCAD. Optional modules installed side-by-side with the qcad directory are configured automatically:
cd c:\Users\me\qcad\qcad
c:\Qt\Qt5.13.2\5.13\msvc2015_64\bin\qmake -r CONFIG+=ractivated
-
Compile QCAD. For example on cygwin:
nmake release
Alternatively, you may want to use jom, an nmake clone which speeds up compilation significantly by using all available CPU cores.
-
Launch QCAD. For example with:
release\qcad.exe
- (Optional) For code signing, open certlm.msc, click on "Personal" folder, choose Action > All Tasks > Import and select P12 file to import.
Supported C++ Compilers and Qt Versions
The following list is intended for developers who are choosing a Qt version to compile QCAD against.
All listed Qt version / platform combinations have been tested. Other, not listed Qt versions might or might not work.
Some Qt versions are explicitly NOT recommended due to known significant bugs in Qt.
Qt 6.x is currently not supported.
- Windows:
- Compilers / SDKs:
- MSVC 2010 32bit / Microsoft Windows SDK for Windows 7 and .NET Framework 4
- MSVC 2013 64bit / Microsoft Visual Studio 2013 SDK
- Qt Versions:
- Qt 4.7.4 is recommended for older platforms
- Qt 4.8.7 is NOT recommended:
- FS#1241: no interaction with widgets, graphics view possible
- Qt 5.5.1 is recommended with patches for:
C++ 有用的资源 QCAD Community Edition Source Code |