How to generate QR code in Cpp ?
-
I would like to generate QR code by taking string input from the user. Can anyone suggest reference for the QR code and also how to dowload pods.pri file.
-
Hi
you could use an existing library
https://github.com/fukuchi/libqrencode- how to dowload pods.pri file.
I have zero idea what pods.pri files are :)
-
-
@Saikumar
what data variable ?
the
data.toStdString() one ?should just be a member
QString data of mainwindow it seems. -
@mrjj
It's taking it as QWidgetData private variable that's why it is giving mainwindow doesn't have any data variable name. How to resolve this problem. Getting conflict on the data . It's saying data is private variable. But when assigning getting error Qstring can't be convert to QWidgetData type on this line this->data=data . -
@Saikumar
Hi
I think there is a name conflict between a string name data and something else
please rename your data string.
1/10