I want to insert a photo into a label on QT
I use this codeQt Code:
ui->label_Pic->setPixmap(pix.scaled(100,100,Qt::KeepAspectRatio));To copy to clipboard, switch view to plain text mode
but get an error U used with no following hex digtis in line 1
Added after 5 minutes:
I found a solution to the error, but image will not appear.
Bookmarks