C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\calculator.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\calculator -I. -IC:\Qt\6.0.0\msvc2019_64\include -IC:\Qt\6.0.0\msvc2019_64\include\QtWidgets -IC:\Qt\6.0.0\msvc2019_64\include\QtGui -IC:\Qt\6.0.0\msvc2019_64\include\QtCore -Idebug -IC:\Qt\6.0.0\msvc2019_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\copendle\AppData\Local\Temp\button.obj.19032.16.jom button.cpp C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2144: syntax error: 'int' should be preceded by '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2059: syntax error: '' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(493): error C2143: syntax error: missing ';' before '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1091): error C2039: 'MetaModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1092): error C2039: 'ShiftModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1093): error C2039: 'ControlModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1094): error C2039: 'AltModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2065: 'FocusPolicy': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumMetaObject' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumName' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2065: 'Orientation': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2065: 'Alignment': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2065: 'TextFlag': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2065: 'Orientations': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2065: 'SplitBehavior': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): fatal error C1003: error count exceeds 100; stopping compilation cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\calculator.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\calculator -I. -IC:\Qt\6.0.0\msvc2019_64\include -IC:\Qt\6.0.0\msvc2019_64\include\QtWidgets -IC:\Qt\6.0.0\msvc2019_64\include\QtGui -IC:\Qt\6.0.0\msvc2019_64\include\QtCore -Idebug -IC:\Qt\6.0.0\msvc2019_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\copendle\AppData\Local\Temp\moc_button.obj.19032.31.jom moc_button.cpp C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2144: syntax error: 'int' should be preceded by '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2059: syntax error: '' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(493): error C2143: syntax error: missing ';' before '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1091): error C2039: 'MetaModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1092): error C2039: 'ShiftModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1093): error C2039: 'ControlModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1094): error C2039: 'AltModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2065: 'FocusPolicy': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumMetaObject' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumName' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2065: 'Orientation': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2065: 'Alignment': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2065: 'TextFlag': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2065: 'Orientations': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2065: 'SplitBehavior': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): fatal error C1003: error count exceeds 100; stopping compilation cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\calculator.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\calculator -I. -IC:\Qt\6.0.0\msvc2019_64\include -IC:\Qt\6.0.0\msvc2019_64\include\QtWidgets -IC:\Qt\6.0.0\msvc2019_64\include\QtGui -IC:\Qt\6.0.0\msvc2019_64\include\QtCore -Idebug -IC:\Qt\6.0.0\msvc2019_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\copendle\AppData\Local\Temp\moc_calculator.obj.19032.47.jom moc_calculator.cpp C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2144: syntax error: 'int' should be preceded by '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2059: syntax error: '' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(493): error C2143: syntax error: missing ';' before '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1091): error C2039: 'MetaModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1092): error C2039: 'ShiftModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1093): error C2039: 'ControlModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1094): error C2039: 'AltModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2065: 'FocusPolicy': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumMetaObject' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumName' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2065: 'Orientation': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2065: 'Alignment': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2065: 'TextFlag': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2065: 'Orientations': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2065: 'SplitBehavior': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): fatal error C1003: error count exceeds 100; stopping compilation cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\calculator.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\calculator -I. -IC:\Qt\6.0.0\msvc2019_64\include -IC:\Qt\6.0.0\msvc2019_64\include\QtWidgets -IC:\Qt\6.0.0\msvc2019_64\include\QtGui -IC:\Qt\6.0.0\msvc2019_64\include\QtCore -Idebug -IC:\Qt\6.0.0\msvc2019_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\copendle\AppData\Local\Temp\calculator.obj.19032.16.jom calculator.cpp C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2144: syntax error: 'int' should be preceded by '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2059: syntax error: '' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(493): error C2143: syntax error: missing ';' before '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1091): error C2039: 'MetaModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1092): error C2039: 'ShiftModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1093): error C2039: 'ControlModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1094): error C2039: 'AltModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2065: 'FocusPolicy': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumMetaObject' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumName' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2065: 'Orientation': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2065: 'Alignment': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2065: 'TextFlag': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2065: 'Orientations': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2065: 'SplitBehavior': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): fatal error C1003: error count exceeds 100; stopping compilation cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\calculator.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\calculator -I. -IC:\Qt\6.0.0\msvc2019_64\include -IC:\Qt\6.0.0\msvc2019_64\include\QtWidgets -IC:\Qt\6.0.0\msvc2019_64\include\QtGui -IC:\Qt\6.0.0\msvc2019_64\include\QtCore -Idebug -IC:\Qt\6.0.0\msvc2019_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\copendle\AppData\Local\Temp\main.obj.19032.31.jom main.cpp C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2144: syntax error: 'int' should be preceded by '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(464): error C2059: syntax error: '' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(493): error C2143: syntax error: missing ';' before '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1091): error C2039: 'MetaModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1092): error C2039: 'ShiftModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1093): error C2039: 'ControlModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1094): error C2039: 'AltModifier': is not a member of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(55): note: see declaration of 'Qt' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2065: 'FocusPolicy': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumMetaObject' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1737): note: see declaration of 'qt_getEnumName' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1738): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1739): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1740): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1741): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1742): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1743): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1744): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1745): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1746): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1747): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1748): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1749): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1750): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1751): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1752): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1753): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1754): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1755): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2065: 'Orientation': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1756): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1757): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2065: 'Alignment': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumMetaObject': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1758): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2065: 'TextFlag': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1759): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2065: 'Orientations': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1760): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2065: 'SplitBehavior': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2365: 'qt_getEnumName': redefinition; previous definition was 'function' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2131: expression did not evaluate to a constant C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): note: a non-constant (sub-)expression was encountered C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2143: syntax error: missing ';' before 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: 'noexcept' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1761): error C2059: syntax error: '}' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2143: syntax error: missing ';' before '{' C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1762): error C2447: '{': missing function header (old-style formal list?) C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): error C3615: constexpr function 'qt_getEnumMetaObject' cannot result in a constant expression C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1763): note: failure was caused by control reaching the end of a constexpr function C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): error C2065: 'staticMetaObject': undeclared identifier C:\Qt\6.0.0\msvc2019_64\include\QtCore/qnamespace.h(1764): fatal error C1003: error count exceeds 100; stopping compilation