View Code? Open in Web Editor
NEW
Simple 2D CAD with C++ Qt
simple-2d-cad's Introduction
![](result.png)
![Thumbnail](https://camo.githubusercontent.com/593c994119c0be5b1fdd34df46e1b80d412e638ac82cdce9152ecd04f1be1a36/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f5a776770786872786148452f302e6a7067)
![](class-diagram.png)
- Practice project development skills
- Practice
C++
, QT
, etc.
- Study project design pattern
- Apply coding convention
Tool |
Version |
C++ |
>= 17 |
QT |
6.6.0 |
Visual Studio |
17.7.5 |
OS |
Windows 11 |
- Install Visual Studio 2022
- Install Desktop development with C++
- Install QT 6.6.0 with MSVC
- Install Visual Studio QT Extension
- Visual Studio > Extensions > Manage Extensions > Qt Visual Studio Tools install
- Tools > Options > Qt > Versions > +
- Add
qmake.exe
path with Path button (ex. C:/Qt/6.6.0/msvc2019_64/bin/qmake.exe
)
- Repository clone
- Open
simple-2d-cad.sln
- Solution Build and Run
- (Default) Select Point
- Select Line
- Select Face
- New scene
- Open scene (
.json
)
- Save scene (
.json
)
- Move (Pan)
- Zoom
- Using mouse right and wheel button