Compiler give me over 500 error
-
Hi
Everything was work find ,and compiling and it's all ok , then I've comment only 1 line and press run and give me over 500 error , I've undo the last step ( uncomment the line ) and still giveing my same errors , when i look at it , it was from the Qt libraries ,
here is the full compile log :12:20:55: Running steps for project SalesManagement... 12:20:55: Configuration unchanged, skipping qmake step. 12:20:55: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\SalesManagement1.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I..\Src -I. -IC:\Qt\5.7\msvc2013\include -IC:\Qt\5.7\msvc2013\include\QtWidgets -IC:\Qt\5.7\msvc2013\include\QtGui -IC:\Qt\5.7\msvc2013\include\QtANGLE -IC:\Qt\5.7\msvc2013\include\QtSql -IC:\Qt\5.7\msvc2013\include\QtCore -Idebug -I. -IC:\Qt\5.7\msvc2013\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\AL-SHA~1\AppData\Local\Temp\main.obj.5940.47.jom main.cpp C:\Qt\5.7\msvc2013\bin\rcc.exe -name Resources ..\Src\Resources.qrc -o debug\qrc_Resources.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\additemdialog.h -o debug\moc_additemdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\logindialog.h -o debug\moc_logindialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\edititemdialog.h -o debug\moc_edititemdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\mainwindow.h -o debug\moc_mainwindow.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\billdialog.h -o debug\moc_billdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\users.h -o debug\moc_users.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\itemsloaddialog.h -o debug\moc_itemsloaddialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\selllaterdialog.h -o debug\moc_selllaterdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\refundcashdialog.h -o debug\moc_refundcashdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\refundselllaterdialog.h -o debug\moc_refundselllaterdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\clientsdialog.h -o debug\moc_clientsdialog.cpp rc -D_DEBUG -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -fo debug\SalesManagement_resource.res SalesManagement_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384 Copyright (C) Microsoft Corporation. All rights reserved. c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(50) : error C2059: syntax error : ';' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(52) : error C2059: syntax error : '<class-head>' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53) : error C2630: ';' found in what should be a comma-separated list c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53) : error C2550: 'ClientBillAboveTotalPriceMsg' : constructor initializer lists are only allowed on constructor definitions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2899: typename cannot be used outside a template declaration c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2355: 'this' : can only be referenced inside non-static member functions or non-static data member initializers c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2065: '_q_argument' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2270: 'metaObject' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2575: 'qt_metacast' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2575: 'qt_metacall' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2267: 'tr' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2601: 'tr' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2267: 'trUtf8' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2601: 'trUtf8' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(55) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2065: 'parent' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2275: 'QWidget' : illegal use of this type as an expression C:\Qt\5.7\msvc2013\include\QtWidgets/qwidget.h(127) : see declaration of 'QWidget' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2059: syntax error : 'const' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C2588: '::~QSplashScreen' : illegal global destructor c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C2575: 'QSplashScreen' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(61) : error C2270: 'pixmap' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(64) : error C2270: 'message' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(66) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(71) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(74) : error C2143: syntax error : missing ';' before 'protected' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(76) : error C2575: 'drawContents' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(77) : error C3158: 'mousePressEvent' : 'override' can only be applied to a virtual member function c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(77) : error C2575: 'mousePressEvent' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(79) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C2143: syntax error : missing ')' before 'const' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C2059: syntax error : ')' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing ';' before '*' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2433: 'QSplashScreenPrivate' : 'inline' not permitted on data declarations c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing '}' before 'return' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing ';' before 'return' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C3861: 'QSplashScreen': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C3861: '=': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C3861: 'd_func': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2061: syntax error : identifier 'QSplashScreenPrivate' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2065: 'staticMetaObject' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2228: left of '.tr' must have class/struct/union type is 'unknown-type' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2270: 'd_func' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : warning C4508: 'd_func' : function should return a value; 'void' return type assumed c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(82) : error C2059: syntax error : '}' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(82) : error C2143: syntax error : missing ';' before '}' ..\Src\main.cpp(27) : error C2065: 'QSplashScreen' : undeclared identifier ..\Src\main.cpp(27) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(27) : error C2061: syntax error : identifier 'QSplashScreen' ..\Src\main.cpp(28) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(28) : error C2227: left of '->show' must point to class/struct/union/generic type type is 'unknown-type' ..\Src\main.cpp(29) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(49) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(49) : error C2227: left of '->finish' must point to class/struct/union/generic type type is 'unknown-type' mymsg.cpp C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(56) : error C2059: syntax error : 'namespace' C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(56) : error C2550: 'ClientBillAboveTotalPriceMsg' : constructor initializer lists are only allowed on constructor definitions C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(57) : error C2951: template declarations are only permitted at global, namespace, or class scope C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(57) : fatal error C1903: unable to recover from previous error(s); stopping compilation c1xx : fatal error C1063: INTERNAL COMPILER ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(66) : error C2065: 'StandaloneFormat' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(66) : error C2143: syntax error : missing ';' before '}' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(67) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(68) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(69) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(70) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2144: syntax error : 'int' should be preceded by ')' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2514: 'QDate' : class has no constructors C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2059: syntax error : ')' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C2270: 'isNull' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C2601: 'isNull' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2270: 'isValid' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2601: 'isValid' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(76) : error C2270: 'year' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(77) : error C2270: 'month' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(78) : error C2270: 'day' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(79) : error C2270: 'dayOfWeek' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(80) : error C2270: 'dayOfYear' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(81) : error C2270: 'daysInMonth' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(82) : error C2270: 'daysInYear' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(83) : error C2270: 'weekNumber' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(86) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(86) : error C2267: 'shortMonthName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(87) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(87) : error C2267: 'shortDayName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(88) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(88) : error C2267: 'longMonthName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(89) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(89) : error C2267: 'longDayName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(92) : error C2270: 'toString' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(93) : error C2270: 'toString' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(105) : error C2270: 'getDate' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(107) : error C2270: 'addDays' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(108) : error C2270: 'addMonths' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(109) : error C2270: 'addYears' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(110) : error C2270: 'daysTo' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2270: '==' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2601: 'operator ==' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2270: '!=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2601: 'operator !=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2270: '<' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2601: 'operator <' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2270: '<=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2601: 'operator <=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2270: '>' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2601: 'operator >' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2270: '>=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2601: 'operator >=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(119) : error C2267: 'currentDate' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(121) : error C2267: 'fromString' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(122) : error C2267: 'fromString' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(124) : error C2267: 'isValid' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(125) : error C2267: 'isLeapYear' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2267: 'fromJulianDay' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2601: 'fromJulianDay' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2270: 'toJulianDay' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2601: 'toJulianDay' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(131) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(133) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(133) : error C2562: 'ClientBillAboveTotalPriceMsg' : 'void' function returning a value c:\users\al-shamel\git\salesmanagement\src\mymsg.h(23) : see declaration of 'ClientBillAboveTotalPriceMsg' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(134) : error C2267: 'minJd' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(134) : error C2601: 'minJd' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(135) : error C2267: 'maxJd' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(135) : error C2601: 'maxJd' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(139) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(140) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(142) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(143) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C3861: 'isValid': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2065: 'jd' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C3861: 'minJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C3861: 'maxJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2805: binary 'operator ==' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2805: binary 'operator !=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2805: binary 'operator <' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2805: binary 'operator <=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2805: binary 'operator >' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2805: binary 'operator >=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2440: '<function-style-cast>' : cannot convert from 'qint64' to 'QDate' Source or target has incomplete type c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2514: 'QDate' : class has no constructors C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C3861: 'minJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C3861: 'maxJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2065: 'jd' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(146) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(229) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(229) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : error C2146: syntax error : missing ';' before identifier 'timeZone' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : warning C4183: 'timeZone': missing return type; assumed to be a member function returning 'int' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(263) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(263) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(284) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(284) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(315) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(315) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(321) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(321) : error C2143: syntax error : missing ',' before '&' c:\users\al-shamel\git\salesmanagement\src\item.h(52) : error C2079: 'Citem::expire' uses undefined class 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(53) : error C2079: 'Citem::bill_date' uses undefined class 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(33) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(33) : fatal error C1003: error count exceeds 100; stopping compilation Generating Code... jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile.Debug [debug\logindialog.obj] Error 2 Generating Code... jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile.Debug [debug\users.obj] Error 2 jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile [debug] Error 2 12:21:09: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project SalesManagement (kit: Desktop Qt 5.7.0 MSVC2013 32bit) The kit Desktop Qt 5.7.0 MSVC2013 32bit has configuration issues which might be the root cause for this problem. When executing step "Make" 12:21:09: Elapsed time: 00:14.
in the output there error which intrigued me :
Error while building/deploying project SalesManagement (kit: Desktop Qt 5.7.0 MSVC2013 32bit) The kit Desktop Qt 5.7.0 MSVC2013 32bit has configuration issues which might be the root cause for this problem. When executing step "Make" c1xx:-1: error: C1063: INTERNAL COMPILER ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
I think the compiler hoes down , i don't know what to do )
( i didn't include the full output of the compile length over 32767 ) -
Hi
Everything was work find ,and compiling and it's all ok , then I've comment only 1 line and press run and give me over 500 error , I've undo the last step ( uncomment the line ) and still giveing my same errors , when i look at it , it was from the Qt libraries ,
here is the full compile log :12:20:55: Running steps for project SalesManagement... 12:20:55: Configuration unchanged, skipping qmake step. 12:20:55: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\SalesManagement1.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I..\Src -I. -IC:\Qt\5.7\msvc2013\include -IC:\Qt\5.7\msvc2013\include\QtWidgets -IC:\Qt\5.7\msvc2013\include\QtGui -IC:\Qt\5.7\msvc2013\include\QtANGLE -IC:\Qt\5.7\msvc2013\include\QtSql -IC:\Qt\5.7\msvc2013\include\QtCore -Idebug -I. -IC:\Qt\5.7\msvc2013\mkspecs\win32-msvc2013 -Fodebug\ @C:\Users\AL-SHA~1\AppData\Local\Temp\main.obj.5940.47.jom main.cpp C:\Qt\5.7\msvc2013\bin\rcc.exe -name Resources ..\Src\Resources.qrc -o debug\qrc_Resources.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\additemdialog.h -o debug\moc_additemdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\logindialog.h -o debug\moc_logindialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\edititemdialog.h -o debug\moc_edititemdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\mainwindow.h -o debug\moc_mainwindow.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\billdialog.h -o debug\moc_billdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\users.h -o debug\moc_users.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\itemsloaddialog.h -o debug\moc_itemsloaddialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\selllaterdialog.h -o debug\moc_selllaterdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\refundcashdialog.h -o debug\moc_refundcashdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\refundselllaterdialog.h -o debug\moc_refundselllaterdialog.cpp C:\Qt\5.7\msvc2013\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_MSC_VER=1800 -D_WIN32 -IC:/Qt/5.7/msvc2013/mkspecs/win32-msvc2013 -IC:/Users/AL-SHAMEL/git/SalesManagement/Src -IC:/Qt/5.7/msvc2013/include -IC:/Qt/5.7/msvc2013/include/QtWidgets -IC:/Qt/5.7/msvc2013/include/QtGui -IC:/Qt/5.7/msvc2013/include/QtANGLE -IC:/Qt/5.7/msvc2013/include/QtSql -IC:/Qt/5.7/msvc2013/include/QtCore -I. ..\Src\clientsdialog.h -o debug\moc_clientsdialog.cpp rc -D_DEBUG -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -fo debug\SalesManagement_resource.res SalesManagement_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384 Copyright (C) Microsoft Corporation. All rights reserved. c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(50) : error C2059: syntax error : ';' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(52) : error C2059: syntax error : '<class-head>' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53) : error C2630: ';' found in what should be a comma-separated list c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53) : error C2550: 'ClientBillAboveTotalPriceMsg' : constructor initializer lists are only allowed on constructor definitions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2899: typename cannot be used outside a template declaration c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2355: 'this' : can only be referenced inside non-static member functions or non-static data member initializers c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2065: '_q_argument' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2270: 'metaObject' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2575: 'qt_metacast' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2575: 'qt_metacall' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2267: 'tr' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2601: 'tr' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2267: 'trUtf8' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2601: 'trUtf8' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(53): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(55) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2065: 'parent' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2275: 'QWidget' : illegal use of this type as an expression C:\Qt\5.7\msvc2013\include\QtWidgets/qwidget.h(127) : see declaration of 'QWidget' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C2059: syntax error : 'const' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C2588: '::~QSplashScreen' : illegal global destructor c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C2575: 'QSplashScreen' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(58) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(61) : error C2270: 'pixmap' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(64) : error C2270: 'message' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(66) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(71) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(74) : error C2143: syntax error : missing ';' before 'protected' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(76) : error C2575: 'drawContents' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(77) : error C3158: 'mousePressEvent' : 'override' can only be applied to a virtual member function c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(77) : error C2575: 'mousePressEvent' : only member functions and bases can be virtual c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(79) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C2143: syntax error : missing ')' before 'const' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C2059: syntax error : ')' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing ';' before '*' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2433: 'QSplashScreenPrivate' : 'inline' not permitted on data declarations c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing '}' before 'return' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2143: syntax error : missing ';' before 'return' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(57) : error C3861: 'QSplashScreen': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(80) : error C3861: '=': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C3861: 'd_func': identifier not found c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2061: syntax error : identifier 'QSplashScreenPrivate' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2065: 'staticMetaObject' : undeclared identifier c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(54) : error C2228: left of '.tr' must have class/struct/union type is 'unknown-type' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2270: 'd_func' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : warning C4508: 'd_func' : function should return a value; 'void' return type assumed c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(81) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(82) : error C2059: syntax error : '}' c:\qt\5.7\msvc2013\include\qtwidgets\qsplashscreen.h(82) : error C2143: syntax error : missing ';' before '}' ..\Src\main.cpp(27) : error C2065: 'QSplashScreen' : undeclared identifier ..\Src\main.cpp(27) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(27) : error C2061: syntax error : identifier 'QSplashScreen' ..\Src\main.cpp(28) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(28) : error C2227: left of '->show' must point to class/struct/union/generic type type is 'unknown-type' ..\Src\main.cpp(29) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(49) : error C2065: 'splash' : undeclared identifier ..\Src\main.cpp(49) : error C2227: left of '->finish' must point to class/struct/union/generic type type is 'unknown-type' mymsg.cpp C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(56) : error C2059: syntax error : 'namespace' C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(56) : error C2550: 'ClientBillAboveTotalPriceMsg' : constructor initializer lists are only allowed on constructor definitions C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(57) : error C2951: template declarations are only permitted at global, namespace, or class scope C:\Qt\5.7\msvc2013\include\QtCore/qobjectdefs_impl.h(57) : fatal error C1903: unable to recover from previous error(s); stopping compilation c1xx : fatal error C1063: INTERNAL COMPILER ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(66) : error C2065: 'StandaloneFormat' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(66) : error C2143: syntax error : missing ';' before '}' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(67) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(68) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(69) : error C2143: syntax error : missing ';' before 'public' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(70) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2144: syntax error : 'int' should be preceded by ')' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2514: 'QDate' : class has no constructors C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(71) : error C2059: syntax error : ')' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C2270: 'isNull' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C2601: 'isNull' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2270: 'isValid' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2601: 'isValid' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(76) : error C2270: 'year' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(77) : error C2270: 'month' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(78) : error C2270: 'day' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(79) : error C2270: 'dayOfWeek' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(80) : error C2270: 'dayOfYear' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(81) : error C2270: 'daysInMonth' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(82) : error C2270: 'daysInYear' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(83) : error C2270: 'weekNumber' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(86) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(86) : error C2267: 'shortMonthName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(87) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(87) : error C2267: 'shortDayName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(88) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(88) : error C2267: 'longMonthName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(89) : error C2061: syntax error : identifier 'MonthNameType' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(89) : error C2267: 'longDayName' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(92) : error C2270: 'toString' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(93) : error C2270: 'toString' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(105) : error C2270: 'getDate' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(107) : error C2270: 'addDays' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(108) : error C2270: 'addMonths' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(109) : error C2270: 'addYears' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(110) : error C2270: 'daysTo' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2270: '==' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2601: 'operator ==' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2270: '!=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2601: 'operator !=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2270: '<' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2601: 'operator <' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2270: '<=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2601: 'operator <=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2270: '>' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2601: 'operator >' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2270: '>=' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2601: 'operator >=' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(119) : error C2267: 'currentDate' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(121) : error C2267: 'fromString' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(122) : error C2267: 'fromString' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(124) : error C2267: 'isValid' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(125) : error C2267: 'isLeapYear' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2267: 'fromJulianDay' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2601: 'fromJulianDay' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2270: 'toJulianDay' : modifiers not allowed on nonmember functions c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2601: 'toJulianDay' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(131) : error C2143: syntax error : missing ';' before 'private' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(133) : error C2143: syntax error : missing ';' before '{' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(133) : error C2562: 'ClientBillAboveTotalPriceMsg' : 'void' function returning a value c:\users\al-shamel\git\salesmanagement\src\mymsg.h(23) : see declaration of 'ClientBillAboveTotalPriceMsg' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(134) : error C2267: 'minJd' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(134) : error C2601: 'minJd' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(135) : error C2267: 'maxJd' : static functions with block scope are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(135) : error C2601: 'maxJd' : local function definitions are illegal c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(61): this line contains a '{' which has not yet been matched c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(139) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(140) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(142) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(143) : error C2255: 'friend' : not allowed outside of a class definition c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(73) : error C3861: 'isValid': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C2065: 'jd' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C3861: 'minJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(74) : error C3861: 'maxJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(112) : error C2805: binary 'operator ==' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(113) : error C2805: binary 'operator !=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(114) : error C2805: binary 'operator <' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(115) : error C2805: binary 'operator <=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(116) : error C2805: binary 'operator >' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(117) : error C2805: binary 'operator >=' has too few parameters c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2440: '<function-style-cast>' : cannot convert from 'qint64' to 'QDate' Source or target has incomplete type c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C2514: 'QDate' : class has no constructors C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C3861: 'minJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(128) : error C3861: 'maxJd': identifier not found c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(129) : error C2065: 'jd' : undeclared identifier c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(146) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(229) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(229) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : error C2146: syntax error : missing ';' before identifier 'timeZone' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(249) : warning C4183: 'timeZone': missing return type; assumed to be a member function returning 'int' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(263) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(263) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(284) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(284) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(315) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(315) : error C2143: syntax error : missing ',' before '&' c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(321) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\qt\5.7\msvc2013\include\qtcore\qdatetime.h(321) : error C2143: syntax error : missing ',' before '&' c:\users\al-shamel\git\salesmanagement\src\item.h(52) : error C2079: 'Citem::expire' uses undefined class 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(53) : error C2079: 'Citem::bill_date' uses undefined class 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(33) : error C2027: use of undefined type 'QDate' C:\Qt\5.7\msvc2013\include\QtCore/qmetatype.h(1893) : see declaration of 'QDate' c:\users\al-shamel\git\salesmanagement\src\item.h(33) : fatal error C1003: error count exceeds 100; stopping compilation Generating Code... jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile.Debug [debug\logindialog.obj] Error 2 Generating Code... jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile.Debug [debug\users.obj] Error 2 jom: C:\Users\AL-SHAMEL\git\SalesManagement\build-SalesManagement-Desktop_Qt_5_7_0_MSVC2013_32bit-Debug\Makefile [debug] Error 2 12:21:09: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project SalesManagement (kit: Desktop Qt 5.7.0 MSVC2013 32bit) The kit Desktop Qt 5.7.0 MSVC2013 32bit has configuration issues which might be the root cause for this problem. When executing step "Make" 12:21:09: Elapsed time: 00:14.
in the output there error which intrigued me :
Error while building/deploying project SalesManagement (kit: Desktop Qt 5.7.0 MSVC2013 32bit) The kit Desktop Qt 5.7.0 MSVC2013 32bit has configuration issues which might be the root cause for this problem. When executing step "Make" c1xx:-1: error: C1063: INTERNAL COMPILER ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
I think the compiler hoes down , i don't know what to do )
( i didn't include the full output of the compile length over 32767 )Sounds like a tool probably jom did not catch code changes for a while. Unfortunately this happens and you have to go a couple of programming steps back until you find a version of your code still compiling. From there you can try to find the reason.
Even though the compiler runs out of stack and quits at an outrageous number of compiler errors, the reason may be a small change somewhere.
As a first step you may delete your shadow file and run qmake and try to compile again.
If this does not cure the problem you need to go back to a previous version. Make always sure to run qmake and rebuild frequently during the time you try to find your problem. Otherwise you may confuse yourself even more.
All this assumes that you did not mess with the includes delivered with Qt libs. If you have done changes there, you need certainly to reconstruct the original state (possibly through reinstall of Qt libs).
-
Sounds like a tool probably jom did not catch code changes for a while. Unfortunately this happens and you have to go a couple of programming steps back until you find a version of your code still compiling. From there you can try to find the reason.
Even though the compiler runs out of stack and quits at an outrageous number of compiler errors, the reason may be a small change somewhere.
As a first step you may delete your shadow file and run qmake and try to compile again.
If this does not cure the problem you need to go back to a previous version. Make always sure to run qmake and rebuild frequently during the time you try to find your problem. Otherwise you may confuse yourself even more.
All this assumes that you did not mess with the includes delivered with Qt libs. If you have done changes there, you need certainly to reconstruct the original state (possibly through reinstall of Qt libs).
-
@koahnig
I've revert the last comment and rebuild and it's ok , now i will start makeing the changes again step by step :)Another advice based on personal experience. You should make copies of your complete source frequently.
A good solution is using code version tracking system such as SVN(subversion) or Gitorious. For smaller project a simple copy of the whole folder is typically sufficient.