Why won’t Qt show jpg images when you move an exe from one computer to another? I’ve stumbled upon this problem today at work. The solution was to convert my resources to bmp.
Does anyone have any idea why this happened?
If you want to use QtUiLoader in your project, you should make sure you’re in Release mode and that you’ve added the following line to your .pro file:
CONFIG += uitools
I tried to build the same thing in Debug mode, but QtCreator couldn’t link against the library.
Here’s how you set a widget not to have a background :
This one came in handy today with some labels.