[solved] which dlls are needed?
-
I want to copy my program to a new computer, and I find that the qt-win-opensource-4.8.5-vs2010.exe must be installed first.
How can I run my program directly on a new computer?
I tried to copy:
qtcore4.dll
qtgui4.dll
qjpeg4.dll
in the exe folder, and the program is able to start up. but the images (jpeg file) can not be show in the qlabel. (QLabel.load(...)), and also QPainter.draw failed.What other dlls are needed?
-
use 'depends' software to view all the dlls require
-
Please read the documentation on Qt image plugins. They need to be placed in plugins or imageformats directory.
-
Yeah, I copy the imageformats folder overall, and the problem solved.
[quote author="sierdzio" date="1383985955"]Please read the documentation on Qt image plugins. They need to be placed in plugins or imageformats directory.[/quote]
-
That is really a good method.
[quote author="kqt-mr-nv6" date="1383969627"]use 'depends' software to view all the dlls require
"http://www.dependencywalker.com/"[/quote]