Wireshark-dev: Re: [Wireshark-dev] Qt deploy problem when installing Wireshark

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Thu, 28 Sep 2017 15:43:04 -0700
After a standard build run\RelWithDebInfo contains Wireshark and all of its associated command line utilities and dependencies except for the Visual C++ Redistributable DLLs. Is there any reason you can't copy the RelWithDebInfo directory itself? That's effectively what we do to build the PortableApps package, although we exclude a couple of file extensions via xcopy-deploy-exclude.txt.


On 9/28/17 2:05 PM, John Dill wrote:
> I'm trying to run a Wireshark installer I build from Qt 5.8.0, 32-bit, for
> Wireshark 2.4.1 on a Windows 10 machine with Visual Studio 2015.  It runs
> fine when I execute run\RelWithDebInfo\Wireshark.exe on my local computer. 
> The installer needs to run on Vista 32-bit (lab computer) and the
> installer works fine, but afterwards the Wireshark application would not
> start due to missing DLLs.
> 
>  
> 
> First, I had to install the VS 2015 redistributable to fix the msvcp140.dll
> missing issue.  Now it has another problem that reads
> 
>  
> 
> The application failed to start because it could not find or load the Qt
> 
> platform plugin "windows"
> 
> in ""
> 
>  
> 
> Reinstalling the application may fix the problem.
> 
>  
> 
> The Vista computer doesn't have Qt installed on it.  I copied the
> Wireshark.exe from a wsbuild32 directory containing
> run\RelWithDebInfo\Wireshark.exe into a deploy32 folder and ran the x86
> version of windeployqt.exe.
> 
>  
> 
> C:\Qt\Qt5.8.0_x86\5.8\msvc2015\bin\windeployqt.exe Wireshark.exe
> 
>  
> 
> It copied a lot of files into deploy32 but I'm not sure where these files
> are supposed to be deployed on the Vista machine.  Can someone let me know
> what to do from here, or if I'm off track?
> 
>  
> 
> Thanks,
> 
> John D.
> 
>  
> 
> 
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>