Wireshark-dev: [Wireshark-dev] Packaging failure on Win7 with Qt 5.2.1 in "top-of-trunk"

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2015 14:12:20 +0000

:

File: "Wireshark.exe" 7732736 bytes

!include: "qt-dll-manifest.nsh"

File: "Qt5Core.dll" 4824064 bytes

File: "Qt5Gui.dll" 3819008 bytes

File: "Qt5Widgets.dll" 5273600 bytes

File: "Qt5PrintSupport.dll" 280064 bytes

File: Descending to: "..\..\wireshark-qt-release\platforms\"

File: "qwindows.dll" 1071104 bytes

File: Returning to: "..\..\wireshark-qt-release"

!include: closed: "qt-dll-manifest.nsh"

File: "..\..\wireshark-qt-release\*.qm" -> no files found.

Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |

   /_oname_=outfile one_file_only)

Error in script "wireshark.nsi" on line 874 -- aborting creation process

NMAKE : fatal error U1077: '"C:\Program Files (x86)\NSIS\makensis.exe"' : return

code '0x1'

Stop.

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0

\VC\BIN\nmake.exe"' : return code '0x2'

Stop.

 

It seems like windeployqt-to-nsis.ps1 ought to copy the *.qm files from (in my case) C:\Qt\Qt5.2.1\5.2.1\msvc2012_64\translations

I’m not sure how to do that in PS so I can’t try if it works…

 

Regards

Anders