Ask Your Question

# Revision history [back]

### How to package QT DLLs during packaging Wireshark on Windows using NSIS

Hi all

I am using following versions:

Wireshark Version - 2.6.5 QT Version - 5.6 MSVisual Studio - 15

I am able to build and package Wireshark using following commands:

# Make:

msbuild /p:Configuration=RelWithDebInfo <>\Wireshark.sln msbuild /p:Configuration=RelWithDebInfo <>\Wireshark.sln /t:Clean

# Packaging:

msbuild /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj msbuild /p:Configuration=RelWithDebInfo nsis_package.vcxproj

Wireshark exe is generated successfully, but when i tried to execute it is giving following error as pop-up.

"This application failed to start because it could not find or load the Qt platform plugin "Windows" in "".

When i execute Wireshark.exe just after the build it works fine. I tried to find out that it is because QT DLLs are not included properly.

Request your help to understand what changes to be done in configuration to include QT DLLs.

Thanks Kiran Kumar G

 2 None grahamb 23384 ●4 ●782 ●226 https://www.wireshark.org

### How to package QT DLLs during packaging Wireshark on Windows using NSIS

Hi all

I am using following versions:

Wireshark Version - 2.6.5
QT Version - 5.6
MSVisual Studio - 1515


I am able to build and package Wireshark using following commands:

# commands: Make:

msbuild /p:Configuration=RelWithDebInfo <>\Wireshark.sln
msbuild /p:Configuration=RelWithDebInfo <>\Wireshark.sln /t:Clean /t:Clean


Packaging:

msbuild /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
msbuild /p:Configuration=RelWithDebInfo nsis_package.vcxprojnsis_package.vcxproj


Wireshark exe is generated successfully, but when i tried to execute it is giving following error as pop-up.

"This application failed to start start because it could not find or load the the Qt platform plugin "Windows" in "".

When i execute Wireshark.exe just after the build it works fine. I tried to find out that it is because QT DLLs are not included properly.

Request your help to understand what changes to be done in configuration to include QT DLLs.

Thanks Kiran Kumar G