hello,
I want to know how to do qDebug style string insertions. For instance I can go:
qDebug("%s is %d today", myName, myAge);
qDebug("%s is %d today", myName, myAge);
To copy to clipboard, switch view to plain text mode
Python has a similar feature:
>>> '%s is %d today' % (myName, myAge)
>>> '%s is %d today' % (myName, myAge)
To copy to clipboard, switch view to plain text mode
It would be helpful if I could do these style of manipulations in my Qt C++ program. Is there a proper way to do this, or do I have to hack the string around to inject my content.
thanks,
Richard
Bookmarks