반응형
If myInt is a integer value that has to change to QString, what would we have to do?
There is a example down below. The number function of QString is a static function, we can use that function, if we add '::' text next to QString.
QString tmp = tr("%1").arg(myInt)
QString( "You have mined %1 coins" ).arg( value );
반응형
'QT' 카테고리의 다른 글
fatal error: alsa/asoundlib.h: No such file or directory 라고 오류에 대한 해결방법 (0) | 2019.12.17 |
---|