mercredi 20 février 2019

Passing char* to QString

I am working on a module in which GUI and back-end interact by message passing. Now if I initialise a char* as nullptr and pass it to QString in GUI code then GUI receives it as a string "(null)". I want it to be an empty QString. Any info regarding this?

Aucun commentaire:

Enregistrer un commentaire