<p>QR Code creation is a GUI only thing. You cannot create a QR code without using the GUI. The JSON-RPC interface only works for text based things and cannot trigger GUI actions.</p>

CC BY-SA 3.0
2018-04-24T03:15:22.637Z
ok I see the QR Code has nothing to do with bitcoin. It's just a flexible bar code system. Since I'm in php I found a library phpqrcode to do the job.
toddmo
CC BY-SA 3.0
2018-04-17T17:25:34.497Z
2018-04-17T17:25:34.497Z
Ava Chow
<p>Bitcoin core qt generates a qr code. Can I do it with the json rpc or by some other means without using 3rd party libs? Right now, I'm using a 3rd party lib and it's working; just trying to tighten things up if possible (with licenses, dependencies and maintainability).</p>

<p>I'm not looking to reverse engineer C code to do it; that would be overkill for the benefit probably.</p>

<p><a href="https://i.sstatic.net/bgvzG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bgvzG.png" alt="enter image description here"></a></p>

<bitcoin-core><qrcode>
possible to generate qr code using only bitcoin core?
toddmo
# possible to generate qr code using only bitcoin core?

(Asked by: username_0 on 2018-04-17)

Bitcoin core qt generates a qr code. Can I do it with the json rpc or by some other means without using 3rd party libs? Right now, I'm using a 3rd party lib and it's working; just trying to tighten things up if possible (with licenses, dependencies and maintainability).

I'm not looking to reverse engineer C code to do it; that would be overkill for the benefit probably.

[![enter image description here](https://i.sstatic.net/bgvzG.png)](https://i.sstatic.net/bgvzG.png)

**Tags:** bitcoin-core, qrcode


---

## 1 answers

### Answer by username_1 on 2018-04-17. Score: 0 | Accepted answer

QR Code creation is a GUI only thing. You cannot create a QR code without using the GUI. The JSON-RPC interface only works for text based things and cannot trigger GUI actions.

> **Comments:**
> **username_0**: ok I see the QR Code has nothing to do with bitcoin. It's just a flexible bar code system. Since I'm in php I found a library phpqrcode to do the job.  

---

