From 256c9e82805fe98cceb077b4d84951367284fe96 Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 16 Jul 2025 19:44:36 -0700 Subject: [PATCH] docs: add cmake instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 46f5555..c40d43a 100644 --- a/README.md +++ b/README.md @@ -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. +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 This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.