Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91494

Can't build Qt 6.1 on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.1.0 Beta 1
    • None
    • Windows 10, MSVC 2017 (14.16), CMake 3.20, Ninja 1.10, ActivePerl 5.32, Python 3.8
    • Windows

    Description

      Build environment:

      Windows 10, MSVC 2017 (14.16), CMake 3.20, Ninja 1.10, ActivePerl 5.32, Python 3.8

      First calling %programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsx86_amd64.bat and then calling configure in the Qt 6.1 beta1 directory works fine, except for a couple warnings at the end ("CMake Warning (dev) at qtdeclarative/src/qml/Qt6QmlMacros.cmake:826").

      But then when calling cmake --build . --parallel, I have several errors displayed and the build process stop very quickly:

      C:\Qt\qt-everywhere-src-6.1.0-beta1>cmake --build . --parallel
      [36/5568] Building C object qtbase\src\tools\bootstrap\CMakeFiles\Bootstrap.dir\__\__\3rdparty\zlib\src\gzwrite.c.obj
      qtbase\src\3rdparty\zlib\src\gzwrite.c(212): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
      qtbase\src\3rdparty\zlib\src\gzwrite.c(232): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
      qtbase\src\3rdparty\zlib\src\gzwrite.c(371): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
      [37/5568] Building C object qtbase\src\tools\bootstrap\CMakeFiles\Bootstrap.dir\__\__\3rdparty\zlib\src\gzread.c.obj
      qtbase\src\3rdparty\zlib\src\gzread.c(319): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
      qtbase\src\3rdparty\zlib\src\gzread.c(400): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data
      qtbase\src\3rdparty\zlib\src\gzread.c(472): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
      [50/5568] Building CXX object qtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\helpers.cpp.obj
      FAILED: qtbase/src/tools/tracegen/CMakeFiles/tracegen.dir/helpers.cpp.obj
      C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x64\cl.exe  /nologo /TP -DPCRE2_STATIC -DQT_BOOTSTRAPPED -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=1 -DQT_VERSION_PATCH=0 -DQT_VERSION_STR=\"6.1.0\" -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Iqtbase\src\tools\tracegen -Iqtbase\src\corelib\Core_autogen\include -Iqtbase\include -Iqtbase\include\QtCore -Iqtbase\src\corelib -Iqtbase\src\corelib\global -Iqtbase\src\corelib\..\3rdparty\tinycbor\src -Iqtbase\include\QtCore\6.1.0 -Iqtbase\include\QtCore\6.1.0\QtCore -Iqtbase\src\corelib\..\3rdparty\zlib\src -Iqtbase\src\corelib\..\3rdparty -Iqtbase\src\corelib\..\3rdparty\double-conversion\include -Iqtbase\src\corelib\.rcc -Iqtbase\mkspecs\win32-msvc -Iqtbase\src\3rdparty\pcre2\src -Iqtbase\src\xml\Xml_autogen\include -Iqtbase\include\QtXml -Iqtbase\src\xml -Iqtbase\include\QtXml\6.1.0 -Iqtbase\include\QtXml\6.1.0\QtXml -Iqtbase\src\tools\bootstrap\..\..\3rdparty\pcre2\src /DWIN32 /D_WINDOWS /GR /Zi   /RTC1 -MDd /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:wchar_t -std:c++17 /showIncludes /Foqtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\helpers.cpp.obj /Fdqtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\ /FS -c qtbase\src\tools\tracegen\helpers.cpp
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qhashfunctions.h(216): error C3520: 'T': parameter pack must be expanded in this context
      [51/5568] Building CXX object qtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\tracegen.cpp.obj
      FAILED: qtbase/src/tools/tracegen/CMakeFiles/tracegen.dir/tracegen.cpp.obj
      C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x64\cl.exe  /nologo /TP -DPCRE2_STATIC -DQT_BOOTSTRAPPED -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=1 -DQT_VERSION_PATCH=0 -DQT_VERSION_STR=\"6.1.0\" -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Iqtbase\src\tools\tracegen -Iqtbase\src\corelib\Core_autogen\include -Iqtbase\include -Iqtbase\include\QtCore -Iqtbase\src\corelib -Iqtbase\src\corelib\global -Iqtbase\src\corelib\..\3rdparty\tinycbor\src -Iqtbase\include\QtCore\6.1.0 -Iqtbase\include\QtCore\6.1.0\QtCore -Iqtbase\src\corelib\..\3rdparty\zlib\src -Iqtbase\src\corelib\..\3rdparty -Iqtbase\src\corelib\..\3rdparty\double-conversion\include -Iqtbase\src\corelib\.rcc -Iqtbase\mkspecs\win32-msvc -Iqtbase\src\3rdparty\pcre2\src -Iqtbase\src\xml\Xml_autogen\include -Iqtbase\include\QtXml -Iqtbase\src\xml -Iqtbase\include\QtXml\6.1.0 -Iqtbase\include\QtXml\6.1.0\QtXml -Iqtbase\src\tools\bootstrap\..\..\3rdparty\pcre2\src /DWIN32 /D_WINDOWS /GR /Zi   /RTC1 -MDd /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:wchar_t -std:c++17 /showIncludes /Foqtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\tracegen.cpp.obj /Fdqtbase\src\tools\tracegen\CMakeFiles\tracegen.dir\ /FS -c qtbase\src\tools\tracegen\tracegen.cpp
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qhashfunctions.h(216): error C3520: 'T': parameter pack must be expanded in this context
      
      [...]
      
      [63/5568] Building CXX object qtbase\src\tools\cmake_automoc_parser\CMakeFiles\cmake_automoc_parser.dir\main.cpp.obj
      FAILED: qtbase/src/tools/cmake_automoc_parser/CMakeFiles/cmake_automoc_parser.dir/main.cpp.obj
      C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx86\x64\cl.exe  /nologo /TP -DPCRE2_STATIC -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_COMPRESS -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=1 -DQT_VERSION_PATCH=0 -DQT_VERSION_STR=\"6.1.0\" -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Iqtbase\src\tools\cmake_automoc_parser -Iqtbase\src\corelib\Core_autogen\include -Iqtbase\include -Iqtbase\include\QtCore -Iqtbase\src\corelib -Iqtbase\src\corelib\global -Iqtbase\src\corelib\..\3rdparty\tinycbor\src -Iqtbase\include\QtCore\6.1.0 -Iqtbase\include\QtCore\6.1.0\QtCore -Iqtbase\src\corelib\..\3rdparty\zlib\src -Iqtbase\src\corelib\..\3rdparty -Iqtbase\src\corelib\..\3rdparty\double-conversion\include -Iqtbase\src\corelib\.rcc -Iqtbase\mkspecs\win32-msvc -Iqtbase\src\3rdparty\pcre2\src -Iqtbase\src\xml\Xml_autogen\include -Iqtbase\include\QtXml -Iqtbase\src\xml -Iqtbase\include\QtXml\6.1.0 -Iqtbase\include\QtXml\6.1.0\QtXml -Iqtbase\src\tools\bootstrap\..\..\3rdparty\pcre2\src /DWIN32 /D_WINDOWS /GR /Zi   /RTC1 -MDd /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:wchar_t -std:c++17 /showIncludes /Foqtbase\src\tools\cmake_automoc_parser\CMakeFiles\cmake_automoc_parser.dir\main.cpp.obj /Fdqtbase\src\tools\cmake_automoc_parser\CMakeFiles\cmake_automoc_parser.dir\ /FS -c qtbase\src\tools\cmake_automoc_parser\main.cpp
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qhashfunctions.h(216): error C3520: 'T': parameter pack must be expanded in this context
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(121): error C2144: syntax error: 'int' should be preceded by '}'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(121): error C2062: type 'int' unexpected
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(123): error C2143: syntax error: missing ';' before '}'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(123): error C2238: unexpected token(s) preceding ';'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(97): error C2065: 'd': undeclared identifier
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(97): error C2039: 'd': is not a member of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(68): note: see declaration of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(124): error C2065: 'MatchOption': undeclared identifier
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(124): error C2923: 'QFlags': 'MatchOption' is not a valid template type argument for parameter 'Enum'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(124): error C2641: cannot deduce template argument for 'QFlags'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(129): error C2061: syntax error: identifier 'MatchType'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(130): error C2270: 'match': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(135): error C2061: syntax error: identifier 'MatchType'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(136): error C2270: 'match': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(141): error C2061: syntax error: identifier 'MatchType'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(142): error C2270: 'globalMatch': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(147): error C2061: syntax error: identifier 'MatchType'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(148): error C2270: 'globalMatch': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(150): error C2270: 'optimize': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(161): error C2664: 'QString escape(const QString &)': cannot convert argument 1 from 'QStringView' to 'const QString &'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(161): note: Reason: cannot convert from 'QStringView' to 'const QString'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(161): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(166): error C2664: 'QString wildcardToRegularExpression(const QString &,WildcardConversionOptions)': cannot convert argument 1 from 'QStringView' to 'const QString &'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(166): note: Reason: cannot convert from 'QStringView' to 'const QString'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(166): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(171): error C2664: 'QString anchoredPattern(const QString &)': cannot convert argument 1 from 'QStringView' to 'const QString &'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(171): note: Reason: cannot convert from 'QStringView' to 'const QString'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(171): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(182): error C2270: '==': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(182): error C2805: binary 'operator ==' has too few parameters
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(183): error C2270: '!=': modifiers not allowed on nonmember functions
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(183): error C2805: binary 'operator !=' has too few parameters
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(183): error C2264: 'operator ==': error in function definition or declaration; function not called
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(185): error C2059: syntax error: 'private'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(186): error C2255: 'friend': not allowed outside of a class definition
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(187): error C2255: 'friend': not allowed outside of a class definition
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(188): error C2255: 'friend': not allowed outside of a class definition
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(189): error C2255: 'friend': not allowed outside of a class definition
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(190): error C2255: 'friend': not allowed outside of a class definition
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): error C2143: syntax error: missing ')' before '&'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): error C2143: syntax error: missing ';' before '&'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): error C2059: syntax error: ')'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): error C2530: 'dd': references must be initialized
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2923: 'QExplicitlySharedDataPointer': 'QRegularExpressionPrivate' is not a valid template type argument for parameter 'T'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(192): note: see declaration of 'QRegularExpressionPrivate'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2672: 'QExplicitlySharedDataPointer': no matching overloaded function found
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2783: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(void) noexcept': could not deduce template argument for 'T'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(178): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2780: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(T *) noexcept': expects 1 arguments - 0 provided
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(181): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2780: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(T *,QAdoptSharedDataTag) noexcept': expects 2 arguments - 0 provided
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(183): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2780: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(const QExplicitlySharedDataPointer<T> &) noexcept': expects 1 arguments - 0 provided
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(185): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2780: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(const QExplicitlySharedDataPointer<X> &) noexcept': expects 1 arguments - 0 provided
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(189): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2780: 'QExplicitlySharedDataPointer<T> QExplicitlySharedDataPointer(QExplicitlySharedDataPointer<T> &&) noexcept': expects 1 arguments - 0 provided
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(218): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2641: cannot deduce template argument for 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(193): error C2512: 'QExplicitlySharedDataPointer': no appropriate default constructor available
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/tools/qshareddata.h(161): note: see declaration of 'QExplicitlySharedDataPointer'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(194): error C2059: syntax error: '}'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(194): error C2143: syntax error: missing ';' before '}'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C3083: 'MatchOptions': the symbol to the left of a '::' must be a type
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2039: 'enum_type': is not a member of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(68): note: see declaration of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2065: 'enum_type': undeclared identifier
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2923: 'QFlags': 'enum_type' is not a valid template type argument for parameter 'Enum'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2146: syntax error: missing ')' before identifier 'f1'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2143: syntax error: missing ';' before '{'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2447: '{': missing function header (old-style formal list?)
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2059: syntax error: '}'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2955: 'QFlags': use of class template requires template argument list
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/global/qflags.h(90): note: see declaration of 'QFlags'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2061: syntax error: identifier 'enum_type'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(198): error C2803: 'operator -' must have at least one formal parameter of class type
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(227): error C2039: 'MatchOptions': is not a member of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(68): note: see declaration of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(227): error C2955: 'QFlags': use of class template requires template argument list
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/global/qflags.h(90): note: see declaration of 'QFlags'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(309): error C2039: 'MatchOptions': is not a member of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(68): note: see declaration of 'QRegularExpression'
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/text/qregularexpression.h(309): error C2955: 'QFlags': use of class template requires template argument list
      c:\qt\qt-everywhere-src-6.1.0-beta1\qtbase\include\qtcore\../../src/corelib/global/qflags.h(90): note: see declaration of 'QFlags'
      ninja: build stopped: subcommand failed.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes