# gerbvQt
**Repository Path**: worksch/gerbvQt
## Basic Information
- **Project Name**: gerbvQt
- **Description**: No description available
- **Primary Language**: C/C++
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-08-24
- **Last Updated**: 2025-08-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# gerbvQt
A simple class for drawing the libgerbv images using QPainter rather than the cairo library.
Folders and files
- gerbvQt - folder containing the class, one .h and one .cpp file
- example - example of usage
- LICENSE - GNU GPL v3 license
- README.md - this file
Building and running the example
- Create the "build" folder (mkdir build)
- Go into it (cd build)
- cmake ../examples/
- make
- ./gerbvQtexample [any gerber file]
- The example will output to the build folder two files: test.png and cairo.png, which are generated using QPainter and cairo correspondingly.
Macro options
There are two macros options in gerbvQt.h: __GERBVQT_MACRO_USE_TEMPIMAGE__ and __GERBVQT_MACRO_CIRCLE_PRECISION__.
See gerbvQt::drawMacroFlash(...) function for more info on these ones.
References
This project uses Qt, cairo and libgerbv. Links:
- Qt: https://www.qt.io/
- libgerbv: http://gerbv.geda-project.org/
- cairo: https://cairographics.org/