[Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

Marcel Krems marcel.k.dev at gmail.com
Wed Sep 16 02:18:49 CEST 2020


Make sure you have checked out the correct branch/tag.
Because that is the exact same error I got when compiling the current 
dev-branch with MSVC 2017 caused by QHashMultiReturnType which doesn't 
exist in Qt 5.


Marcel

On 15.09.2020 15:54, Colin Worth wrote:
> Error is on first compile step:
>
>         cl -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2 -std:c++17 
> -Zc:__cplusplus  /MP /wd4577   -Ic:\Qt\Qt5.14.2\qtbase\qmake 
> -Ic:\Qt\Qt5.14.2\qtbase\qmake\library 
> -Ic:\Qt\Qt5.14.2\qtbase\qmake\generators 
> -Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\unix 
> -Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\win32 
> -Ic:\Qt\Qt5.14.2\qtbase\qmake\generators\mac 
>  -Ic:\Qt\Qt5.14.2\qtbase/src/3rdparty/tinycbor/src 
>  -Ic:\Qt\Qt5.14.2\qtbase/src/3rdparty/pcre2/src  -I../include 
> -I../include\QtCore -I../include\QtCore\6.0.0 
> -I../include\QtCore\6.0.0\QtCore  -I..\src\corelib\global 
>  -Ic:\Qt\Qt5.14.2\qtbase\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS 
> -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"6.0.0\" 
> -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=0 -DQT_VERSION_PATCH=0 
>  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL 
>  -DQT_NO_FOREACH -DQT_USE_QSTRINGBUILDER -DUNICODE 
> -D_ENABLE_EXTENDED_ALIGNED_STORAGE  -DPCRE2_CODE_UNIT_WIDTH=16 
> -DHAVE_CONFIG_H -DPCRE2_STATIC -DPCRE2_DISABLE_JIT -c -Yc 
> -Fpqmake_pch.pch -TP c:\Qt\Qt5.14.2\qtbase\qmake\qmake_pch.h
> qmake_pch.h
> c:\qt\qt5.14.2\qtbase\include\qtcore\../../src/corelib/tools/qhashfunctions.h(201): 
> error C3520: 'T': parameter pack must be expanded in this context
> jom: C:\Qt\Qt5.14.2\qtbase\qmake\Makefile [qmake_pch.obj] Error 2
>
>
> On Tue, Sep 15, 2020 at 6:16 AM Colin Worth <jlk2144 at gmail.com 
> <mailto:jlk2144 at gmail.com>> wrote:
>
>     Trying to follow the instructions here:
>     https://doc.qt.io/qt-5/windows-building.html to build qt5.14.2
>     from source for windows msvc2017, but running into build errors.
>
>     Cloned the sources from git, checked out 5.14.2, and ran perl
>     init-repository.
>
>     Followed the instructions in Step 3 to create a custom cmd prompt,
>     but got an error: missing the cl command.
>
>     So instead I started with the x64 native tools command prompt,
>     then added the paths from Step 3. Now I figure I should be ready
>     to configure, but when I try to configure I get build errors
>     immediately on the first file.: qhashfunctions.h(201): error
>     C3520: T: parameter pack must be expanded in this context.
>
>     Anyone who has compiled from scratch recently, can you help?
>
>     Colin
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200916/fab8a7f4/attachment.html>


More information about the Interest mailing list