Qt 5.11 full build (or downloadable kit)

  • Hi,

    Is possible to download the full kit for not released Qt 5.11 version? I didn't found it on the http://download.qt.io/

    I also tried to perform the full build but after trying to use it (Tools->Options->Kits), I'm getting:

    "Some of the required modules (qtHaveModule(multimedia) qtHaveModule(quick) qtHaveModule(qml)) are not available."

    The include directory contains 25 dirs (in the 5.9.3 I have 80) so probably the missing components list is longer but I didn't try to disable the extra features during configure calling.
    I tried to add it manually:


    but the result is:

    ERROR: Enabling/Disabling unknown feature 'multimedia'.

    Using the "qtmultimedia" also doesn't work. Should I use different module name?
    The full kit location will also help.

  • Lifetime Qt Champion


    No there's not, Qt 5.11 is the current dev branch and there are not pre-built installer for the dev branch.

    How did you get Qt in order to build it ?

  • Lifetime Qt Champion

    Did you follow the Build Qt from Git guide ?

  • I found the guide on the https://doc-snapshots.qt.io/qt5-dev/windows-building.html
    I checked the output log - looks like sth is wrong:

    qbluetoothdevicediscoveryagent_winrt.cpp(443): error C2065: 'IBluetoothLEDevice2': undeclared identifier
    qbluetoothdevicediscoveryagent_winrt.cpp(443): error C2923: 'Microsoft::WRL::ComPtr': 'IBluetoothLEDevice2' is not a valid template type argument for parameter 'T'
    qbluetoothdevicediscoveryagent_winrt.cpp(443): error C2133: 'device2': unknown size
    qbluetoothdevicediscoveryagent_winrt.cpp(443): error C2512: 'Microsoft::WRL::ComPtr': no appropriate default constructor available
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt\wrl\client.h(172): note: see declaration of 'Microsoft::WRL::ComPtr'
    qbluetoothdevicediscoveryagent_winrt.cpp(444): error C2672: 'Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice>::As': no matching overloaded function found
    qbluetoothdevicediscoveryagent_winrt.cpp(444): error C2784: 'HRESULT Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice>::As(Microsoft::WRL::ComPtr<U> *) throw() const': could not deduce template argument for 'Microsoft::WRL::ComPtr<U> *' from 'Microsoft::WRL::ComPtr *'
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt\wrl\client.h(439): note: see declaration of 'Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice>::As'
    qbluetoothdevicediscoveryagent_winrt.cpp(444): error C2784: 'HRESULT Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice>::As(Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<U>>) throw() const': could not deduce template argument for 'Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<U>>' from 'Microsoft::WRL::ComPtr *'
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt\wrl\client.h(432): note: see declaration of 'Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice>::As'
    qbluetoothdevicediscoveryagent_winrt.cpp(447): error C2678: binary '->': no operator found which takes a left-hand operand of type 'Microsoft::WRL::ComPtr' (or there is no acceptable conversion)
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt\wrl\client.h(335): note: could be 'Details::RemoveIUnknown<T>::ReturnType *Microsoft::WRL::ComPtr<T>::operator ->(void) throw() const'
    qbluetoothdevicediscoveryagent_winrt.cpp(447): note: while trying to match the argument list '(Microsoft::WRL::ComPtr)'
    qbluetoothdevicediscoveryagent_winrt.cpp(447): error C2039: 'get_DeviceInformation': is not a member of 'Microsoft::WRL::ComPtr'
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt\wrl\client.h(172): note: see declaration of 'Microsoft::WRL::ComPtr'
            cl -c -FIQtBluetoothDepends -YuQtBluetoothDepends -Fp.pch\debug\Qt5Bluetoothd_pch.pch -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\Qt5Bluetoothd.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_WINRT_BLUETOOTH -DCLASSIC_APP_BUILD -DQT_WINRT_LIMITED_SERVICEDISCOVERY -DQT_UCRTVERSION=10240 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_BLUETOOTH_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -D_WINDLL -I. -I..\..\include -I..\..\include\QtBluetooth -I..\..\include\QtBluetooth\5.11.0 -I..\..\include\QtBluetooth\5.11.0\QtBluetooth -Itmp -IC:\qt5\qtbase\include\QtCore\5.11.0 -IC:\qt5\qtbase\include\QtCore\5.11.0\QtCore -IC:\qt5\qtbase\include -IC:\qt5\qtbase\include\QtCore -I.moc\debug -IC:\qt5\qtbase\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\#######\AppData\Local\Temp\qbluetoothservicediscoveryagent_winrt.obj.4164.7285.jom
    jom: C:\qt5\qtconnectivity\src\bluetooth\Makefile.Debug [.obj\debug\qbluetoothdevicediscoveryagent_winrt.obj] Error 2
    jom: C:\qt5\qtconnectivity\src\bluetooth\Makefile [debug-install] Error 2

    I didn't have any uncommitted changes etc. I also installed the VS2015 with update 3.
    After running jom install, the output directory contains ~1GB of data (the 5.9.3 msvc x64 kit takes 3-3.5GB).

    Looks like the IBluetoothLEDevice2 is not visible in my Win Kit. But on the https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothledevice we have: "introduced v10.0.10240.0".
    I installed the 10.0.16299.15. After trying to build, I'm getting a lot of "already defined" errors like:

    C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt.h(134): error C2953: '_CrtEnableIf<true,_Ty>': class templ
    C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>'

    I unninstalled the previous version and removed the old folders from C:\Program Files (x86)\Windows Kits\10\include\ but the problem is still visible.

    PC restarted, I copied full clean qt, called (as I did multiple times):

    configure -debug -nomake examples -opensource -prefix /qt-output/5.11/msvc2015_64


    Do you accept the terms of either license? y
    Running configuration tests...
    Checking for valid makespec... ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.


  • Lifetime Qt Champion

    Are you trying to build for WinRT ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.