Wireshark-dev: Re: [Wireshark-dev] Inconsistent QT5_BASE_DIR
From: Graham Bloice <[email protected]>
Date: Sat, 12 Oct 2013 21:39:12 +0100
On 12 October 2013 20:23, Guy Harris <[email protected]> wrote:

On Oct 12, 2013, at 10:24 AM, Joerg Mayer <[email protected]> wrote:

> set setup for nmake seems to be C:\Qt\Qt5.1.1\5.1.1\msvc2010 while the
> value for cmake is just c:\qt\qt5.1.1\5.1.1

Does CMake somehow look for a subdirectory of C:\Qt\Qt5.1.1\5.1.1, or otherwise arrange, with MSVC 2010, to look in C:\Qt\Qt5.1.1\5.1.1\msvc2010?

> My motivation was to not rule out mingw builds.

And is there a C:\Qt\Qt5.1.1\5.1.1\mingw directory for those builds?

And how would you tell CMake which toolchain is being used?
The -G parameter to CMake specifies the generator to use which on Windows also specifies the toolchain.

See http://cmake.org/cmake/help/v2.8.11/cmake.html#section_Generators