Error in Basic Widgets code

Hello Martin,

widget.setPixMap(QPixmap('otje.jpg'))

threw an error for me. I think, it should be

widget.setPixmap(QPixmap('otje.jpg'))

Kind regards,
Lukas

1 Like

I found the same error. Thanks Lukas.

Thanks @Lukas_Oster & @Impiastro_1 – you’re right, there was a typo. I’ve fixed it in the tutorial (also in the book). Appreciate the help!

1 Like