Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.13.0
-
None
Description
Example: attachment(testQLabelSetpixmap.rar)
ui>label>setPixmap(QPixmap(":/image/haha.png").scaled(ui>label>size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); display Success.
ui>label_2>setPixmap(QPixmap(":/image/iPhoneScreenshots.jpg").scaled(ui>label_2>size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); display fail.
Explain: iPhoneScreenshots.jpg is iPhone Screenshots.