[Development] build qt5.15 failed
mirchd
mirchd at 126.com
Sat Aug 8 12:23:28 CEST 2020
Hi,
compile environment
Visual Studio Community 2019 Version 16.6.5
qt source git:5.15
windows 10 1803 Chinese (Simplified)
--------------
"C:\Windows\System32\cmd.exe" /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
SET _ROOT=D:\program\qt5
SET QT_PLUGIN_PATH=%_ROOT%\qtbase\plugins
SET QT_QPA_PLATFORM_PLUGIN_PATH=%_ROOT%\qtbase\plugins\platforms
set path=C:\Python27;C:\Strawberry\perl\bin;D:\program\llvm-project\build\Release\bin;%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%_ROOT%\qtrepotools\bin;D:\program\icu\icu4c\bin64;"C:\Program Files\CMake\bin";%path%
set LLVM_INSTALL_DIR=D:\program\llvm-project\build\Release
configure.bat -debug-and-release -developer-build -confirm-license -nomake tests -opensource -platform win32-msvc -icu -I D:\program\icu\icu4c\include -L D:\program\icu\icu4c\lib64 -opengl desktop -no-angle
--
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
WARNING: Building without node.js will disable some features of QtWebEngine DevTools.
--------------
nmake:
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -utf-8 -EHsc -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\tst_qmltests.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DTESTS_SOURCE_DIR=\"D:/program/qt5/qtwebengine/tests/auto/quick/\" -DQUICK_TEST_SOURCE_DIR=\"D:/program/qt5/qtwebengine/tests/auto/quick/qmltests\\data\" -DQT_WEBENGINE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_QMLTEST_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"D:/program/qt5/qtwebengine/tests/auto/quick/qmltests\"" -I. -I..\..\quick -I..\shared -I..\..\shared -ID:\program\qt5\qtbase\include -ID:\program\qt5\qtbase\include\QtWebEngine -ID:\program\qt5\qtbase\include\QtWebEngineCore -ID:\program\qt5\qtbase\include\QtQuick -ID:\program\qt5\qtbase\include\QtQuickTest -ID:\program\qt5\qtbase\include\QtWidgets -ID:\program\qt5\qtbase\include\QtGui -ID:\program\qt5\qtbase\include\QtTest -ID:\program\qt5\qtbase\include\QtQmlModels -ID:\program\qt5\qtbase\include\QtWebChannel -ID:\program\qt5\qtbase\include\QtQml -ID:\program\qt5\qtbase\include\QtNetwork -ID:\program\qt5\qtbase\include\QtPositioning -ID:\program\qt5\qtbase\include\QtCore -I.moc\debug -ID:\program\icu\icu4c\include -ID:\program\qt5\qtbase\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\CHENDI~1.NIN\AppData\Local\Temp\nmD02E.tmp
tst_qmltests.cpp
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(67): error C3646: 'readKey': unknown override specifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(67): error C2059: syntax error: '('
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(67): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(73): error C3646: 'sslconf': unknown override specifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(44): error C2065: 'sslconf': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(44): error C2653: 'QSslCertificate': is not a class or namespace name
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(44): error C3861: 'fromPath': identifier not found
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(45): error C2065: 'sslconf': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(45): error C3861: 'readKey': identifier not found
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(49): error C2061: syntax error: identifier 'QSslSocket'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(50): error C3536: 'socket': cannot be used before it is initialized
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(50): error C2065: 'sslconf': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(54): error C2541: 'delete': cannot delete objects that are not pointers
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C2653: 'QSslSocket': is not a class or namespace name
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C2065: 'SocketError': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C3544: 'Args': parameter pack expects a type template argument
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C2955: 'QOverload': use of class template requires template argument list
D:\program\qt5\qtbase\include\QtCore\../../src/corelib/global/qglobal.h(1234): note: see declaration of 'QOverload'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C2065: 'error': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(59): error C2653: 'QSslSocket': is not a class or namespace name
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(59): error C2061: syntax error: identifier 'SocketError'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(59): error C2065: 'e': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(58): error C2661: 'QObject::connect': no overloaded function takes 2 arguments
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2065: 'QSslError': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2923: 'QList': 'QSslError' is not a valid template type argument for parameter 'T'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2955: 'QList': use of class template requires template argument list
D:\program\qt5\qtbase\include\QtCore\../../src/corelib/kernel/qmetatype.h(2254): note: see declaration of 'QList'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2955: 'QOverload': use of class template requires template argument list
D:\program\qt5\qtbase\include\QtCore\../../src/corelib/global/qglobal.h(1234): note: see declaration of 'QOverload'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2653: 'QSslSocket': is not a class or namespace name
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(60): error C2065: 'sslErrors': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(61): error C2065: 'QSslError': undeclared identifier
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(61): error C2923: 'QList': 'QSslError' is not a valid template type argument for parameter 'T'
D:\program\qt5\qtwebengine\tests\auto\shared\httpsserver.h(61): error C2678: binary '<<': no operator found which takes a left-hand operand of type 'QDebug' (or there is no acceptable conversion)
Thanks for your help.
DianChen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200808/9ba6cdb5/attachment.html>
More information about the Development
mailing list