[Interest] Shiping Qt binaries

Till Oliver Knoll till.oliver.knoll at gmail.com
Fri Jan 24 22:17:47 CET 2014


Am 24.01.2014 um 20:53 schrieb Jonathan Greig <redteam316 at gmail.com>:

> Igor,
> From what I understand, you need to create another directory in the same directory as your executable called platforms and put the qwindows.dll there, otherwise it won't work. I felt this was a little clunky when switching from Qt4 to Qt5.

The only thing that has changed since Qt 4 is the addition of several "platform plugins" which are now mandatory to deploy.

But then again, if you wanted to e.g. display JPEG images it was also sort of mandatory to deploy the corresponding image plugins in Qt 4.

The "standard plugin locations" however have not changed (apart the /addition/ of the "platforms" plugin folder, off course).


> I think I read somewhere that there is a way to change the location but it has issues also. 

Either with qt.conf or programatically - before instantiating QApplication - with http://qt-project.org/doc/qt-5.0/qtcore/qcoreapplication.html#addLibraryPath and friends.

There are no issues with that ;)

Also refer to

  http://qt-project.org/doc/qt-5.0/qtdoc/deployment-plugins.html

Cheers,
  Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140124/9e0a1e62/attachment.html>


More information about the Interest mailing list