Wireshark-dev: Re: [Wireshark-dev] Packaging .dlls from Qt 5.2 on Windows?
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 24 Jun 2014 16:37:30 +0100
On 24 June 2014 16:26, Anders Broman <a.broman58@xxxxxxxxx> wrote:


Den 24 jun 2014 16:49 skrev "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>:


>
> On 24 June 2014 15:41, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> 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
>
>
I got windeployqt to work today but the nsis installer needs the input dlls and output path it seems.
Regards
Anders



Does the 5.2 version have the "--list target" option to list everything so you can add the list to NSIS?