QT
Convert from char*(char array) to QString
char *ch = "ABC"; 1번 방법) QString str = QString(ch); 2번 방법) QString str = QString("%1").arg(ch);
char *ch = "ABC"; 1번 방법) QString str = QString(ch); 2번 방법) QString str = QString("%1").arg(ch);
QString filename = "test.png"; QImage image(filename); QPixmap pixmap = QPixmap::fromImage(image);