Load internet image into QWidget...
Unsolved
General and Desktop
-
-
Hello!
i'm developing a webassembly site, and my file size is increasing so much, so i was thinking may be there is a way to link images directly from internet without packing them into wasm file.. ? I'm using QFrame to store image via stylesheet.
Cheers
@1XU7 said in Load internet image into QWidget...:
I'm using QFrame to store image via stylesheet.
Why? Just use QLabel, you can set it to display image instead of text with this property: https://doc.qt.io/qt-6/qlabel.html#pixmap-prop
Image can come from the network, sure, you'll just need to download it.