S
S
sitev_ru2016-12-05 09:14:41
Qt
sitev_ru, 2016-12-05 09:14:41

Why does not draw a picture on another computer?

Draw an image on a form

QPainter painter(this);
painter.drawImage(0,0, img->scaled(this->size()));

Everything works on my computer, I transfer it to another one (there is no Qt on it) - the program opens, but there is no picture. What's wrong? Is there a DLL you haven't copied yet?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kozura, 2016-12-05
@sitev_ru

%YOUR_QT%/plugins/imageformats
plugins: qjpg.dll, qpng.dll ... qsomething.dll ^^) ..
profit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question