QCAD集成QXlsx读写Excel
QCAD集成QXlsx读写Excel 克隆QXlsx源码 git clone https://github.com/QtExcel/QXlsx.git QCAD三方库集成 将QXlsx源码中的QXlsx文件夹拷贝到/src/3rdparty下。修改/src/3rdparty/3rdparty.pro。...
Qt 5.13.2 & VS2017 编译 QCAD release 错误
qmlcache_loader.obj:-1: error: LNK2019: 无法解析的外部符号 "__declspec(dllimport) int __cdecl QQmlPrivate::qmlregister(enum QQmlPrivate::RegistrationType,void *)" (__imp_...
QCAD 自定义消息处理
QCAD 自定义消息处理 使用qInstallMessageHandler自定义输出调试信息。 消息处理句柄 \\src\\run\\main.cpp RMainWindow::installMessageHandler(); \\src\\core\\RMainWindow.cpp static void ...
QCAD渲染效率问题
一、配置多线程渲染 配置QCAD3.ini [GraphicsView] Multithreading=true Threads=10 QList<REntity::Id> list = document->getStorage().orderBackToFront(ids); int s...
QCAD自动化编译测试
使用GitHub Actions 自动化编译QCAD 编写自动化编译流水线文件Windows.yaml # This is a basic workflow to help you get started with Actions name: Windows # Controls when the action will...
QCAD属性与Qt Event
QCAD属性与Qt Event 自定义Qt事件 class RPropertyEvent : public QEvent { public: RPropertyEvent() : QEvent((QEvent::Type)(QEvent::User+500)), propertyTypeId(-1) { } /** * \\para...
QCAD加载数据到渲染流程
QCAD加载数据到渲染流程 外部数据加载 读入dxf到QCAD实体对象REntity,同时建立空间索引。 准备工作 创建存储库,空间索引和文档对象。 var storage = new RMemoryStorage(); var spa...
QCAD 代码片段(一)
Draw 绘制 var di = this.getDocumentInterface(); var document = this.getDocument(); var op = new RAddObjectsOperation(); for (var h=0; h<=255; h+...
QCAD C++&Javascript混合调用
QCAD C++&Javascript混合调用 Javascript绑定C++类,与QML&Javascript和Qt C++机制类似。 创建可供绑定的类 \\support\\examples\\exampleplugin2...








