Wireshark-dev: Re: [Wireshark-dev] Packaging .dlls from Qt 5.2 on Windows?
From: Graham Bloice <[email protected]>
Date: Tue, 24 Jun 2014 15:49:05 +0100
On 24 June 2014 15:41, Anders Broman <[email protected]> wrote:


I think with Qt5.2 there is more dlls and new subdirectories to be added to the NSIS installer – anyone looking into that?

(MSVC 2012). Check for Qt version needed? (how?)


I don't know for sure about 5.2, but 5.3 definitely does.

5.3 has the tool "windeployqt" that will copy all required QT libraries to the correct place (needs to be on the path and given the --release flag), I'm not sure if NSIS needs to be told explicitly about the new stuff or it just recreates the build directory on the install.  If the former then some work remains to be done.  windeployqt can list all the qt parts required with another option.

I think at SharkFest we discovered that windeployqt is broken on 5.2 as it doesn't have the --release flag and so always copies the debug DLL's.  5.3. will also do this by default, their detection of what is a debug and release build is failing for some reason with qtshark.

Graham Bloice