docs: add cmake instructions

This commit is contained in:
talksik
2025-07-16 19:44:36 -07:00
parent 58f73fc7d9
commit 256c9e8280
+10
View File
@@ -20,6 +20,16 @@ QImage qrCodeImage = generator.generateQr(data);
4. That's all! Check the [example](example) project as a reference for your project if needed. 4. That's all! Check the [example](example) project as a reference for your project if needed.
Here are the steps to run the example using cmake (specific steps for LINUX ONLY):
```sh
cd ./example
mkdir -p build
cd build
cmake ../
make
./qrexample # runs executable
```
## License ## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.