Wireshark-dev: [Wireshark-dev] Qt5.6 for Windows build
From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Sun, 6 Nov 2016 11:25:26 +0000
Hi,

I've spent quite a while trying to get a Windows build going with
trunk, following the instructions at
https://www.wireshark.org/docs/wsdg_html/#ChSetupWin32

My first problem was trying to build the Win64/x64 build against
Microsoft Visual Studio 2013 Community Edition.  If it doesn't support
64-bit builds, we should probably make this clearer.

Next, the link for Qt download
(https://www.qt.io/download-open-source/) leads to the 'unified x86'
installer, which as far as I could see only installed the 64-bit
edition?

After I saw a 32-bit vs 64-bit link error, I instead found the 5.6
Windows 32-bit qt installer on
http://download.qt.io/archive/qt/5.6/5.6.1-1/.  However, after
installing qt-opensource-windows-x86-msvc2013-5.6.1-1.exe from here
and setting my environment like this...

set CYGWIN=nodosfilewarning
set WIRESHARK_BASE_DIR=C:\Development
set WIRESHARK_TARGET_PLATFORM=win32
set QT5_BASE_DIR=C:\Qt\5.6.1\5.6\msvc2013
set WIRESHARK_VERSION_EXTRA=-MartinDesktop
set WIRESHARK_CYGWIN_INSTALL_PATH=C:\cygwin64
set VisualStudioVersion=12.0

... cmake doesn't find any of the Qt5 packages.  I was able to build
the other wireshark project targets at this point.

CMakeCache.txt shows that it didn't find the cmake files for Qt5 at all..

//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=Qt5Core_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5LinguistTools.
Qt5LinguistTools_DIR:PATH=Qt5LinguistTools_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5Multimedia.
Qt5Multimedia_DIR:PATH=Qt5Multimedia_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5PrintSupport.
Qt5PrintSupport_DIR:PATH=Qt5PrintSupport_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5Svg.
Qt5Svg_DIR:PATH=Qt5Svg_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5Widgets.
Qt5Widgets_DIR:PATH=Qt5Widgets_DIR-NOTFOUND

//The directory containing a CMake configuration file for Qt5WinExtras.
Qt5WinExtras_DIR:PATH=Qt5WinExtras_DIR-NOTFOUND

Any ideas what I might have done wrong, and where the CMake files for
Qt5 should be?

Best regards,
Martin