Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::cout<< "Reading data..." <<std::endl;
- in.startTransaction();
- QByteArray response_byte;
- in >> response_byte;
- std::cout<<"Status is: " <<in.status() <<std::endl;
- qInfo() << response_byte;
- bool boolean = !in.commitTransaction();
- std::cout<< "Boolean is: "<<boolean <<std::endl;
- if (boolean)
- return;
- //the output is
- Status is: 1
- ""
- Boolean is: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement