Wireshark-dev: Re: [Wireshark-dev] Packaging .dlls from Qt 5.2 on Windows?

From: hsivank <hsivank@xxxxxxxxx>
Date: Tue, 24 Jun 2014 17:40:03 +0200
Hello,

Do you plan to make a solution based on cmake + cpack + nsis ?

There are two interesting module : InstallRequiredSystemLibraries and fixup_bundle from BundleUtilities (http://www.cmake.org/Wiki/BundleUtilitiesExample)

It works pretty well for me with  Qt5.2 / Qt5.3 

Hsivank

Le 24 juin 2014 à 17:26, Anders Broman a écrit :


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



> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe