OpenCASCADE 显示对象设置不可选中
原有的选中模式代码: static Standard_Integer SelectionMode (const TopAbs_ShapeEnum theShapeType) { switch (theShapeType) { case TopAbs_VERTEX: return 1; case TopAbs_EDGE: return 2; case…
使用 nlohmann/json 序列化
https://github.com/nlohmann/json #include <iostream> #include <fstream> #include <vector> #include <optional> #include "json.hpp" namespace nl = nlohmann; enum cla…
交叉编译 Qt5 armv8(aarch64) with WebEngine – NVIDIA JETSON TX2
本文写于 2020 年初,完成 armv8 下交叉编译 webengine 我的平台:On Windows10 WSL2 Debian(注:Ubuntu <= 16.04 会出现 libclang < 3.8 的问题) 下载源码 为避免网络问题,先安装一个下载工具,使用aria2可以断点继续下载 sudo apt install ari…